From: hickert Date: Fri, 25 May 2007 06:48:06 +0000 (+0000) Subject: Udpated setup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fff608c6aabb4622633482638744980ec6b75cf5;p=gosa.git Udpated setup git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6475 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/setup/class_setupStep_Migrate.inc b/setup/class_setupStep_Migrate.inc index 182ea7e18..7204f2b75 100644 --- a/setup/class_setupStep_Migrate.inc +++ b/setup/class_setupStep_Migrate.inc @@ -1166,7 +1166,7 @@ class Step_Migrate extends setup_step print_red(_("Couldn't move users to specified department.")); return(false); } - + foreach($this->outside_users as $b_dn => $data){ $this->outside_users[$b_dn]['ldif'] =""; if($data['selected']){ @@ -1715,7 +1715,7 @@ class Step_Migrate extends setup_step $ldap->cd($cv['base']); $tmp = array(); $ldap->search("(&(objectClass=gosaDepartment)(ou=*))",array("dn")); - $tmp['/'] = $cv['base']; + $tmp[base64_encode($cv['base'])] = $ldap->fix($cv['base']); while($attrs = $ldap->fetch()){ $tmp[base64_encode($attrs['dn'])] = $ldap->fix($attrs['dn']);; } @@ -1823,7 +1823,7 @@ class Step_Migrate extends setup_step $ldap->cd($cv['base']); $tmp = array(); $ldap->search("(&(objectClass=gosaDepartment)(ou=*))",array("dn")); - $tmp['/'] = $cv['base']; + $tmp[base64_encode($cv['base'])] = $ldap->fix($cv['base']); while($attrs = $ldap->fetch()){ $tmp[base64_encode($attrs['dn'])] = $ldap->fix($attrs['dn']);; }