[Samba] Messed up SIDs: How to change machine SID?

Marcus Mundt marcus.mundt at forsa.de
Wed Jul 3 09:49:45 MDT 2013


Dear Samba Gurus,

I got the following errors:
tail -f /var/log/samba/log.wb-DOM1
[2013/07/02 15:49:19.990168,  2] winbindd/winbindd_rpc.c:320(rpc_name_to_sid)
  name_to_sid: failed to lookup name: NT_STATUS_NONE_MAPPED

log.smbd
[2013/07/02 15:40:51.809516,  2] auth/token_util.c:455(finalize_local_nt_token)
  WARNING: Failed to create BUILTIN\Administrators group!  Can Winbind allocate gids?
[2013/07/02 15:40:51.811330,  2] auth/token_util.c:479(finalize_local_nt_token)
  WARNING: Failed to create BUILTIN\Users group! Can Winbind allocate gids?


I guess the reason might be this:
net getdomainsid
SID for local machine M1 is: 	S-1-5-21-3981825222-1828954701-2606613544
SID for domain DOM1 is: 	S-1-5-21-2762780445-1763757571-3541238449

net getdomainsid
SID for local machine M2 is: 	S-1-5-21-2913448378-2543514743-1508345481
SID for domain DOM1 is: 	S-1-5-21-2762780445-1763757571-3541238449


Shouldn't the SIDs be the same except the last digits???

Cheers,
Marcus


More information about the samba mailing list