nss_ldap and openldap on the same server.
Gerhard Schmidt
estartu at augusta.de
Mon Mar 12 14:29:23 UTC 2007
Hi,
I have a small problem. On my central server we run an openldap server that
contains the userdata for some systems. An the server uses this ldap
server for authentication and nss. The problem is that when the server is
booting slapd takes a very long time to start up. I think it's trying to
get an answer from ldap for the user ldap. But user ldap is in /etc/passwd
and in /etc/groups
My nsswitch.conf looks like this.
group: files ldap
hosts: files dns
networks: files
passwd: files ldap
shells: files
The system comes up but takes very long to do so (i think it's somekind of
timeout)
Mar 12 14:58:23 phobos slapd[584]: nss_ldap: could not search LDAP server - Server is unavailable
As I see it, nss asks all sources even if the frist one allready knows the
answer. Is there a way to change this.
Bye
Estartu
----------------------------------------------------------------------------
Gerhard Schmidt | Nick : estartu IRC : Estartu |
Fischbachweg 3 | | PGP Public Key
86856 Hiltenfingen | EMail: estartu at augusta.de | on request
Germany | |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070312/5e8c095a/attachment.pgp
More information about the freebsd-questions
mailing list