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 and the other is at /etc/openldap/ldap.conf
Which file should I modify to get the effect ? thanks.
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 ...
Regards, Buchan
On 3:27:41 pm 2007-03-14 Buchan Milne bgmilne@staff.telkomsa.net wrote:
On Wednesday 14 March 2007, JOYDEEP wrote:
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.
Provided that both are installed by RPM packages one could find out by using
rpm -qf /etc/ldap.conf /etc/openldap/ldap.conf
Ciao, Michael.
Michael Ströder wrote:
On 3:27:41 pm 2007-03-14 Buchan Milne bgmilne@staff.telkomsa.net wrote:
On Wednesday 14 March 2007, JOYDEEP wrote:
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.
Provided that both are installed by RPM packages one could find out by using
rpm -qf /etc/ldap.conf /etc/openldap/ldap.conf
Thanks for the command,
rpm -qf /etc/ldap.conf shows ----> pwdutils-3.0.7.1-17 and rpm -qf /etc/openldap/ldap.conf shows ----> openldap2-client-2.3.19-18
what does all this mean ?
thanks
Ciao, Michael.
JOYDEEP wrote:
rpm -qf /etc/ldap.conf shows ----> pwdutils-3.0.7.1-17 and rpm -qf /etc/openldap/ldap.conf shows ----> openldap2-client-2.3.19-18
what does all this mean ?
That you can configure pam_ldap differently than OpenLDAP command-line utilities. Technically the packages were compiled with different 'configure --sysconfdir' parameter. The SuSE people could tell you exactly what they had in mind.
Ciao, Michael.
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 ?
thanks once again
Regards, Buchan
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).
Regards, Buchan
JOYDEEP wrote, on 15. mar 2007 05:58:
[...]
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 ?
Both, but they're for different things. Concentrate on /etc/openldap/ldap.conf for the while; the only certificate thing you should probably have in it, is TLS_CACERT with the path to your CA cert.
--Tonni
openldap-software@openldap.org