[OpenSER-Users] anonymous LDAP bind issue

antalsia at free.fr antalsia at free.fr
Sat Feb 2 18:50:32 CET 2008


Hi,

What I'd like to do is to authenticate SIP users the same way ldap users are
with the following command: ldapsearch -x -b [...] -D uid=user1,ou=xxxxx,dc=yyyy
-W. Is it possible with openser 1.3 ?


Quoting Christian Schlatter <cs at unc.edu>:

> 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 Users mailing list