authconfig-gtk ldap config help required
I am trying to connect to this ldap server:
http://www.forumsys.com/en/tutorials...p-test-server/ These are the following steps I undertook, however, am unable to login to most of the users. 1. Installed "nss-pam-ldapd" "openldap-clients" 2. opened authconfig-gtk 3. dc=example,dc=com and ldap://ldap.forumsys.com At this point, I typed getent passwd and had two users in my file: tesla and test. Why did these accounts show up now? Why didn't the other accounts show up (einstein, etc) config screenshots http://imgur.com/rpHBKnx ldapsearch -x shows the following (http://imgur.com/MKwvAqW) Does this mean I am connected to the ldap server? I see no user accounts when I type getent passwd. In other scenarios, I just type su - username and I'm able to log in as a user. In this case, do I need to navigate to a specific OU? |
What does
Quote:
Post output of the following commands: cat /etc/pam.d/system-auth cat /etc/nsswitch.conf cat /etc/issue uname -a cat /etc/redhat-release getenforce iptables -L From what you posted on your image, you don't have the cn configured - Bind DN: cn=read-only-admin,dc=example,dc=com Also, from the output, it appears you did cat /etc/passwd and input the two users. If this is the case, LDAP doesn't use the /etc/passwd file for authentication. If /etc/nsswitch.conf is configured properly, lookups are done against the LDAP database. |
All times are GMT -5. The time now is 09:35 AM. |