SID changes for a PDC when you change its name ...

Richard Sharpe rsharpe at
Mon Sep 23 07:24:00 GMT 2002

On Mon, 23 Sep 2002 Volker.Lendecke at SerNet.DE wrote:

> Hash: SHA1
> > If you change the server name of a PDC, Samba generates a new machine SID 
> > because of an incorrect test in pdb_generate_sam_sid.
> I stumbled across that one as well. Jerry had some reason for it,
> which I don't remember.
> > Secondly, it would be nice if there was a command like 'net rpc 
> > setlocalsid S-1-5-21-x-y-z' that allowed you to set the SID in the secrets 
> > database when you need to.
> No rpc involved -- what about 'net setlocalsid S-1-5-21-x-y-z'? It's
> trivial.

You are right. Yes please ...

Richard Sharpe, rsharpe at, rsharpe at, 
sharpe at

More information about the samba-technical mailing list