[Samba] Problems with samba 4.6.3

Marcio Demetrio Bacci marciobacci at gmail.com
Mon May 15 22:41:03 UTC 2017


I have two DC with Samba 4.2.1 and now I have set up a third DC with Samba
4.6.3. I have executed the command: samba-tool domain join empresa.com.br
DC -U "EMPRESA\administrator" --dns-backend = SAMBA_INTERNAL

And everything went well, however with the command: samba-tool drs showrepl

The following message appears:


root at dc3:/home/marcio# /usr/local/samba/bin/samba-tool drs showrepl
Failed to bind to uuid e3514235-4b06-11d1-ab04-00c04fc2dcd2 for
ncacn_ip_tcp:192.168.0.36[1024,seal,target_hostname=dc3.empresa.com.br,abstract_syntax=e3514235-4b06-11d1-ab04-00c04fc2dcd2/0x00000004,localaddress=192.168.0.36]
NT_STATUS_LOGON_FAILURE
ERROR(<class 'samba.drs_utils.drsException'>): DRS connection to
dc3.empresa.com.br failed - drsException: DRS connection to
dc3.empresa.com.br failed: (-1073741715, 'Logon failure')
  File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/drs.py",
line 41, in drsuapi_connect
    (ctx.drsuapi, ctx.drsuapi_handle, ctx.bind_supported_extensions) =
drs_utils.drsuapi_connect(ctx.server, ctx.lp, ctx.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 dc3:/home/marcio# /usr/local/samba/bin/samba-tool drs showrepl
Failed to bind to uuid e3514235-4b06-11d1-ab04-00c04fc2dcd2 for
ncacn_ip_tcp:192.168.0.36[1024,seal,target_hostname=dc3.empresa.com.br,abstract_syntax=e3514235-4b06-11d1-ab04-00c04fc2dcd2/0x00000004,localaddress=192.168.0.36]
NT_STATUS_LOGON_FAILURE
ERROR(<class 'samba.drs_utils.drsException'>): DRS connection to
dc3.empresa.com.br failed - drsException: DRS connection to
dc3.empresa.com.br failed: (-1073741715, 'Logon failure')
  File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/drs.py",
line 41, in drsuapi_connect
    (ctx.drsuapi, ctx.drsuapi_handle, ctx.bind_supported_extensions) =
drs_utils.drsuapi_connect(ctx.server, ctx.lp, ctx.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))

Can anybody help me?

Regards,

Márcio


More information about the samba mailing list