Hi there, Carlton, The problem is that you are asking for employee types x and y, and assuming they cannot be of more than one type, this means the search will always be false.
I am sure you are looking for entries of any type of objetclass and employee type x OR y: (& (objectclass=*) (| (employeetype=x) (employeetype=y) ) ) This should do the work... You can probably also omit the objectclass part if the entries are nomal entries (no gruoups, roles or anything weird) and simply ask for (| (employeetype=x) (employeetype=y) Good luck! dwd De: "Zachary, Carlton - Hoboken" <czach...@wiley.com> Para: "perl-ldap@perl.org" <perl-ldap@perl.org> Fecha: 25/04/2013 15:27 Asunto: Net::LDAP Search Filter Hello all, I am trying to run this search against my directory service with the following filter and it returns nothing. (&(employeetype=x)(employeetype=y)(objectclass=*)) But if I do just: (&(employeetype=x)(objectclass=*)) Or (&(employeetype=y)(objectclass=*)) I get search data returned. Could some point out what's wrong with the first filter? Thanks _____________________________________________________________________ Mensaje analizado y protegido por Telefonica Grandes Clientes