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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url :
http://lists.samba.org/archive/samba/attachments/20090102/c6146915/attachment.bin