[Samba] Join ad DC went wrong

John Lewis oflameo2 at gmail.com
Mon May 25 10:25:34 MDT 2015


I tried to promote another server as a domain controller so I can get my
machines upgraded to Debian 8

Conveniently the samba versions are the same

dictator at drakeburner:~$ sudo samba -V
Version 4.1.17-Debian
root at soothsayer:/etc/samba# samba -V
Version 4.1.17-Debian


root at soothsayer:/etc/samba# samba-tool drs showrepl
Failed to connect host 127.0.0.1 on port 135 - NT_STATUS_CONNECTION_REFUSED
Failed to connect host 127.0.0.1 (soothsayer.d.oflameo.com) on port 135
- NT_STATUS_CONNECTION_REFUSED.
ERROR(<class 'samba.drs_utils.drsException'>): DRS connection to
soothsayer.d.oflameo.com failed - drsException: DRS connection to
soothsayer.d.oflameo.com failed: (-1073741258, 'The connection was refused')
  File "/usr/lib/python2.7/dist-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/lib/python2.7/dist-packages/samba/drs_utils.py", line 54,
in drsuapi_connect
    raise drsException("DRS connection to %s failed: %s" % (server, e))
dictator at drakeburner:~$ sudo samba-tool drs showrepl
Default-First-Site-Name\DRAKEBURNER
DSA Options: 0x00000001
DSA object GUID: aaf1b23b-7113-47a0-b113-cc894f79dff2
DSA invocationId: 194bd752-34f2-45b5-a419-0b60cca70c5d

==== INBOUND NEIGHBORS ====

DC=DomainDnsZones,DC=d,DC=oflameo,DC=com
        Default-First-Site-Name\SOOTHSAYER via RPC
                DSA object GUID: 80e79743-3019-4a6a-9a15-fb777dbe33f7
                Last attempt @ Mon May 25 12:16:27 2015 EDT failed,
result 2 (WERR_BADFILE)
                13 consecutive failure(s).
                Last success @ NTTIME(0)

DC=ForestDnsZones,DC=d,DC=oflameo,DC=com
        Default-First-Site-Name\SOOTHSAYER via RPC
                DSA object GUID: 80e79743-3019-4a6a-9a15-fb777dbe33f7
                Last attempt @ Mon May 25 12:16:27 2015 EDT failed,
result 2 (WERR_BADFILE)
                13 consecutive failure(s).
                Last success @ NTTIME(0)

DC=d,DC=oflameo,DC=com
        Default-First-Site-Name\SOOTHSAYER via RPC
                DSA object GUID: 80e79743-3019-4a6a-9a15-fb777dbe33f7
                Last attempt @ Mon May 25 12:16:27 2015 EDT failed,
result 2 (WERR_BADFILE)
                13 consecutive failure(s).
                Last success @ NTTIME(0)

CN=Schema,CN=Configuration,DC=d,DC=oflameo,DC=com
        Default-First-Site-Name\SOOTHSAYER via RPC
                DSA object GUID: 80e79743-3019-4a6a-9a15-fb777dbe33f7
                Last attempt @ Mon May 25 12:16:27 2015 EDT failed,
result 2 (WERR_BADFILE)
                13 consecutive failure(s).
                Last success @ NTTIME(0)

CN=Configuration,DC=d,DC=oflameo,DC=com
        Default-First-Site-Name\SOOTHSAYER via RPC
                DSA object GUID: 80e79743-3019-4a6a-9a15-fb777dbe33f7
                Last attempt @ Mon May 25 12:16:27 2015 EDT failed,
result 2 (WERR_BADFILE)
                13 consecutive failure(s).
                Last success @ NTTIME(0)
                                                                                       
[6/1984]
==== OUTBOUND NEIGHBORS ====

DC=DomainDnsZones,DC=d,DC=oflameo,DC=com
        Default-First-Site-Name\SOOTHSAYER via RPC
                DSA object GUID: 80e79743-3019-4a6a-9a15-fb777dbe33f7
                Last attempt @ Mon May 25 12:19:30 2015 EDT failed,
result 2 (WERR_BADFILE)
                816 consecutive failure(s).
                Last success @ NTTIME(0)

DC=ForestDnsZones,DC=d,DC=oflameo,DC=com
        Default-First-Site-Name\SOOTHSAYER via RPC
                DSA object GUID: 80e79743-3019-4a6a-9a15-fb777dbe33f7
                Last attempt @ Mon May 25 12:19:30 2015 EDT failed,
result 2 (WERR_BADFILE)
                816 consecutive failure(s).
                Last success @ NTTIME(0)

DC=d,DC=oflameo,DC=com
        Default-First-Site-Name\SOOTHSAYER via RPC
                DSA object GUID: 80e79743-3019-4a6a-9a15-fb777dbe33f7
                Last attempt @ Mon May 25 12:19:30 2015 EDT failed,
result 2 (WERR_BADFILE)
                816 consecutive failure(s).
                Last success @ NTTIME(0)

CN=Schema,CN=Configuration,DC=d,DC=oflameo,DC=com
        Default-First-Site-Name\SOOTHSAYER via RPC
                DSA object GUID: 80e79743-3019-4a6a-9a15-fb777dbe33f7
                Last attempt @ Mon May 25 12:19:30 2015 EDT failed,
result 2 (WERR_BADFILE)
                816 consecutive failure(s).
                Last success @ NTTIME(0)

CN=Configuration,DC=d,DC=oflameo,DC=com
        Default-First-Site-Name\SOOTHSAYER via RPC
                DSA object GUID: 80e79743-3019-4a6a-9a15-fb777dbe33f7
                Last attempt @ Mon May 25 12:19:30 2015 EDT failed,
result 2 (WERR_BADFILE)
                816 consecutive failure(s).
                Last success @ NTTIME(0)

==== KCC CONNECTION OBJECTS ====

Connection --
        Connection name: 861f02fa-a75d-48d6-9ac5-3c5fcf9db114
        Enabled        : TRUE
        Server DNS name : soothsayer.d.oflameo.com
        Server DN name  : CN=NTDS
Settings,CN=SOOTHSAYER,CN=Servers,CN=Default-First-Site-Name,C
N=Sites,CN=Configuration,DC=d,DC=oflameo,DC=com
                TransportType: RPC
                options: 0x00000001
Warning: No NC replicated for Connection!






More information about the samba mailing list