[Samba] DRS Replication between two DC's Failing

lingpanda101
Fri, 12 Jan 2018 17:57:20 -0000

On 1/12/2018 11:57 AM, Kukreja H.Kukreja wrote:
> Yes they exists on both the DC’s.
>
> DC1 Samba 4.6.12
> DC2 Samba 4.7.4
>
> Sent from my iPhone
>
> On 12 Jan 2018, at 6:34 PM, lingpanda101 <lingpanda101 at gmail.com
> <mailto:lingpanda101 at gmail.com>> wrote:
>
>> On 1/12/2018 3:27 AM, Harsh Kukreja wrote:
>>> Hi James
>>>
>>> Thanks for your response.
>>>
>>> hots -t A iumsvrpdc (use it's fqdn as well) I have verified it
with
>>> the FQDN which says that the record iumsvrpdc.iumnet.edu.na
>>> <http://iumsvrpdc.iumnet.edu.na> exists
>>>
>>> Search for 'iumsvrpdc' objectGUID
>>>
>>> ldbsearch -H /usr/local/samba/private/sam.ldb
'(invocationId=*)'
>>> --cross-ncs objectguid :it shows 2 records found
>>>
>>> # record 1
>>>
>>> dn: CN=NTDS
>>>
Settings,CN=IUMDCDP01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=iumnet,DC=edu,DC=na
>>>
>>> # record 2
>>>
>>> dn: CN=NTDS
>>>
Settings,CN=IUMSVRPDC,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=iumnet,DC=edu,DC=na
>>>
>>> # returned 2 records
>>>
>>> # 2 entries
>>>
>>> # 0 referrals
>>>
>>> host -t CNAME objectGUID-for-iumsvrpdc._msdcs.samdom.example.com
>>> <http://msdcs.samdom.example.com/>
>>>
>>> host -t CNAME iumsvrpdc._msdcs.iumnet.edu.na
>>> <http://msdcs.iumnet.edu.na>
>>>
>>> iumsvrpdc._msdcs.iumnet.edu.na <http://msdcs.iumnet.edu.na>
is an
>>> alias for 27182378-a9c7-451e-bb95-7b2172a5f311._msdcs.iumnet.edu.na
>>> <http://msdcs.iumnet.edu.na>
>>>
>>>
>>> Reference the wiki if needed.
>>>
https://wiki.samba.org/index.php/Verifying_and_Creating_a_DC_DNS_Record
>>>
<https://wiki.samba.org/index.php/Verifying_and_Creating_a_DC_DNS_Record>
>>>
>>> Just to confirm you are attempting to replicate from
'iumsvrpdc' to
>>> 'iumdcdp01.iumnet.edu.na
<http://iumdcdp01.iumnet.edu.na/>'? YES
>>>
>>>
>>> Please assist to resolve this issue.
>>>
>>>
>>> *Harsh Kukreja *Systems Administrator
>>>
>>> **International University of Namibia**Tel: 061-4336000 - E-mail:
>>> h.kukreja at ium.edu.na <mailto:h.kukreja at ium.edu.na> -
Web:
>>> _http://www.ium.edu.na <http://www.ium.edu.na/>
>>> _Private Bag 14005,Bachbrech. 21-31 Hercules Street, Dorado Park,
>>> Windhoek, NAMIBIA
>>>
>>>
>>>
>>>
>> Harsh,
>>
>>     Do those records exists on both DC's? What version of Samba are
>> you running?
>> --
>> --
>> James

I do not know. Was there a recent update/upgrade that caused the
replication failure? The issue looks similar to this bug in versions
prior to 4.7.0.

https://bugzilla.samba.org/show_bug.cgi?id=12858


--
--
James