<br><br><div><span class="gmail_quote">On 10/9/07, <b class="gmail_sendername">Craig White</b> <<a href="mailto:craigwhite@azapple.com">craigwhite@azapple.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 2007-10-09 at 16:14 +0200, Tronn Wærdahl wrote:<br>> Im running CentOS 5 with samba configured as PDC, with samba 3.0.24<br>> 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)<br>> then the init script just hangs. I suppose it will try to run slapd as
<br>> the ldap user<br>> The ldap user is not in LDAP only in /etc/passwd, how can i configure<br>> 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>----<br>been there, done that...<br><br>add to bottom of /etc/ldap.conf<br><br>timelimit 30<br>bind_timelimit 30<br>bind_policy soft<br>nss_initgroups_ignoreusers root,ldap<br><br>Craig<br>
<br>_______________________________________________<br>CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos
</a><br></blockquote></div><br><br clear="all"><br>Thanks Craig<br><br>That solved my problem<br><br>Thank you <br><br>Tronn<br>