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 -- ___________________________________ Ronny Forberger ronnyforberger at ronnyforberger.de PGP: http://www.ronnyforberger.de/pgp/email-encryption.html
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 -- -James
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 -- ___________________________________ Ronny Forberger ronnyforberger at ronnyforberger.de PGP: http://www.ronnyforberger.de/pgp/email-encryption.html