mourik jan heupink - merit
2014-Sep-19 11:28 UTC
[Samba] old dc still mentioned as msSFU30MasterServerName
Hi, Our DC1 had to be taken offline due to corruption. Roles were seized, and I managed to get rid of the directory metadata by using this script from microsoft: http://gallery.technet.microsoft.com/scriptcenter/d31f091f-2642-4ede-9f97-0e1cc4d577f3 After that I had to remove the remaining DNS stuff, and now everything seems to be in perfect shape, with dc2/dc3/dc4, replicating perfectly, no more errors. After this excersize I dumped the entire active directory to an ldif: ldbsearch --url=/var/lib/samba/private/sam.ldb > /root/samba4/samba4.ldif and grepped that file for "DC1", and I noticed that DC1 is still referenced to as "msSFU30MasterServerName" in 15 places. I have asked this here before, but received no answers. The question: can I simply replace "msSFU30MasterServerName: DC1" with "msSFU30MasterServerName: DC2", or is there other/more magic involved..? And also...what does msSFU30MasterServerName actually mean/do? Kind regards, Mourik Jan
Rowland Penny
2014-Sep-21 13:28 UTC
[Samba] old dc still mentioned as msSFU30MasterServerName
On 19/09/14 12:28, mourik jan heupink - merit wrote:> Hi, > > Our DC1 had to be taken offline due to corruption. Roles were seized, > and I managed to get rid of the directory metadata by using this > script from microsoft: > > http://gallery.technet.microsoft.com/scriptcenter/d31f091f-2642-4ede-9f97-0e1cc4d577f3 > > > After that I had to remove the remaining DNS stuff, and now everything > seems to be in perfect shape, with dc2/dc3/dc4, replicating perfectly, > no more errors. > > After this excersize I dumped the entire active directory to an ldif: > ldbsearch --url=/var/lib/samba/private/sam.ldb > > /root/samba4/samba4.ldif and grepped that file for "DC1", and I > noticed that DC1 is still referenced to as "msSFU30MasterServerName" > in 15 places. > > I have asked this here before, but received no answers. > > The question: can I simply replace "msSFU30MasterServerName: DC1" with > "msSFU30MasterServerName: DC2", or is there other/more magic involved..? > > And also...what does msSFU30MasterServerName actually mean/do? > > Kind regards, > Mourik JanHi, firstly 'msSFU30MasterServerName' contains the name of the Master NIS Server for the map's in AD, so yes, if you no longer have a DC called 'DC1' then you can and should change the contents of the 'msSFU30MasterServerName' to contain the name of the new DC. Rowland