summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d08874a)
raw | patch | inline | side by side (parent: d08874a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 May 2008 07:59:46 +0000 (07:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 May 2008 07:59:46 +0000 (07:59 +0000) |
-Do not query the whole ldap, we just wan't to check if there is an initialized database.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10852 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10852 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/setup/class_setupStep_Schema.inc | patch | blob | history |
diff --git a/gosa-core/setup/class_setupStep_Schema.inc b/gosa-core/setup/class_setupStep_Schema.inc
index 0899c779289450f3b2676c45f3c9a4cc8b168579..4f795ea3f41f2c7fda382398e15d7297ff910741 100644 (file)
/* Check if root object exists */
$ldap->cd($cv['base']);
+ $ldap->set_size_limit(1);
$res = $ldap->search("(objectClass=*)");
+ $ldap->set_size_limit(0);
$smarty = get_smarty();
$smarty->assign("bool",array(FALSE => _("No"), TRUE => _("Yes")));