[Samba] How to fix --cross-ncs errors
Andrew Bartlett
abartlet at samba.org
Fri Oct 31 04:28:53 MDT 2014
On Thu, 2014-10-23 at 08:17 -0400, James wrote:
> Hi Daniel,
>
> Upgraded from 4.11. to 4.13 last night. After running the
> --cross-ncs --fix I receive several of the following errors.
>
> ERROR: wrong
> dn[DC=HP57\0ACNF:180d6b3b-55b5-46e1-9a91-94870a250438,CN=Deleted
> Objects,DC=DomainDnsZones,DC=mydomain,DC=local]
> name='HP57\nDEL:180d6b3b-55b5-46e1-9a91-94870a250438'
> new_dn[DC=HP57\0ADEL:180d6b3b-55b5-46e1-9a91-94870a250438,CN=Deleted
> Objects,DC=DomainDnsZones,DC=mydomain,DC=local]
> Rename DC=HP57\0ACNF:180d6b3b-55b5-46e1-9a91-94870a250438,CN=Deleted
> Objects,DC=DomainDnsZones,DC=mydomain,DC=local to
> DC=HP57\0ADEL:180d6b3b-55b5-46e1-9a91-94870a250438,CN=Deleted
> Objects,DC=DomainDnsZones,DC=mydomain,DC=local? [y/N/all/none]
>
> Failed to rename object
> DC=HP57\0ACNF:180d6b3b-55b5-46e1-9a91-94870a250438,CN=Deleted
> Objects,DC=DomainDnsZones,DC=mydomain,DC=local into
> DC=HP57\0ADEL:180d6b3b-55b5-46e1-9a91-94870a250438,CN=Deleted
> Objects,DC=DomainDnsZones,DC=mydomain,DC=local : (64, 'objectclass:
> structural objectClass dnsNode is not a valid child class for CN=Deleted
> Objects,DC=DomainDnsZones,DC=mydomain,DC=local')
That is a very interesting bug. I'm not sure it is actually wrong to
have a conflict record there, and deleting it would seem to just be
making things worse - it got there for some reason.
It is also harmless, so I wouldn't worry too much until we can fix up
dbcheck. I may be back in contact for some details of the DB so I can
improve the test.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba
mailing list