From owner-freebsd-current@FreeBSD.ORG Thu Apr 17 08:38:33 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D266837B401 for ; Thu, 17 Apr 2003 08:38:33 -0700 (PDT) Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15F1A43F3F for ; Thu, 17 Apr 2003 08:38:33 -0700 (PDT) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "madman.celabo.org", Issuer "celabo.org CA" (verified OK)) by gw.nectar.cc (Postfix) with ESMTP id 65EF351; Thu, 17 Apr 2003 10:38:32 -0500 (CDT) Received: by madman.celabo.org (Postfix, from userid 1001) id 6FEAC78C4A; Thu, 17 Apr 2003 10:38:31 -0500 (CDT) Date: Thu, 17 Apr 2003 10:38:31 -0500 From: "Jacques A. Vidrine" To: John Polstra Message-ID: <20030417153830.GA13319@madman.celabo.org> References: <20030417141133.GA4155@madman.celabo.org> <1050590195.76150.8.camel@owen1492.uf.corelab.com> <20030417144449.GA4530@madman.celabo.org> <200304171535.h3HFZEFs094589@strings.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200304171535.h3HFZEFs094589@strings.polstra.com> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.3i-ja.1 cc: current@freebsd.org Subject: Re: HEADS UP: new NSS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2003 15:38:34 -0000 On Thu, Apr 17, 2003 at 08:35:14AM -0700, John Polstra wrote: > You might want to look at how libpam handles this situation. In the > static case, all of the known modules are linked into it statically. > Then they are located and registered at runtime by means of a linker > set. Something similar is supported. You edit src/lib/libc/net/nss_backends.h to add your module. You don't likely want to do this with large things like nss_ldap :-) but I plan to bring nss_winbind into the base system in that fashion (nss_winbind is fairly small stub). Cheers, -- Jacques A. Vidrine http://www.celabo.org/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se