Re: Net::LDAP Search Filter

2013-04-26 Thread Chris Ridd
On 25 Apr 2013, at 15:03, "Zachary, Carlton - Hoboken" wrote: > Thanks David. > > -Original Message- > From: david.suarezde...@telefonica.es > [mailto:david.suarezde...@telefonica.es] > Sent: Thursday, April 25, 2013 9:35 AM > To: perl-ldap@perl.org

RE: Net::LDAP Search Filter

2013-04-25 Thread Zachary, Carlton - Hoboken
Thanks David. -Original Message- From: david.suarezde...@telefonica.es [mailto:david.suarezde...@telefonica.es] Sent: Thursday, April 25, 2013 9:35 AM To: perl-ldap@perl.org Subject: Re: Net::LDAP Search Filter Hi there, Carlton, The problem is that you are asking for employee types x

RE: Net::LDAP Search Filter

2013-04-25 Thread Zachary, Carlton - Hoboken
Thanks Graham. -Original Message- From: Graham Barr [mailto:gb...@pobox.com] Sent: Thursday, April 25, 2013 9:31 AM To: Zachary, Carlton - Hoboken Cc: perl-ldap@perl.org Subject: Re: Net::LDAP Search Filter On Apr 25, 2013, at 08:26 , "Zachary, Carlton - Hoboken" wrote: &

Re: Net::LDAP Search Filter

2013-04-25 Thread david . suarezdelis
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=*) (| (empl

Re: Net::LDAP Search Filter

2013-04-25 Thread Graham Barr
On Apr 25, 2013, at 08:26 , "Zachary, Carlton - Hoboken" wrote: > 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=*)) that is checking (employeetype=x) and (emp