unable to add replication for ForestDnsZones and DomainDnsZones

Carlos Miguel Bustillo Rodriguez cbustillo at uclv.edu.cu
Tue Jul 3 11:55:37 MDT 2012


on the second dc you must run:

./samba-tool drs replicate dc02.example.local dc01.example.local  DC=DomainDnsZones,DC=example,DC=local --local
./samba-tool drs replicate dc02.example.local dc01.example.local  DC=ForestDnsZones,DC=example,DC=local --local

Note that your Samba dc01 and dc02 must running, and is  DomainDnsZones and ForestDnsZones not DOMAINDNSZONES...
______________________________________
From: Andreas Oster [aoster at novanetwork.de]
Sent: Sunday, June 17, 2012 0:52
To: samba-technical at lists.samba.org
Subject: Re: unable to add replication for ForestDnsZones and DomainDnsZones

Am 16.06.2012 18:19, schrieb Andreas Oster:
> Hi all,
>
> I am trying to setup DRS replication of the ForestDnsZones
> and DomainDnsZones between two samba4 DCs but get errors when issuing
> the following command on primary DC dc01 (running DNS server):
>
> ./samba-tool drs replicate dc02.example.local dc01.example.local
> 'DC=DomainDnsZones,DC=example,DC=local" -d3
>
> lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf
> params.c:pm_process() - Processing configuration file
> "/usr/local/samba/etc/smb.conf"
> ldb_wrap open of secrets.ldb
> GENSEC backend 'gssapi_spnego' registered
> GENSEC backend 'gssapi_krb5' registered
> GENSEC backend 'gssapi_krb5_sasl' registered
> GENSEC backend 'schannel' registered
> GENSEC backend 'spnego' registered
> GENSEC backend 'ntlmssp' registered
> GENSEC backend 'krb5' registered
> GENSEC backend 'fake_gssapi_krb5' registered
> Using binding ncacn_ip_tcp:dc02.example.local[,seal]
> ERROR(<class 'samba.drs_utils.drsException'>): DsReplicaSync failed -
> drsException: DsReplicaSync failed (8442, 'WERR_DS_DRA_INTERNAL_ERROR')
>   File
> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/drs.py", line
> 331, in run
>     drs_utils.sendDsReplicaSync(self.drsuapi, self.drsuapi_handle,
> source_dsa_guid, NC, req_options)
>   File
> "/usr/local/samba/lib/python2.7/site-packages/samba/drs_utils.py", line
> 83, in sendDsReplicaSync
>     raise drsException("DsReplicaSync failed %s" % estr)
>
>
> Does anybody have an idea what could the cause of this ?
>
> Samba4 version: samba version 4.0.0beta2-GIT-bbb7cbf
>
> Thank you for your kind help
>
> best regards
>
> Andreas
>
>
Hi all,

I am still trying to setup replication of  ForestDnsZones and
DomainDnsZones but regardless of what I try and how I enter the command
it always throws the same error message:

lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf
params.c:pm_process() - Processing configuration file
"/usr/local/samba/etc/smb.conf"
ldb_wrap open of secrets.ldb
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'schannel' registered
GENSEC backend 'spnego' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
Using binding ncacn_ip_tcp:dc02.example.local[,seal]
ERROR(<class 'samba.drs_utils.drsException'>): DsReplicaSync failed -
drsException: DsReplicaSync failed (8442, 'WERR_DS_DRA_INTERNAL_ERROR')
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/drs.py", line
331, in run
    drs_utils.sendDsReplicaSync(self.drsuapi, self.drsuapi_handle,
source_dsa_guid, NC, req_options)
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/drs_utils.py", line
83, in sendDsReplicaSync
    raise drsException("DsReplicaSync failed %s" % estr)



Is this part of the code currently not working or do I enter the command
in the wrong way ?

Thank you for your kind help

best regards

Andreas



La Universidad Central "Marta Abreu" de Las Villas en su 60 Aniversario. Fundada el 30 de noviembre de 1952. Vis?tenos en:  http://www.uclv.edu.cu




More information about the samba-technical mailing list