[Samba] Removed old DC, now replication hopelessly broken [SOLVED]

Adam Tauno Williams awilliam at whitemice.org
Sun Apr 12 15:10:22 MDT 2015


On Sun, 2015-04-12 at 16:14 -0400, Adam Tauno Williams wrote:
> I removed a DC using the DC removal tool mentioned in
> http://gallery.technet.microsoft.com/scriptcenter/d31f091f-2642-4ede-9f97-0e1cc4d577f3
>  as https://bugzilla.samba.org/show_bug.cgi?id=10734 prevents normal DC
> demotion.
> The DC was still all over in DNS, so I had to pick it out.
> Now replication between the remaining three DCs is broken
> [root at larkin26 ~]# samba-tool drs showrepl
> ERROR(<class 'samba.drs_utils.drsException'>): DRS connection to
> larkin26.micore.us failed - drsException: DRS connection to
> larkin26.micore.us failed: (-1073741772,
> 'NT_STATUS_OBJECT_NAME_NOT_FOUND')
>   File "/usr/lib64/python2.6/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.6/site-packages/samba/drs_utils.py", line 54,
> in drsuapi_connect
>     raise drsException("DRS connection to %s failed: %s" % (server, e))
> [root at larkin26 ~]# samba-tool drs showrepl
> ERROR(<class 'samba.drs_utils.drsException'>): DRS connection to
> larkin26.micore.us failed - drsException: DRS connection to
> larkin26.micore.us failed: (-1073741772,

Went through DNS again, verified all the resolv.conf files, restarted
all the services... and now DRS seems ok.  Not sure what fixed it.

-- 
Adam Tauno Williams <mailto:awilliam at whitemice.org> GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA



More information about the samba mailing list