Subject: Re: nsswitch and libnss_winbind
To: Sarton O'Brien <email@example.com>
From: Luke Mewburn <lukem@NetBSD.org>
Date: 05/30/2007 14:39:27
Content-Type: text/plain; charset=us-ascii
On Wed, May 30, 2007 at 09:49:11AM +1000, Sarton O'Brien wrote:
| From my understanding I should at least receive debug from winbindd onc=
| libnss_winbind has been accessed for retrieving the group listing from =
| DC. So far I get nothing at all. It seems the library is not in the rig=
| spot, linked correctly or is just not being used.
| As the program I am using to test merely uses nsswitch I wouldn't know
| where to look for any calls possibly being made to the required library.
| I guess the answer I am looking for is a firm 'yes this facility works,=
| have it set like this' :) ... or a 'no it's not supported' would suffi=
On NetBSD, you can use the getent(1) command to perform lookups
in the various databases that are switched through nsswitch.conf.
This should help in testing your nsswitch.conf and /lib/nss_FOO.so
For example, does 'getent passwd' dump your entire /etc/passwd and
winbind maps if you're using ``passwd: files winbind'' ?
As I mentioned previously, I haven't used this in a while.
When I did the development a few years ago, I had it working
for nsswitch lookups for uid/gid (but not PAM authentication).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
-----END PGP SIGNATURE-----