Hi Josh and Barry, running system-config-authentication solved the problem. The lines in system-auth looks like this: account required /lib/security/$ISA/pam_unix.so broken_shadow account sufficient /lib/security/$ISA/pam_succeed_if.so uid < 100 quiet account [default=bad success=ok user_unknown=ignore] /lib/security/$ISA/pam_ldap.so account required /lib/security/$ISA/pam_permit.so I have CentOS 4.2 and is working now as expected Many thanks Oliver Josh Kelley wrote: > On 2/23/06, Oliver Schulze L. <oliver@xxxxxxxxxxxxx> wrote: > >> I have a problem that when my slapd fails to start, I can no longer >> login via ssh as a user that is in /etc/passwd >> >> How can I solve this? Editing /etc/nsswitch.conf o pam.d/ ? >> > > Which version of CentOS? CentOS 4 adds "pam_succeed_if.so uid < 100 > quiet" in /etc/pam.d/system-auth to hopefully fix this kind of > problem, but CentOS 3 doesn't have anything like that. > > Josh Kelley > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > > -- Oliver Schulze L. <oliver@xxxxxxxxxxxxx>