Web lists-archives.com

Re: [Samba] Problem with demoting, new dc and replic

On 5/17/2018 12:45 PM, Carlos Bordon via samba wrote:

i have 3 dcs with samba

i demote bdc and replace it with dc2 with de same ip

the replicate with dc1 is ok, and the replicate of dc3 with dc1 is ok,

the problem is in dc2 with dc3

i found the problem, but i dont known how fixes

when i do samba-tools drs showrepl in dc3

i see in connection appears the old dc named bdc and dont appears the new,

i try with samba-tool drs replicate but nothing change

any idea?

thanks for exist!

It sounds like after demote Samba was not able to remove some lingering objects.

You should remove any entries with the name bdc in your DNS. Look in your domain zone as well as _msdcs.cimg.local. Search all sub folders (ie., _sites,_tcp ect.)I find its easier to use Microsoft DNS manager for this.

Confirm in Active Directory Users and Computers that the DC bdc is deleted from the 'Domain Controllers' OU.

Finally open Active Directory Sites and Services and expand 'Default-First-Site-Name'. Delete the bdc server if it exists. Expand dc1 and dc3 and remove any 'automatically generated' site links referencing bdc if they exist.  Use cation and double check before deleting that it's bdc you are deleting.

Finally let the other DC's replicate the changes you made for a few minutes. It should be relatively instant but just to be sure wait. Then run '/samba/sbin/samba_dnsupdate' on dc2.


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba