[Samba] oining_a_Samba_DC_to_an_Existing_Active_Directory

basti mailinglist at unix-solution.de
Thu Sep 14 12:51:08 UTC 2023

Hello I try to join a new dc to a domain like there:


Join is OK.

INFO 2023-09-14 14:46:12,558 pid:718 
/usr/lib/python3/dist-packages/samba/join.py #1599: Joined domain SAMDOM 
(SID S-1-5-21-.....) as a DC

But replication failed:

root at dc3:~# samba-tool drs showrepl
ERROR(<class 'samba.drs_utils.drsException'>): DRS connection to 
dc3.samdom.example.com failed - drsException: DRS connection to 
dc3.samdom.example.com failed: (3221226038, 'The transport-connection 
attempt was refused by the remote system.')
   File "/usr/lib/python3/dist-packages/samba/netcmd/drs.py", line 55, 
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/python3/dist-packages/samba/drs_utils.py", line 71, in 
     raise drsException("DRS connection to %s failed: %s" % (server, e))
root at dc3:~#

More information about the samba mailing list