Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2007 15:19:15 +0100
From:      Gerhard Schmidt <estartu@augusta.de>
To:        freebsd-questions@freebsd.org
Subject:   nss_ldap and openldap on the same server. 
Message-ID:  <20070312141915.GA1842@augusta.de>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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@augusta.de          |  on request 
Germany            | 					|  


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iQCVAwUBRfVhYwzx22nOTJQRAQI9BgP+OdZFMYH8Aa+FfqyKhPSndSCHg1zQfaM9
9a2q0WiyXcJwQpsPDN27g63zw6MVITw+BKfZI0l6cVsMwQXmnFq9M1nvA616VFxn
CG0mkbkLw0jSG0esEqpaEM0GSEzHzGfKKDkm63U82DacEGeQhrBUeGFJVJnDJhyS
7xtPQ7wSv4E=
=vbWk
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070312141915.GA1842>