winbindd GETPWNAM
Gerald (Jerry) Carter
jerry at samba.org
Mon Sep 8 20:40:16 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Herb Lewis wrote:
> I was trying to setup samba to use idmap_ad with the rfc2307
> schema. I had a user that had a primary group of Domain Users
> but I did not give Domain Users a unix GID so instead I just
> assigned a GID number for the user. I noticed that winbindd
> did not retrieve this information for the GETPWNAM call but
> instead tried to do a sid2gid call for the primary group SID.
>
> I noticed that the idmap_ad module defined a get_nss_info
> function that would have returned the proper information.
> Why doesn't winbindd use that function if defined? I really
> don't understand the purpose of the nss_get_info function.
> What is it's intended use? Is there some documentation on
> it somewhere?
Set "winbind nss info = rfc2307" to pull the primary gid information.
See the man page for details.
jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIxY2vIR7qMdg1EfYRAgMVAKDbR/lg895E5lef2vTvC5CamviNqACfaojf
XPlnXESUJEmKywDAuWDsSVo=
=whS1
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list