question about create_local_nt_token

Jeremy Allison jra at samba.org
Wed Aug 13 23:33:18 GMT 2008


On Wed, Aug 13, 2008 at 04:24:50PM -0700, Herb Lewis wrote:
> The comment says we are adding the user and primary group sid
> to the array, but we add the user and the first group in the
> groupsids array. This is not always the primary group. How can
> we tell which is the primary group?

By convention the first group in the groupsids array
should be the primary group. Where in the code do you
see it not being the primary ?

Jeremy.


More information about the samba-technical mailing list