Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Where I can find /etc/ldap.conf file to configure system authentication through LDAP in CentOS 6.3?

share|improve this question
    
Probably at /etc/ldap.conf –  Safado Sep 28 '12 at 14:01

2 Answers 2

up vote 3 down vote accepted

In CentOS 6, /etc/ldap.conf was replaced with /etc/pam_ldap.conf. At a minimum, you also need to run the nslcd service and update /etc/nslcd.conf.

Red Hat recommends using SSSD, in their Deployment Guide.

share|improve this answer

Use the command below:

find / -name ldap.conf -print

share|improve this answer
    
ok, I found it. But I want to use IBM Tivoli directory server, not OpenLDAP as LDAP-provider. And in IBM documentation written that it must be inside root of /etc\ –  MyTitle Sep 28 '12 at 13:23
    
@MyTitle, you can create a link in /etc to the file you found. –  John Gardeniers Sep 28 '12 at 13:27
    
Different linux distributions have different directory structures, and also different versions of ldap may have different directory structures. But i dont think it will make big difference, just use the file you already found. –  Hex Sep 28 '12 at 13:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.