On Friday 02 January 2009 05:16:29 Miguel Medalha wrote:
> I noticed the following:
>
> Suppose that we have a server called "SMALLSERVER" working as a PDC for
> "SMALLDOMAIN**".
>
> When I enter "net getlocalsid" I get the following output:
>
>     SID for domain SMALLSERVER is: S-1-5-21-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx
>
> But when I enter "net getdomainsid" I get:
>
>     SID for local machine SMALLSERVER is:
> S-1-5-21-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx
>     SID for domain SMALLDOMAIN is: S-1-5-21--xxxxxxxxx-xxxxxxxxx-xxxxxxxxx
>
> Is this a bug or is it by design? It is somewhat confusing. Shouldn't
> the output of "net getlocalsid" be "SID for *local machine* SMALLSERVER"
> instead of "SID for domain SMALLSERVER"?
>
> Maybe I am being picky but that got me confused for a while when trying
> to debug a malfunctioning server...

IIRC the domain's SID is the SID of the domain's PDC, for NT4 style domains.

Cheers,
Kai

-- 
Kai Blin
WorldForge developer  http://www.worldforge.org/
Wine developer        http://wiki.winehq.org/KaiBlin
Samba team member     http://www.samba.org/samba/team/
--
Will code for cotton.

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to