[Samba] Samba & SIDs

Craig White craigwhite at azapple.com
Sun Nov 20 02:29:58 GMT 2005

On Sat, 2005-11-19 at 23:32 +0000, Julian Pilfold-Bagwell wrote:
> Hi all,
> I need help to clear a bit of confusion regarding SIDs on Samba servers.
> I had my PDC collapse on Thursday which wasn't too much of a problem as I had 
> everything backed up but I'm now in the position that I have a mismatched 
> Domain SID. If I run net getlocalsid I get the sid for the server (called 
> smb0) and net get local sid <domain> returns the sid for the Domain.
> I need to recover the original domain SID but setlocalsid changes the SID for 
> the machine. As it is, people can log onto the domain but I can't set up any 
> new accounts or change user details with smbldap-tools.
sounds like all you need to do is run 'net setlocalsid
S-1..............' with the SID the same as the PDC that collapsed


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the samba mailing list