2010/2/17 Dima Veselov <i%kab00m.ru@localhost>:
Hi,
I have met a problem, concerning nss_ldap usage - OpenLDAP slapd is running
in unpriveledged mode, so at start it try to resolve '-u slapd' and catch
itself - nss_ldap is trying to resolve, but slapd isn't yet ready. If nss_ldap
is turned in hard mode - this situation cause server to stall forever.
Having user slapd in /etc/passwd, I tried to use nsswitch.conf entry as follows:
passwd: files [success=return] ldap
But it really doesn't work. What usually people do to start it easily on files
and continue on ldap?
In general you can't use nss_ldap on the ldap server itself.