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

Searching on dn; please send clue

I must be missing a fundimental.  What is the syntax for filtering on
distinguished name?

This works: ldapsearch uid=foo

(returns the uid=foo,ou=People,dc=mycompany,dc=com entry)

These don't:
ldapsearch uid=foo,ou=People,dc=mycompany,dc=com
ldapsearch dn="uid=foo,ou=People,dc=mycompany,dc=com"

Maybe my config is not right?  I've gone back to no "access" directives and
"defaultaccess  read" just to make sure it's not in the access control.

(I can bind as this user.)

openldap version 1.2.11 (rpm release 15)
Linux 2.2.17
Redhat 6.2

Any help at all would be appreicated.  Thanks.


May the Legos (TM) always be swept from your path in the night.