From owner-freebsd-hackers Wed Dec 25 0: 2:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D947237B401 for ; Wed, 25 Dec 2002 00:02:11 -0800 (PST) Received: from ns.aus.com (adsl-66-127-243-120.dsl.sntc01.pacbell.net [66.127.243.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D0E843EA9 for ; Wed, 25 Dec 2002 00:02:06 -0800 (PST) (envelope-from rsharpe@richardsharpe.com) Received: from localhost (rsharpe@localhost) by ns.aus.com (8.11.6/8.11.6) with ESMTP id gBP8TuQ05208; Wed, 25 Dec 2002 00:30:01 -0800 X-Authentication-Warning: ns.aus.com: rsharpe owned process doing -bs Date: Wed, 25 Dec 2002 00:29:56 -0800 (PST) From: Richard Sharpe X-X-Sender: To: Cc: Subject: Re: nsswitch help for you? In-Reply-To: <1040799271.3e095627bbce3@webmail1.isg.siue.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 25 Dec 2002 wgrim@siue.edu wrote: > Quoting Danny Braniss : > > > what exactly do you want/need? > > danny > > Sorry, I'll try to get as specific as I can with my currently limited knowledge > of the FBSD source code. > > Basically, I would like to know where I can find information on the nsswitch > protocol (if that is even such a thing): perhaps a document or standards paper? Well, here is what I think is needed: The ability to load shared libraries like /lib/libnss_ldap.so or /lib/libnss_winbind.so from within the *pw* and the *gr* calls, under control of /etc/nsswitch.conf. My suggestion would be to look at how Linux or Slowaris do this. My understanding is that the current nsswitch on FreeBSD is hard-coded as to the places it can look in, so winbindd cannot be used as a backend, nore can ldap, etc. I spent some time looking for the interface spec on the web, but could not find one, although you can infer what it looks like by looking at the winbind_nss.c code in Samba. I imagine that libc is going to need to be modified a bit to handle this, but I am only guessing. Regards ----- Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message