From: cajus Date: Wed, 16 Apr 2008 16:24:03 +0000 (+0000) Subject: Really fixed it X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4670595957de37d1a2167d22970e749cd29639c2;p=gosa.git Really fixed it git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10520 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/modules/SIPackages.pm b/gosa-si/modules/SIPackages.pm index 73236e0d0..586116048 100644 --- a/gosa-si/modules/SIPackages.pm +++ b/gosa-si/modules/SIPackages.pm @@ -732,8 +732,8 @@ sub new_ldap_config { } # Do we need to look at an object class? - if (length(@servers) < 1){ - $mesg = $ldap_handle->search( base => $ldap_base, + if (not defined @servers){ + $mesg = $ldap_handle->search( base => $ldap_base, scope => 'sub', attrs => ['dn', 'gotoLdapServer', 'FAIclass'], filter => "(&(objectClass=gosaGroupOfNames)(member=$dn))");