Im running CentOS 5 with samba configured as PDC, with samba 3.0.24 and openldap-servers-2.3.30-2.<br>My /etc/nsswitch.conf is like this:<br><br>passwd: files ldap<br>shadow: files ldap<br>group: files ldap
<br><br>The problem is when I try to restart LDAP (/etc/init.d/ldap restart) then the init script just hangs. I suppose it will try to run slapd as the ldap user<br>The ldap user is not in LDAP only in /etc/passwd, how can i configure my system to look for users first in LDAP and then in /etc/passwd
<br><br>When I remove LDAP from my /etc/nsswitch.conf, so it looks like below<br><br>passwd: files <br>shadow: files <br>group: files <br><br><br>then ldap start up nicely, but then my LDAP users can't sign in
<br><br><br>I tried to do different changes in pam, but without any progress<br><br>Please advice<br clear="all"><br><br>