On 25 Apr 2013, at 15:03, "Zachary, Carlton - Hoboken" <czach...@wiley.com> 
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
> Subject: Re: Net::LDAP Search Filter
> 
> 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.

RFC 2798 [inetOrgPerson] defines employeeType as a multi-valued attribute, so 
both filter items could potentially match the same entry. The AND will require 
the entry to contain both values, which might also be correct.

This sounds like an issue in the LDAP server. [Rushes off to check what ours 
does... :-)]

Chris

Reply via email to