![]() |
How to configure client machine to connect to LDAP server
Hi,
So I have configured LDAP server. Now, I'm using a Cent OS 6.3 box, that needs to be authenticated via LDAP. I have followed all the documents and modified ldap.conf and nssswitch.conf and made the client machine to look for LDAP server when a person logs in to the machine. But it is not working. It says authentication error. But I tried via ssh and I can login to the LDAP server. But I need to login to the client's desktop via LDAP authentication. How can I achieve this? |
You need to give us more information about this. what do the server logs say? can you do a "getent passwd"? That's usually a great point to demarc things. You need to appreciate some of the stages involved in the end to end process, there's about 5 keys stages to be achieved between having nothing and having the full working solution.
|
Sure. Here is the getent passwd output of LDAP server.
Code:
|
right, so it looks like the nsswitch.conf stuff is good, those ARE actually LDAP users at the bottom, right? so youre /etc/pam.d/system-auth (something like that) is configured with pam? If you run "tcpdump -vn port 389 or port 636" you shouold see the ldap requests firing across, so see if that happens or not.
|
Yes, they are the LDAP users at the bottom. The client machine's /etc/pam.d/system-auth file content:
Code:
#%PAM-1.0 |
| All times are GMT -5. The time now is 12:07 PM. |