CVS update: samba/source/smbd

Jeremy Allison jra at samba.org
Sun Nov 4 06:49:57 EST 2001


On Sat, Nov 03, 2001 at 10:01:17PM +1100, Andrew Bartlett wrote:

> I certainly liked that patch.  There doesn't seem much point in the
> double-lookup.

We have to have the double lookup. If we can map a SID to a gid_t
then we need to do so in order to get real filesystem access if
permitted by the gid_t. We're only arguing about whether we need
to keep the SID around also in the non lookup case.

> It the NT_USER_TOKEN format fixed in stone?
>
> Is there any reason we can't attach the gids (if known) to the same
> structure?  Somthing like the way I now have optional uid_t and gid_t
> values in passdb?

The NT_USER_TOKEN is designed for NT SIDs only. It gets included
in other structures that contain uid_t and gid_t's. They don't 
belong in the pure NT info (IMHO). So I don't really want to 
change it.

Jeremy.




More information about the samba-cvs mailing list