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

Binding to LDAP

When connecting to a ldap server, must  the binddn be the rootdn?

For example,  
Ldapsearch -x -w secret -D "cn=Manager,dc=reph,dc=org"

If I add a record to the db that has uid of "Mary" and userPassword
"secret", shouldn't I be able to connect to the ldap server by doing
Ldapsearch -x -w secret -D "uid=Mary,dc=reph,dc=org" 

Providing that in the slapd.conf I have
access to *
	by dn="uid=Mary,dc=reph,dc=org" 

Theodore Reph