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

Re: LDAP filter question


On Sunday 13 April 2003 06:02, Leon Finker wrote:
> Could someone confirm if this is right ldap filter:
> (&(objectClass=something)(ou=people)(customattrib=cn=some,ou=people,dc=blah
> My question is about:
> (customattrib=mail=some,ou=people,dc=blah,dc=com)
> Will it work as expected? That is:
> customattrib equal to whatever is on the right,
> ignoring any remaining = signs? It seems to work fine.

If I understand the RFCs correctly, it should work.
AFAIK only * ( ) and \ need to to be quoted.

> I'm asking because while above works, the following doesn't:
> (customattrib=mail=*)

With respect to Filter syntax this looks good.
Maybe there is no substring matching rule defined for attributes with
DN syntax. (I did not look it up)


Peter Marschall
eMail: peter@adpm.de