[Samba] BDC Promotion and Netbios...

John H Terpstra - Samba Team jht at samba.org
Mon Aug 24 11:34:29 MDT 2009


On 08/24/2009 12:15 PM, Brian H wrote:
> We are replacing a failing PDC.  When promoting a BDC to replace an
> existing PDC, can you change the NETBIOS name field to match that of the
> original PDC without causing problems?
> 
> ----
> Brian H
> binarynomad at gmail.com
> http://www.binarynomad.com
> 

Sure, but you must reset the domain SID after you change the server name.

Before changing the server name:
	net getdomainsid

Stop winbind, smbd, nmbd.

Change the server name.

After changing the server name, and BEFORE starting nmbd, smbd, and winbind:
	net setdomainsid S-1-5-21-xxxxxxxxxx-xxxxxxx-xxxxxxxx
per the domain SID reported by 'net getdomainsid'

- John T.


More information about the samba mailing list