CVS update: samba/source/smbd
Andrew Bartlett
abartlet at pcug.org.au
Sun Nov 4 11:24:41 EST 2001
Jeremy Allison wrote:
>
> On Sun, Nov 04, 2001 at 10:07:53AM +1100, Andrew Bartlett wrote:
>
> > So while I understand not wanting to burden NT_USER_TOKEN with unix
> > info, why not NT_UNIX_USER_TOKEN and a function that produces the
> > NT_USER_TOKEN subset when required?
>
> Because it's extra overhead that's unneeded and complicates the
> interface.
>
> The NT_USER_TOKEN is a nice simple interface that allows us to
> decouple uid_t/gid_t and SIDS as needed.
But becouse we decouple them, we loose information. Information we
can't get back (on non-winbind systems at least). We should *at some
point* keep them both togeather. I don't care if we produce two
strucures, the NT_USER_TOKEN and a matching SID->UID/SID->GID structure,
but we should keep that information on hand.
Particularly when it provides the groundwork for an important bug-fix.
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Samba Team member, Build Farm maintainer abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba-cvs
mailing list