From owner-freebsd-questions@FreeBSD.ORG Thu Jul 17 14:24:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5AA31065672 for ; Thu, 17 Jul 2008 14:24:40 +0000 (UTC) (envelope-from sgmayo@mail.bloomfield.k12.mo.us) Received: from mail.bloomfield.k12.mo.us (mail.bloomfield.k12.mo.us [204.184.27.92]) by mx1.freebsd.org (Postfix) with ESMTP id 83B878FC16 for ; Thu, 17 Jul 2008 14:24:40 +0000 (UTC) (envelope-from sgmayo@mail.bloomfield.k12.mo.us) Received: from mail.bloomfield.k12.mo.us (localhost.bloomfield.k12.mo.us [127.0.0.1]) by mail.bloomfield.k12.mo.us (Postfix) with ESMTP id 09A679581D for ; Thu, 17 Jul 2008 09:25:28 -0500 (CDT) Received: from 204.184.27.217 (SquirrelMail authenticated user sgmayo) by mail.bloomfield.k12.mo.us with HTTP; Thu, 17 Jul 2008 09:25:29 -0500 (CDT) Message-ID: <1672.204.184.27.217.1216304729.squirrel@mail.bloomfield.k12.mo.us> In-Reply-To: <20080716195709.GA19044@dan.emsphone.com> References: <1105.204.184.27.217.1216233869.squirrel@mail.bloomfield.k12.mo.us> <20080716195709.GA19044@dan.emsphone.com> Date: Thu, 17 Jul 2008 09:25:29 -0500 (CDT) From: sgmayo@mail.bloomfield.k12.mo.us To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: nsswitch.conf man page 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: Thu, 17 Jul 2008 14:24:40 -0000 Dan Nelson wrote: > In the last episode (Jul 16), sgmayo@mail.bloomfield.k12.mo.us said: >> I don't see anything in the man page about adding ldap into the >> nsswitch.conf file. Is that something that I can do so that I can >> get applications to use my openldap? >> >> I would assume I could add something to the affect of: >> >> passwd files ldap >> group files ldap >> >> but all I see is compat, files, nis and dns for options. > > The manpage only lists the builtin sources. If a builtin source with > the specified name isn't found, the code will search for an > nss_xxxx.so.1 shared object and load that. So once you install the > nss_ldap port, then the ldap source will start working. Also consider > enabling nscd and adding the "cache" source before your "ldap" source. > ldap group memership queries are slow :) What about the files that it checks? From the other post and from other things that I have seen, I will see this line: shadow: files ldap Is there a total list of things like shadow, group, passwd, etc. that I can see? It does not mention but a few int he manpage. Thanks. -- Scott Mayo - System Administrator Bloomfield Schools PH: 573-568-5669 FA: 573-568-4565 Question: Because it reverses the logical flow of conversation. Answer: Why is putting a reply at the top of the message frowned upon?