[Samba] Re-replicate LDAP

Andreas Oster aoster at novanetwork.de
Mon Oct 15 01:24:44 MDT 2012


Am 15.10.2012 08:41, schrieb Kristofer:
> 
> 
> On Oct 15, 2012, at 12:56 AM, Andreas Oster <aoster at novanetwork.de> wrote:
> 
>> I guess you can achieve the same with:
>>
>> samba-tool domain demote -Uadministrator
>>
>> afterwards you can join the DC again.
> 
> That has been unsuccessful to me also. 
> 
> I receiver errors:
> 
> Failed to bind to uuid e3514235-4b06-11d1-ab04-00c04fc2dcd2 for e3514235-4b06-11d1-ab04-00c04fc2dcd2 at ncacn_ip_tcp:BLADS1.ad.domain.com[1024,seal] NT_STATUS_IO_TIMEOUT
> ERROR(<class 'samba.drs_utils.drsException'>): uncaught exception - drsException: DRS connection to BLADS1.ad.domain.com failed: (-1073741643, 'NT_STATUS_IO_TIMEOUT')
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 168, in _run
>     return self.run(*args, **kwargs)
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 631, in run
>     (drsuapiBind, drsuapi_handle, supportedExtensions) = drsuapi_connect(server, lp, creds)
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/drs_utils.py", line 54, in drsuapi_connect
>     raise drsException("DRS connection to %s failed: %s" % (server, e))
> root at rcads1:/usr/local/samba/bin#
> 
> 
> 
Hello Kristofer,

samba4 service needs to be running to demote. When samba is started what
does samba-tool drs showrepl say ?

best regards

Andreas



More information about the samba mailing list