[Samba] SID of samba domain?

Clint Sharp clint at typhoon.org
Thu May 20 18:16:29 GMT 2004

Jose Martinez wrote:

>How do I find out the SID of my samba domain? And how do I migrate this SID
>to another machine when I migrate my domain over.
If you're running Samba3, use net getlocalsid.  If not, on Samba 2.2.8 
you can use smbpasswd -X <servername> to obtain the Sid.  On Samba3 net 
setlocalsid will set your server's sid and smbpasswd -W will do the 
equivalent on 2.2.8.  I highly recommend using Samba3 over 2.2.8.  Hope 
this helps.


More information about the samba mailing list