From 4670595957de37d1a2167d22970e749cd29639c2 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 16 Apr 2008 16:24:03 +0000 Subject: [PATCH] Really fixed it git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10520 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/modules/SIPackages.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))"); -- 2.30.2