Getting MACHINE.SID on a different Network

Paul J Collins pjdc at eircom.net
Sat Apr 29 19:53:52 GMT 2000


>>>>> "Naseer" == Naseer Bhatti <geniusbhatti at hotmail.com> writes:

    Naseer> Hello, Would someone tell me how would it be posssible to
    Naseer> get the MACHINE.SID for other domains on the network ?

Try using rpcclient to connect to the domain's PDC and use the
lsaquery command.

Alternatively, go to a workstation on that domain and search the
registry for a key called ProfileList.  Find a key under it
corresponding to a user in the domain and remove the RID (the last
component of the SID) to obtain the domain's SID.

Paul.

-- 
Paul Collins <sneakums at eircom.net> - - - - - [ A&P,a&f ]
 GPG: 0A49 49A9 2932 0EE5 89B2  9EE0 3B65 7154 8131 1BCD
 PGP: 88BA 2393 8E3C CECF E43A  44B4 0766 DD71 04E5 962C
"Linux: it's just this operating system, you know?"



More information about the samba-ntdom mailing list