[OpenSER-Users] anonymous LDAP bind issue

Christian Schlatter cs at unc.edu
Fri Feb 1 23:20:14 CET 2008


antalsia at free.fr wrote:
> Hi,
> 
> I'm trying to implement LDAP authentication with anonymous LDAP bind. I set the
> ldap configuration file without ldap_bind_dn, ldap_bind_password attributes.
> This step works fine. Unfortunately, I can't figure out how to set the
> openser.cfg file. I need to pass the bind DN and the user password to the
> ldap_search function ; that's ok for the bind DN but I don't know how to procede
> for the password. Can someone post an example please ?

Why do you need to pass the bind DN and password to ldap_search? An LDAP 
search operation doesn't include authentication, this is what the bind 
operation is good for. Once an LDAP client authenticates itself through 
the bind operation, it can issue a search operation.

/Christian


> 
> Regards,
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users





More information about the sr-users mailing list