summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2309faa)
raw | patch | inline | side by side (parent: 2309faa)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 May 2007 06:48:06 +0000 (06:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 May 2007 06:48:06 +0000 (06:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6475 594d385d-05f5-0310-b6e9-bd551577e9d8
setup/class_setupStep_Migrate.inc | patch | blob | history |
index 182ea7e18c4f8143949610b66dd084809910ea29..7204f2b75d170fde9edad0fa3800cc2213dfc997 100644 (file)
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']){
$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']);;
}
$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']);;
}