On Friday 02 January 2009 09:13:53 Miguel Medalha wrote:
> That was not my question. Read my message again, please.

Right. The answer actually is "You didn't read the help text 
to 'getlocalsid'". I don't know which Samba version you're running, but in 
the v3-3-test tree, the help text for net getlocalsid says "Get the SID for 
the local domain". The local domain for member servers is different from the 
domain a member server is joined to, but for a PDC, it's the same. 
Technically, you're always looking at domain SIDs here, so the output of net 
does just the right thing.

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