Date: Wed, 25 Dec 2002 00:29:56 -0800 (PST) From: Richard Sharpe <rsharpe@richardsharpe.com> To: <wgrim@siue.edu> Cc: <freebsd-hackers@FreeBSD.ORG> Subject: Re: nsswitch help for you? Message-ID: <Pine.LNX.4.33.0212250009231.2314-100000@ns.aus.com> In-Reply-To: <1040799271.3e095627bbce3@webmail1.isg.siue.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 25 Dec 2002 wgrim@siue.edu wrote: > Quoting Danny Braniss <danny@cs.huji.ac.il>: > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0212250009231.2314-100000>