Hi Aaron,
Root is featured in /etc/passwd. Look at the entry below that is taken from my /etc/passwd :
cat /etc/passwd root:x:0:0:root:/root:/bin/bash
And my /etc/nsswitch.conf file : passwd: files ldap shadow: files ldap group: files ldap
If I tweak the sequence to ldap files, then root can't login at all!
On Thu, Mar 22, 2012 at 8:40 PM, Aaron Richton richton@nbcs.rutgers.eduwrote:
On Thu, 22 Mar 2012, SYeen Su wrote:
sshd: pam_ldap: error trying to bind as user "uid=root, ou=People,
dc=example,dc=com" (Invalid credentials).
My root user is not even in the ldap database.
Then obviously your root user must be specified somewhere else. Perhaps that "somewhere else" should be specified earlier than LDAP in your PAM configuration, since you're implying that the "somewhere else" data is more important than the LDAP data?