Date: Sun, 23 Nov 2008 15:06:58 +0100 From: Gerhard Schmidt <estartu@ze.tum.de> To: freebsd-questions@freebsd.org Subject: files before ldap in nsswitch.conf Message-ID: <49296382.60808@ze.tum.de>
next in thread | raw e-mail | index | archive | help
Hi, I'm setting up a new FreeBSD Server for out local Computer club. Most of the users are stored in LDAP and I've installed nss_ldap and pam_ldap and set up both. Everything works so far with nsswitch.conf entry passwd: ldap files. When I try passwd: files ldap the login doesn't work anymore because the LDAP_Server is never asked. I tried this to optimize the LDAP requests as the service users are in the local files. This would speed up the boot process and takes some load off the LDAP-Server. Is there a way to configure FreeBSD to look first in the local files and if a user isn't found in the LDAP-Server. And another question. Is there a way to use two different LDAP-Servers e.g. by calling nss_ldap with different config files. Greetings Estartu -- ------------------------------------------------- Gerhard Schmidt | E-Mail: schmidt@ze.tum.de TU-München | WWW & Online Services | Tel: 089/289-25270 | Fax: 089/289-25257 | PGP-Publickey auf Anfrage
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49296382.60808>