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

Is it possible to default bind using the root dn in LDAP.CONF



I am new to LDAP and struggling with a few things.  One is that although I have managed to setup a SuSE 9.0 box with OpenLDAP 2.1.22 and a pam installation that uses pam_unix2.so, version 1.14.  These are the versions as supplied by SuSE.

 

My problem is that nothing I do seems to get rid of a request for LDAP authentication when running passwd as root, even for setting the root password.  I have run debug on the LDAP server that seems to indicate that it is always using an anonymous bind in the first connection to the server.  I have read in one of the many howtos and other documents that I have seen recently that the ldap client should use the root dn specified in the ldap.conf file and the password in /etc/ldap.secret – id this true, and if so how can I get this to happen so that it is not necessary to know the current password before setting a password as root?

 

I can give trace logs and setup files if required, but am leaving them out for now to keep things short.

 

Thanks for reading and any help you may be able to offer.

 

Damon