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

How to configure LDAP-auth in CentOS 6?

I configured it using GUI tool. Configuration looks like this :

enter image description here

But when I logout from root and try login with user defined in LDAP - nothing happens. I use standard CentOS auth window, choose "Other...", then type username and password, but after typing password it say "Authentication failure" and return me to startup window where I can choose some system user or choose again "Other..." user.

P.S. LDAP server is running on same machine (and works fine). I try to login with user with DN: cn=username,cn=groupname,dc=mydomain,dc=com (i.e. user located under Base DN dc=mydomain,dc=com)

In /var/log/secure I found this messages:

error retrieving information about user myuser1

....

error looking up user information for: myuser1

share|improve this question
    
What is being logged to the log files ? –  topdog Oct 1 '12 at 4:50
    
@topdog I Updated question –  MyTitle Oct 1 '12 at 5:22
    
I can't help but notice that LARGE error message at the top of the GUI dialog. Have you actually verified that PAM is able to connect to the LDAP service on that box versus the LDAPS service? –  Magellan Oct 1 '12 at 5:43

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.