Hi , I 've been trying to get my 2 Samba DCs to replicate between each other but it fails DC1: Freebsd-9.1-Release, Samba 4.02, hostname ldap1, objectGUID: a2454bb4-9f94-4879-a5ff-c1a40537cb5e DC2: Freebsd-9.1-Release, Samba 4.02, hostname ldap2, objectGUID: 0103c98e-0b54-4ca4-a4e5-2259fa6b0563 ===the output showrepl command=========[root at ldap1 ~]# samba-tool drs showrepl Default-First-Site-Name\LDAP1 DSA Options: 0x00000001 DSA object GUID: 0103c98e-0b54-4ca4-a4e5-2259fa6b0563 DSA invocationId: d9975fad-ca2d-447d-8138-0fd5957f8fa3 ==== INBOUND NEIGHBORS ===ERROR(runtime): DsReplicaGetInfo of type 0 failed - (-1073610723, 'NT_STATUS_RPC_PROTOCOL_ERROR') =============================== ===the output host -t ===[root at ldap1 ~]# host -t CNAME 0103c98e-0b54-4ca4-a4e5-2259fa6b0563._msdcs.prefeitura.unicamp.br. 0103c98e-0b54-4ca4-a4e5-2259fa6b0563._msdcs.prefeitura.unicamp.br is an alias for ldap1.prefeitura.unicamp.br. 0103c98e-0b54-4ca4-a4e5-2259fa6b0563._msdcs.prefeitura.unicamp.br is an alias for dc1.prefeitura.unicamp.br. [root at ldap1 ~]# ===the output host -t ===[root at ldap1 ~]# host -t CNAME a2454bb4-9f94-4879-a5ff-c1a40537cb5e._msdcs.prefeitura.unicamp.br. a2454bb4-9f94-4879-a5ff-c1a40537cb5e._msdcs.prefeitura.unicamp.br is an alias for ldap2.prefeitura.unicamp.br. [root at ldap1 ~]# === the log error on DC1====dns child failed to find name 'a2454bb4-9f94-4879-a5ff-c1a40537cb5e._msdcs.prefeitura.unicamp.br' of type A === the log error on DC2 ====dns child failed to find name '0103c98e-0b54-4ca4-a4e5-2259fa6b0563._msdcs.prefeitura.unicamp.br' of type A I followed step-by-step the Samba 4 Wiki and I don't know whats wrong. Any ideas ? Thanks ! -- Ricardo Suguita Analista de Redes CSCO11723146 Prefeitura Unicamp Ramal 14619 // Fone +55(19)3521-4619 http://www.prefeitura.unicamp.br Cidade Universit?ria Zeferino Vaz Rua Roxo Moreira, 1831 Campinas, SP ? Brasil
Do yo use port version of Samba4? If not - why? On Thu, Feb 28, 2013 at 4:50 PM, Ricardo Suguita <rsuguita at unicamp.br>wrote:> Hi , > > I 've been trying to get my 2 Samba DCs to replicate between each other > but it fails > > DC1: Freebsd-9.1-Release, Samba 4.02, hostname ldap1, objectGUID: > a2454bb4-9f94-4879-a5ff-**c1a40537cb5e > DC2: Freebsd-9.1-Release, Samba 4.02, hostname ldap2, objectGUID: > 0103c98e-0b54-4ca4-a4e5-**2259fa6b0563 > > ===the output showrepl command=========> [root at ldap1 ~]# samba-tool drs showrepl > Default-First-Site-Name\LDAP1 > DSA Options: 0x00000001 > DSA object GUID: 0103c98e-0b54-4ca4-a4e5-**2259fa6b0563 > DSA invocationId: d9975fad-ca2d-447d-8138-**0fd5957f8fa3 > ==== INBOUND NEIGHBORS ===> ERROR(runtime): DsReplicaGetInfo of type 0 failed - (-1073610723, > 'NT_STATUS_RPC_PROTOCOL_ERROR'**) > ==============================**=> > ===the output host -t ===> [root at ldap1 ~]# host -t CNAME 0103c98e-0b54-4ca4-a4e5-**2259fa6b0563._ > msdcs.**prefeitura.unicamp.br <http://msdcs.prefeitura.unicamp.br>. > 0103c98e-0b54-4ca4-a4e5-**2259fa6b0563._msdcs.**prefeitura.unicamp.br<http://msdcs.prefeitura.unicamp.br>is an alias for > ldap1.prefeitura.unicamp.br. > 0103c98e-0b54-4ca4-a4e5-**2259fa6b0563._msdcs.**prefeitura.unicamp.br<http://msdcs.prefeitura.unicamp.br>is an alias for > dc1.prefeitura.unicamp.br. > [root at ldap1 ~]# > > ===the output host -t ===> [root at ldap1 ~]# host -t CNAME a2454bb4-9f94-4879-a5ff-**c1a40537cb5e._ > msdcs.**prefeitura.unicamp.br <http://msdcs.prefeitura.unicamp.br>. > a2454bb4-9f94-4879-a5ff-**c1a40537cb5e._msdcs.**prefeitura.unicamp.br<http://msdcs.prefeitura.unicamp.br>is an alias for > ldap2.prefeitura.unicamp.br. > [root at ldap1 ~]# > > === the log error on DC1====> dns child failed to find name 'a2454bb4-9f94-4879-a5ff-**c1a40537cb5e._ > msdcs.**prefeitura.unicamp.br <http://msdcs.prefeitura.unicamp.br>' of > type A > > === the log error on DC2 ====> dns child failed to find name '0103c98e-0b54-4ca4-a4e5-**2259fa6b0563._ > msdcs.**prefeitura.unicamp.br <http://msdcs.prefeitura.unicamp.br>' of > type A > > > I followed step-by-step the Samba 4 Wiki and I don't know whats wrong. > Any ideas ? > > Thanks ! > > -- > Ricardo Suguita > Analista de Redes > CSCO11723146 > Prefeitura Unicamp > Ramal 14619 // Fone +55(19)3521-4619 > http://www.prefeitura.unicamp.**br <http://www.prefeitura.unicamp.br> > Cidade Universit?ria Zeferino Vaz > Rua Roxo Moreira, 1831 > Campinas, SP ? Brasil > > -- > 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> >
I changed my /etc/krb5.conf but the replication still fails. Thanks! On 28-02-2013 13:02, Johan Johansson wrote:> I had similar problems and resolved it by making sure my /etc/krb5.conf got > updated to this (change realm to your realm): > > [libdefaults] > default_realm = CORP.LO > dns_lookup_realm = true > dns_lookup_kdc = true > > > On Thu, Feb 28, 2013 at 4:50 PM, Ricardo Suguita <rsuguita at unicamp.br>wrote: > >> Hi , >> >> I 've been trying to get my 2 Samba DCs to replicate between each other >> but it fails >> >> DC1: Freebsd-9.1-Release, Samba 4.02, hostname ldap1, objectGUID: >> a2454bb4-9f94-4879-a5ff-**c1a40537cb5e >> DC2: Freebsd-9.1-Release, Samba 4.02, hostname ldap2, objectGUID: >> 0103c98e-0b54-4ca4-a4e5-**2259fa6b0563 >> >> ===the output showrepl command=========>> [root at ldap1 ~]# samba-tool drs showrepl >> Default-First-Site-Name\LDAP1 >> DSA Options: 0x00000001 >> DSA object GUID: 0103c98e-0b54-4ca4-a4e5-**2259fa6b0563 >> DSA invocationId: d9975fad-ca2d-447d-8138-**0fd5957f8fa3 >> ==== INBOUND NEIGHBORS ===>> ERROR(runtime): DsReplicaGetInfo of type 0 failed - (-1073610723, >> 'NT_STATUS_RPC_PROTOCOL_ERROR'**) >> ==============================**=>> >> ===the output host -t ===>> [root at ldap1 ~]# host -t CNAME 0103c98e-0b54-4ca4-a4e5-**2259fa6b0563._ >> msdcs.**prefeitura.unicamp.br <http://msdcs.prefeitura.unicamp.br>. >> 0103c98e-0b54-4ca4-a4e5-**2259fa6b0563._msdcs.**prefeitura.unicamp.br<http://msdcs.prefeitura.unicamp.br>is an alias for >> ldap1.prefeitura.unicamp.br. >> 0103c98e-0b54-4ca4-a4e5-**2259fa6b0563._msdcs.**prefeitura.unicamp.br<http://msdcs.prefeitura.unicamp.br>is an alias for >> dc1.prefeitura.unicamp.br. >> [root at ldap1 ~]# >> >> ===the output host -t ===>> [root at ldap1 ~]# host -t CNAME a2454bb4-9f94-4879-a5ff-**c1a40537cb5e._ >> msdcs.**prefeitura.unicamp.br <http://msdcs.prefeitura.unicamp.br>. >> a2454bb4-9f94-4879-a5ff-**c1a40537cb5e._msdcs.**prefeitura.unicamp.br<http://msdcs.prefeitura.unicamp.br>is an alias for >> ldap2.prefeitura.unicamp.br. >> [root at ldap1 ~]# >> >> === the log error on DC1====>> dns child failed to find name 'a2454bb4-9f94-4879-a5ff-**c1a40537cb5e._ >> msdcs.**prefeitura.unicamp.br <http://msdcs.prefeitura.unicamp.br>' of >> type A >> >> === the log error on DC2 ====>> dns child failed to find name '0103c98e-0b54-4ca4-a4e5-**2259fa6b0563._ >> msdcs.**prefeitura.unicamp.br <http://msdcs.prefeitura.unicamp.br>' of >> type A >> >> >> I followed step-by-step the Samba 4 Wiki and I don't know whats wrong. >> Any ideas ? >> >> Thanks ! >> >> -- >> Ricardo Suguita >> Analista de Redes >> CSCO11723146 >> Prefeitura Unicamp >> Ramal 14619 // Fone +55(19)3521-4619 >> http://www.prefeitura.unicamp.**br <http://www.prefeitura.unicamp.br> >> Cidade Universit?ria Zeferino Vaz >> Rua Roxo Moreira, 1831 >> Campinas, SP ? Brasil >> >> -- >> 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> >> > >-- Ricardo Suguita Analista de Redes CSCO11723146 Prefeitura Unicamp Ramal 14619 // Fone +55(19)3521-4619 http://www.prefeitura.unicamp.br Cidade Universit?ria Zeferino Vaz Rua Roxo Moreira, 1831 Campinas, SP ? Brasil