summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a30a9d)
raw | patch | inline | side by side (parent: 7a30a9d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 May 2008 08:14:56 +0000 (08:14 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 May 2008 08:14:56 +0000 (08:14 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10854 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/setup/class_setupStep_Migrate.inc | patch | blob | history |
diff --git a/gosa-core/setup/class_setupStep_Migrate.inc b/gosa-core/setup/class_setupStep_Migrate.inc
index 7e45ca33e28fff923493f83bb731d1d925d16bbc..0465afe863fbfc454497449fcdeb6e5173f76318 100644 (file)
$ldap = new ldapMultiplexer($ldap_l);
$ldap->cd($cv['base']);
- $res = $ldap->search("uidNumber=*",array("dn","uidNumber"));
+ $res = $ldap->search("(&(objectClass=posixAccount)(uidNumber=*))",array("dn","uidNumber"));
if(!$res){
$this->checks['uidNumber_usage']['STATUS'] = FALSE;
$this->checks['uidNumber_usage']['STATUS_MSG']= _("LDAP query failed");
/* Check if root object exists */
$ldap->cd($cv['base']);
+ $ldap->set_size_limit(1);
$res = $ldap->search("(objectClass=*)");
+ $ldap->set_size_limit(0);
$err = ldap_errno($ldap->cid);
if( !$res ||