From owner-freebsd-questions@FreeBSD.ORG Mon Mar 12 14:29:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0687316A403 for ; Mon, 12 Mar 2007 14:29:23 +0000 (UTC) (envelope-from estartu@etustar.ze.tum.de) Received: from titan.ze.tum.de (titan.ze.tum.de [129.187.39.12]) by mx1.freebsd.org (Postfix) with ESMTP id 8E13A13C45B for ; Mon, 12 Mar 2007 14:29:22 +0000 (UTC) (envelope-from estartu@etustar.ze.tum.de) Received: from etustar.ze.tum.de (etustar.ze.tum.de [129.187.39.96]) by titan.ze.tum.de (8.13.4/8.12.10) with ESMTP id l2CEJFiR064253; Mon, 12 Mar 2007 15:19:15 +0100 (CET) (envelope-from estartu@etustar.ze.tum.de) Received: from etustar.ze.tum.de (localhost [127.0.0.1]) by etustar.ze.tum.de (8.13.8/8.13.6) with ESMTP id l2CEJFRH002251; Mon, 12 Mar 2007 15:19:15 +0100 (CET) (envelope-from estartu@etustar.ze.tum.de) Received: (from estartu@localhost) by etustar.ze.tum.de (8.13.8/8.13.6/Submit) id l2CEJFdM002250; Mon, 12 Mar 2007 15:19:15 +0100 (CET) (envelope-from estartu) Date: Mon, 12 Mar 2007 15:19:15 +0100 From: Gerhard Schmidt To: freebsd-questions@freebsd.org Message-ID: <20070312141915.GA1842@augusta.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: nss_ldap and openldap on the same server. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2007 14:29:23 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi,=20 I have a small problem. On my central server we run an openldap server that= =20 contains the userdata for some systems. An the server uses this ldap=20 server for authentication and nss. The problem is that when the server is= =20 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= =20 and in /etc/groups My nsswitch.conf looks like this.=20 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)=20 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.=20 Bye Estartu ---------------------------------------------------------------------------- Gerhard Schmidt | Nick : estartu IRC : Estartu | Fischbachweg 3 | | PGP Public Key 86856 Hiltenfingen | EMail: estartu@augusta.de | on request=20 Germany | | =20 --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iQCVAwUBRfVhYwzx22nOTJQRAQI9BgP+OdZFMYH8Aa+FfqyKhPSndSCHg1zQfaM9 9a2q0WiyXcJwQpsPDN27g63zw6MVITw+BKfZI0l6cVsMwQXmnFq9M1nvA616VFxn CG0mkbkLw0jSG0esEqpaEM0GSEzHzGfKKDkm63U82DacEGeQhrBUeGFJVJnDJhyS 7xtPQ7wSv4E= =vbWk -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--