Need urgent help with samba4 DC re-join

Andrew Bartlett abartlet at samba.org
Wed Jun 27 06:26:14 MDT 2012


On Wed, 2012-06-27 at 14:12 +0200, Andreas Oster wrote:
> Am 27.06.2012 12:21, schrieb Andrew Bartlett:
> > On Wed, 2012-06-27 at 08:21 +0200, Andreas Oster wrote:
> >> Hello all,
> >>
> >> today I have tried to fix replication of ForestDnsZones and
> >> DomainDnsZones. I pulled the current sources from GIT and recompiled
> >> samba4. After installation I demoted the second DC, which completed
> >> without any errors. Afterwards I have tried to re-join the server but
> >> this is constantly failing. I have attached the d3 output of the join
> >> attempt.
> >>
> >> In the PDC log.samba the following error comes up when joining of the
> >> second DC failes:
> >>
> >> [2012/06/27 08:13:30,  0] ../source4/dsdb/common/util.c:2689(dsdb_savereps)
> >>   Failed to store repsTo - objectclass_attrs: attribute 'dc' on entry
> >> 'DC=DomainDnsZones,DC=novanetwork,DC=loc' does not exist in the
> >> specified objectclasses!
> >> [2012/06/27 08:13:30,  0]
> >> ../source4/rpc_server/drsuapi/updaterefs.c:154(drsuapi_UpdateRefs)
> >>   Failed to delete repsTo for d54eb180-fd57-4629-8f8f-bb48373a8daa:
> >> WERR_DS_DRA_INTERNAL_ERROR
> >>
> >>
> >> Stupid as I am, I did this on the productive system :-(
> > 
> > Can you show us the full ldif for that DN on your PDC?
> > 
> > ldbsearch -H sam.ldb -s base -b DC=DomainDnsZones,DC=novanetwork,DC=loc
> > * objectClass repsFrom repsTo
> > 
> > Thanks,
> > 
> > Andrew Bartlett
> > 
> Hello Andrew,
> 
> thank you for the fast response.
> 
> Here is what ldbsearch returns:
> 
> # record 1
> dn: DC=DomainDnsZones,DC=novanetwork,DC=loc
> objectClass: top

OK, so that is your fundamental issue.  The correct objectClass is
domainDNS.  

This may be due to a stub object (an object which indicates that a full
partition should be created below).  Where and how was the DNS first
created?

Can you show me:
ldbsearch -H sam.ldb -s base -b ""

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list