why is (gid_t)-1 treated as a group mapping failure?
Gerald (Jerry) Carter
jerry at samba.org
Wed May 2 18:36:05 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
James Peach wrote:
>> It's a hack to allow the nss_info layer to return
>> a primary group id and override the Windows primary
>> group (e.g gidNumber attribute in posixAccount for RFC2307).
> So the idea is that when you get an account with gid == -1,
> you allocate a local gid for it using the idmap allocate
You just use the gid of the primary as set ny Windows.
he SFU and Windows 2003 R@ allow an arbitrary gid set for
the posix primary group.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical