Code

Corrected filter. Still not working.
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Apr 2008 16:04:06 +0000 (16:04 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Apr 2008 16:04:06 +0000 (16:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10519 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/SIPackages.pm

index 2c15a511dd93ff91f1834d7c9ef999b72bb67b4f..73236e0d031ac2e54b1e8b82cb567e64a39c430e 100644 (file)
@@ -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;
        }