[Samba] Samba4 replication not working

lingpanda101 at gmail.com lingpanda101 at gmail.com
Thu Oct 13 14:28:13 UTC 2016


On 10/13/2016 10:19 AM, Ronny Forberger wrote:
>
> Am 12.10.2016 um 20:17 schrieb lingpanda101--- via samba:
>> On 10/12/2016 1:57 PM, Ronny Forberger via samba wrote:
>>> Hi,
>>>
>>> I get the following error when I am trying to check the replication
>>> status of my samba4 dc:
>>>
>>> ERROR(<class 'samba.drs_utils.drsException'>): DRS connection to nidy.
>>> failed - drsException: DRS connection to nidy. failed: (-1073741772,
>>> 'The object name is not found.')
>>>     File "/usr/lib64/python2.7/site-packages/samba/netcmd/drs.py", line
>>> 39, in drsuapi_connect
>>>       (ctx.drsuapi, ctx.drsuapi_handle, ctx.bind_supported_extensions) =
>>> drs_utils.drsuapi_connect(ctx.server, ctx.lp, ctx.creds)
>>>     File "/usr/lib64/python2.7/site-packages/samba/drs_utils.py", line
>>> 54,
>>> in drsuapi_connect
>>>       raise drsException("DRS connection to %s failed: %s" % (server, e))
>>>
>>> What can be the cause?
>>>
>>> Best regards,
>>> Ronny Forberger
>>>
>> Is this a new DC?
>>
>> I would quickly check if you have a A and CNAME record for the DC.
>> Follow this link
>> https://wiki.samba.org/index.php/Verifying_and_Creating_a_DC_DNS_Record
>>
> It's a new DC. I really had the CNAME missing, so I added it, but I
> still get the same above error.
> Any ideas?
>
> Regards,
> Ronny Forberger
>

After adding the record did you by chance restart the newly joined DC? 
Is the error the exact same error as before? Did you provision with the 
internal dns or bind?

-- 
-James




More information about the samba mailing list