[Samba] Samba 4 -samba tool issue ?

Bogdan Benea Bogdan.Benea at vauban.ro
Wed Dec 19 08:39:46 MST 2012


Hello guys

I've setup a W2k8 R2 PDC with a samba 4 on SL6 as another domain controller for testing. My issues is this: samba joins the domain , adding users on both samba and windows machine works and replication between the machine works. But when I use samba-tool drs showrepl I get this error

ERROR(<class 'samba.drs_utils.drsException'>): DRS connection to dcb.test.local failed - drsException: DRS connection to dcb.test.local failed: (-1073741772, 'NT_STATUS_OBJECT_NAME_NOT_FOUND')
  File "/usr/local/samba/lib/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/local/samba/lib/python2.6/site-packages/samba/drs_utils.py", line 54, in drsuapi_connect
    raise drsException("DRS connection to %s failed: %s" % (server,

I've run repadmin /kcc on the windows machine and the consistency check on samba machine.
What is the error I'm making ?

Thks in advance
Bogdan Benea



More information about the samba mailing list