Re: userPassword used for simple auth

Mark Smith (
Fri, 02 Aug 1996 10:08:55 -0700

Chris Irwin wrote:
> When ldap_bind_s is called with LDAP_AUTH_SIMPLE as the bind method, is
> the atrribute "userPassword" what is searched for in the database to do
> the authentication ?

Yes, the server will check to see if the password supplied in the bind
request matches what is stored in the userPassword attribute. There is
no searching involved though -- you pass the full DN on a bind request
and only that entry is checked.