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

Re: confusion with two ldap.conf in a single system

On Thursday 15 March 2007, JOYDEEP wrote:
> Buchan Milne wrote:
> > On Wednesday 14 March 2007, JOYDEEP wrote:
> >> Dear list,
> >>
> >> I am using Suse 10.1  with  openldap2-2.3.19-18.  I am very much
> >> confused  to see the two ldap.conf  file in my system
> >>
> >> one is located at  /etc/ldap.conf
> >
> > This one is most likely for pam_ldap and nss_ldap
> >
> >> and the other is at
> >> /etc/openldap/ldap.conf
> >
> > This one is most likely for openldap libraries.
> >
> >> Which file should I modify to get the effect ?
> >
> > You don't say what effect you want ...
> Thanks a lot Buchan for your response. Regarding effect, which file
> should I edit for certificate; TLS; security etc and which
> file for LDAP port; hostname  ?

It depends if you want to do this for generic LDAP commands (ldapsearch, 
ldapmodify etc.) or other application which don't override specific 
configurations (e.g. Evolution) - in which case you must make the changes 
in /etc/openldap/ldap.conf , or if this is specific to nss_ldap and 
pam_ldap - in which case you must make the changes in /etc/ldap.conf.

Please consult the relevant documentation ('man ldap.conf', 'man 
pam_ldap', 'man nss_ldap' - if they are available on your system).

Please note that discussion of nss_ldap/pam_ldap is largely off-topic on this 
list (as there are lists specifically for these).


Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader

Attachment: pgpRhag4bnxG6.pgp
Description: PGP signature