summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d38ab98)
raw | patch | inline | side by side (parent: d38ab98)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 16 Apr 2008 16:24:03 +0000 (16:24 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 16 Apr 2008 16:24:03 +0000 (16:24 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10520 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/SIPackages.pm | patch | blob | history |
index 73236e0d031ac2e54b1e8b82cb567e64a39c430e..5861160481eb0853523a1b24a91fb41fec7aef4c 100644 (file)
}
# 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))");