From: cajus Date: Wed, 16 Apr 2008 16:04:06 +0000 (+0000) Subject: Corrected filter. Still not working. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d38ab982f9c52526a3f23b3fbf8077c9d3f9e36c;p=gosa.git Corrected filter. Still not working. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10519 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/modules/SIPackages.pm b/gosa-si/modules/SIPackages.pm index 2c15a511d..73236e0d0 100644 --- a/gosa-si/modules/SIPackages.pm +++ b/gosa-si/modules/SIPackages.pm @@ -700,7 +700,7 @@ sub new_ldap_config { $mesg = $ldap_handle->search( base => $ldap_base, scope => 'sub', attrs => ['dn', 'gotoLdapServer', 'gosaUnitTag', 'FAIclass'], - filter => "(&(objectClass=GOhard)(!(objectClass=gotoPrinter))(macaddress=$macaddress)(gotoLdapServer=*))"); + filter => "(&(objectClass=GOhard)(macaddress=$macaddress))"); if($mesg->code) { &main::daemon_log("$session_id ".$mesg->error, 1); return; @@ -712,7 +712,7 @@ sub new_ldap_config { "\n\tbase: $ldap_base". "\n\tscope: sub". "\n\tattrs: dn, gotoLdapServer". - "\n\tfilter: (&(objectClass=GOhard)(macaddress=$macaddress)(gotoLdapServer=*))", 1); + "\n\tfilter: (&(objectClass=GOhard)(macaddress=$macaddress))", 1); return; }