BOTZ Franck (Informaticien) - DDT 67/SG/MGI/CI
2013-Feb-20 14:44 UTC
[Samba] Error in DRS Showrepl
Hi.
Here is my problem.
I have 2 DC (DC1, DC2)
From DC1 I run samba-tool drs showrepl DC1
-------------------------------------------------------------------------------------
INBOUND NEIGHBORS : OK
OUTBOUND NEIGHBORS : OK
==== KCC CONNECTION OBJECTS ===
Connection --
Connection name: 179ef6ba-a138-46d7-9a64-880ab4608b04
Enabled : TRUE
Server DNS name : DC2.SHORTDOMAIN.LOCAL
Server DN name : CN=NTDS
Settings,CN=DC2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=SHORTDOMAIN,DC=LOCAL
TransportType: RPC
options: 0x00000001
Warning: No NC replicated for Connection!
-------------------------------------------------------------------------------------
From DC1 I run samba-tool drs showrepl DC2
-------------------------------------------------------------------------------------
INBOUND NEIGHBORS : OK
OUTBOUND NEIGHBORS : OK
==== KCC CONNECTION OBJECTS ===
Connection --
Connection name: 27614816-0679-43a7-8c2e-41d36d98930a
Enabled : TRUE
Server DNS name : DC1.SHORTDOMAIN.LOCAL
Server DN name : CN=NTDS
Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=SHORTDOMAIN,DC=LOCAL
TransportType: RPC
options: 0x00000001
Warning: No NC replicated for Connection!
-------------------------------------------------------------------------------------
Why those warnings ?
From DC2 i run samba-tool drs showrepl DC2
-------------------------------------------------------------------------------------
INBOUND NEIGHBORS : OK
OUTBOUND NEIGHBORS : OK
==== KCC CONNECTION OBJECTS ===
Connection --
Connection name: 27614816-0679-43a7-8c2e-41d36d98930a
Enabled : TRUE
Server DNS name : DC1.SHORTDOMAIN.LOCAL
Server DN name : CN=NTDS
Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=SHORTDOMAIN,DC=LOCAL
TransportType: RPC
options: 0x00000001
Warning: No NC replicated for Connection!
-------------------------------------------------------------------------------------
From DC2 I run samba-tool drs showrepl DC1
Failed to bind to uuid e3514235-4b06-11d1-ab04-00c04fc2dcd2 for
e3514235-4b06-11d1-ab04-00c04fc2dcd2 at ncacn_ip_tcp:DC1[1024,seal]
NT_STATUS_UNSUCCESSFUL
ERROR(<class 'samba.drs_utils.drsException'>): DRS connection to
DC1
failed - drsException: DRS connection to DC1 failed: (-1073741823,
'Undetermined error')
File "/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 "/samba/lib/python2.6/site-packages/samba/drs_utils.py", line
54, in drsuapi_connect
raise drsException("DRS connection to %s failed: %s" % (server,
e))
What's that ??
Regards
Franck
On DC2 do you have nameserver ip.to.dc.1 in your /etc/resolv.conf ? Also the Warnings are just that, a warning, they are safe to ignore. (I have them on mine, and my replication works fine.) Ricky On Wed, Feb 20, 2013 at 8:44 AM, BOTZ Franck (Informaticien) - DDT 67/SG/MGI/CI <franck.botz at bas-rhin.gouv.fr> wrote:> Hi. > > Here is my problem. > > I have 2 DC (DC1, DC2) > > From DC1 I run samba-tool drs showrepl DC1 > ------------------------------**------------------------------** > ------------------------- > INBOUND NEIGHBORS : OK > OUTBOUND NEIGHBORS : OK > > ==== KCC CONNECTION OBJECTS ===> > Connection -- > Connection name: 179ef6ba-a138-46d7-9a64-**880ab4608b04 > Enabled : TRUE > Server DNS name : DC2.SHORTDOMAIN.LOCAL > Server DN name : CN=NTDS Settings,CN=DC2,CN=Servers,CN=** > Default-First-Site-Name,CN=**Sites,CN=Configuration,DC=** > SHORTDOMAIN,DC=LOCAL > TransportType: RPC > options: 0x00000001 > Warning: No NC replicated for Connection! > ------------------------------**------------------------------** > ------------------------- > > From DC1 I run samba-tool drs showrepl DC2 > ------------------------------**------------------------------** > ------------------------- > INBOUND NEIGHBORS : OK > OUTBOUND NEIGHBORS : OK > > ==== KCC CONNECTION OBJECTS ===> > Connection -- > Connection name: 27614816-0679-43a7-8c2e-**41d36d98930a > Enabled : TRUE > Server DNS name : DC1.SHORTDOMAIN.LOCAL > Server DN name : CN=NTDS Settings,CN=DC1,CN=Servers,CN=** > Default-First-Site-Name,CN=**Sites,CN=Configuration,DC=** > SHORTDOMAIN,DC=LOCAL > TransportType: RPC > options: 0x00000001 > Warning: No NC replicated for Connection! > ------------------------------**------------------------------** > ------------------------- > > Why those warnings ? > > From DC2 i run samba-tool drs showrepl DC2 > ------------------------------**------------------------------** > ------------------------- > INBOUND NEIGHBORS : OK > OUTBOUND NEIGHBORS : OK > > ==== KCC CONNECTION OBJECTS ===> > Connection -- > Connection name: 27614816-0679-43a7-8c2e-**41d36d98930a > Enabled : TRUE > Server DNS name : DC1.SHORTDOMAIN.LOCAL > Server DN name : CN=NTDS Settings,CN=DC1,CN=Servers,CN=** > Default-First-Site-Name,CN=**Sites,CN=Configuration,DC=** > SHORTDOMAIN,DC=LOCAL > TransportType: RPC > options: 0x00000001 > Warning: No NC replicated for Connection! > ------------------------------**------------------------------** > ------------------------- > > From DC2 I run samba-tool drs showrepl DC1 > > Failed to bind to uuid e3514235-4b06-11d1-ab04-**00c04fc2dcd2 for > e3514235-4b06-11d1-ab04-**00c04fc2dcd2 at ncacn_ip_tcp:DC1[**1024,seal] > NT_STATUS_UNSUCCESSFUL > ERROR(<class 'samba.drs_utils.drsException'**>): DRS connection to DC1 > failed - drsException: DRS connection to DC1 failed: (-1073741823, > 'Undetermined error') > File "/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 "/samba/lib/python2.6/site-**packages/samba/drs_utils.py", line > 54, in drsuapi_connect > raise drsException("DRS connection to %s failed: %s" % (server, e)) > > What's that ?? > > Regards > > Franck > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/**mailman/options/samba<https://lists.samba.org/mailman/options/samba> >--
It is !! Thanks !! But what about that :>From DC2 I run samba-tool drs showrepl DC1Failed to bind to uuid e3514235-4b06-11d1-ab04-**00c04fc2dcd2 for e3514235-4b06-11d1-ab04-**00c04fc2dcd2 at ncacn_ip_tcp:DC1[**1024,seal] NT_STATUS_UNSUCCESSFUL ERROR(<class 'samba.drs_utils.drsException'**>): DRS connection to DC1 failed - drsException: DRS connection to DC1 failed: (-1073741823, 'Undetermined error') File "/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 "/samba/lib/python2.6/site-**packages/samba/drs_utils.py", line 54, in drsuapi_connect raise drsException("DRS connection to %s failed: %s" % (server, e))