[Samba] samba-tool domain ldapcmp compared failed

Vinicius Lehmann viniciuslehmann at gmail.com
Mon Dec 19 18:01:21 UTC 2016


Thanks @Rowland

2016-12-19 15:55 GMT-02:00 Rowland Penny via samba <samba at lists.samba.org>:

> On Mon, 19 Dec 2016 15:44:26 -0200
> Vinicius Lehmann via samba <samba at lists.samba.org> wrote:
>
> > Hi,
> >
> > Well, I joined a new DC on my domain and when run "ldapcmp" it
> > reported errors. I follow Samba wiki to Joining a Samba to an
> > Existing Active Directory.
> >
> > * Comparing [DNSFOREST] context...
> >
> > * Objects to be compared: 18
> >
> > Comparing:
> > 'CN=Infrastructure,DC=ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'CN=Infrastructure,DC=ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         cn
> >     Attributes found only in ldap://aquarius:
> >         CN
> >     FAILED
> >
> > Comparing:
> > 'CN=LostAndFound,DC=ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'CN=LostAndFound,DC=ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         cn
> >     Attributes found only in ldap://aquarius:
> >         CN
> >     FAILED
> >
> > Comparing:
> > 'CN=MicrosoftDNS,DC=ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'CN=MicrosoftDNS,DC=ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         cn
> >     Attributes found only in ldap://aquarius:
> >         CN
> >     FAILED
> >
> > Comparing:
> > 'CN=NTDS Quotas,DC=ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'CN=NTDS Quotas,DC=ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         cn
> >     Attributes found only in ldap://aquarius:
> >         CN
> >     FAILED
> >
> > Comparing:
> > 'DC=2432afec-7543-42dc-88d5-2b6f3321544b,DC=_msdcs.dom.city10.com.br
> ,CN=MicrosoftDNS,DC=ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'DC=2432afec-7543-42dc-88d5-2b6f3321544b,DC=_msdcs.dom.city10.com.br
> ,CN=MicrosoftDNS,DC=ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         dc
> >     Attributes found only in ldap://aquarius:
> >         DC
> >     FAILED
> >
> > Comparing:
> > 'DC=266a2bf2-d45f-47d9-a67d-94f01f7f544c,DC=_msdcs.dom.city10.com.br
> ,CN=MicrosoftDNS,DC=ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'DC=266a2bf2-d45f-47d9-a67d-94f01f7f544c,DC=_msdcs.dom.city10.com.br
> ,CN=MicrosoftDNS,DC=ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         dc
> >     Attributes found only in ldap://aquarius:
> >         DC
> >     FAILED
> >
> > Comparing:
> > 'DC=@,DC=_msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=
> ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'DC=@,DC=_msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=
> ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         dc
> >     Attributes found only in ldap://aquarius:
> >         DC
> >     FAILED
> >
> > Comparing:
> > 'DC=ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br' [ldap://artemis]
> > 'DC=ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br' [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         dc
> >     Attributes found only in ldap://aquarius:
> >         DC
> >     FAILED
> >
> > Comparing:
> > 'DC=_kerberos._tcp.Default-First-Site-Name._sites.dc,DC=_
> > msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=ForestDnsZones,DC=dom,DC=
> city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'DC=_kerberos._tcp.Default-First-Site-Name._sites.dc,DC=_
> > msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=ForestDnsZones,DC=dom,DC=
> city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         dc
> >     Attributes found only in ldap://aquarius:
> >         DC
> >     FAILED
> >
> > Comparing:
> > 'DC=_kerberos._tcp.dc,DC=_msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=
> ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'DC=_kerberos._tcp.dc,DC=_msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=
> ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         dc
> >     Attributes found only in ldap://aquarius:
> >         DC
> >     FAILED
> >
> > Comparing:
> > 'DC=_ldap._tcp.8743781e-60d2-4b3c-bcbe-6488888adc99.domains,DC=_
> > msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=ForestDnsZones,DC=dom,DC=
> city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'DC=_ldap._tcp.8743781e-60d2-4b3c-bcbe-6488888adc99.domains,DC=_
> > msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=ForestDnsZones,DC=dom,DC=
> city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         dc
> >     Attributes found only in ldap://aquarius:
> >         DC
> >     FAILED
> >
> > Comparing:
> > 'DC=_ldap._tcp.Default-First-Site-Name._sites.dc,DC=_msdcs.
> dom.city10.com.br,CN=MicrosoftDNS,DC=ForestDnsZones,DC=dom,DC=
> city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'DC=_ldap._tcp.Default-First-Site-Name._sites.dc,DC=_msdcs.
> dom.city10.com.br,CN=MicrosoftDNS,DC=ForestDnsZones,DC=dom,DC=
> city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         dc
> >     Attributes found only in ldap://aquarius:
> >         DC
> >     FAILED
> >
> > Comparing:
> > 'DC=_ldap._tcp.Default-First-Site-Name._sites.gc,DC=_msdcs.
> dom.city10.com.br,CN=MicrosoftDNS,DC=ForestDnsZones,DC=dom,DC=
> city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'DC=_ldap._tcp.Default-First-Site-Name._sites.gc,DC=_msdcs.
> dom.city10.com.br,CN=MicrosoftDNS,DC=ForestDnsZones,DC=dom,DC=
> city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         dc
> >     Attributes found only in ldap://aquarius:
> >         DC
> >     FAILED
> >
> > Comparing:
> > 'DC=_ldap._tcp.dc,DC=_msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=
> ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'DC=_ldap._tcp.dc,DC=_msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=
> ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         dc
> >     Attributes found only in ldap://aquarius:
> >         DC
> >     FAILED
> >
> > Comparing:
> > 'DC=_ldap._tcp.gc,DC=_msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=
> ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'DC=_ldap._tcp.gc,DC=_msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=
> ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         dc
> >     Attributes found only in ldap://aquarius:
> >         DC
> >     FAILED
> >
> > Comparing:
> > 'DC=_ldap._tcp.pdc,DC=_msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=
> ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'DC=_ldap._tcp.pdc,DC=_msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=
> ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         dc
> >     Attributes found only in ldap://aquarius:
> >         DC
> >     FAILED
> >
> > Comparing:
> > 'DC=_msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=
> ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'DC=_msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=
> ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         dc
> >     Attributes found only in ldap://aquarius:
> >         DC
> >     FAILED
> >
> > Comparing:
> > 'DC=gc,DC=_msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=
> ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://artemis]
> > 'DC=gc,DC=_msdcs.dom.city10.com.br,CN=MicrosoftDNS,DC=
> ForestDnsZones,DC=dom,DC=city10,DC=com,DC=br'
> > [ldap://aquarius]
> >     Attributes found only in ldap://artemis:
> >         dc
> >     Attributes found only in ldap://aquarius:
> >         DC
> >     FAILED
> >
> > * Result for [DNSFOREST]: FAILURE
> >
> > SUMMARY
> > ---------
> >
> > Attributes found only in ldap://artemis:
> >
> >     cn
> >     dc
> >
> > Attributes found only in ldap://aquarius:
> >
> >     CN
> >     DC
> > ERROR: Compare failed: -1
> >
> >
> > Can someone help me?
> >
> >
>
> You can ignore it, it doesn't seem to affect how the DC works, there is
> also bug report:
>
> https://bugzilla.samba.org/show_bug.cgi?id=12399
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba




-- 
Vinicius da Silva Lehmann
*Analista de TI - City10*
*MCP - Microsoft Certified Professional*


More information about the samba mailing list