[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: openldap search filter attribut equal to another



On 03/05/2014 02:52 AM, Lanfeust troy wrote:
hi list,

is it possible to write a filter like:

(&(objectClass=inetOrgPerson)(mail=cn))

to retrieve all entry that attribute mail equal to attribute cn.

thanks

I have never tried it, but I bet not. For starters I don't see how the interpreter would be able to tell that your value on the right side of the = is an attribute name and not a value to compare to.

--
Andy Dorman