incorrect sid assigned to local user root?
jra at samba.org
Wed Jul 16 00:54:52 GMT 2008
On Tue, Jul 15, 2008 at 05:43:54PM -0700, Jeremy Allison wrote:
> On Mon, Jul 14, 2008 at 06:55:49PM -0400, Marc-andré Labonté wrote:
> > My question is why samba 3.2.0 assign a different SID to root?, does it
> > act like this on purpose? I can feel my path will lead me to
> > lookup_name() in passdb/lookup_sid.c. I'm kindly asking for your help
> Good analysis - thanks.
> Can you add a debug statement to lookup_name that prints
> out all the incoming arguments in Samba 3.2.0 and post
> the debug messages you're getting.
> The problem is definately the miss-assignment of S-1-22-1
> to root instead of S-1-22-1-0 in your case, now we need
> to understand why that happens..
Yes, looking at my analysis of lookup_name and the
arguments it gets called with from create_token
it should definately find the local UNIX name and
map it to a SID S-1-22-1-0. Need more info...
More information about the samba-technical