[CentOS] NSS ldap problems

Tue Nov 1 09:57:25 UTC 2011
John Hodrien <J.H.Hodrien at leeds.ac.uk>

On Tue, 1 Nov 2011, Trey Dockendorf wrote:

> One difference I ran into with samba authentication is in cent 5
> /etc/pam.d/system-auth-ac is the file to change but in cent 6 its
> /etc/pam.d/password-auth-ac.  I found that changes I made only to
> system-auth-ac in 5 had to be made to both system-auth-ac and
> password-auth-ac in 6.  This was to have authentication work for things
> like ssh and sudo in centos 6.

It is worth noting that those files should only be edited as a last resort.
You should go through authconfig if possible.

#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.

jh