[Samba] error during DRS repl ADD: No rDN found in replPropertyMetaData

Andrew Bartlett abartlet at samba.org
Fri May 27 22:00:06 UTC 2016


On Thu, 2016-05-19 at 13:58 +0100, ash-samba at comtek.co.uk wrote:
> I don't know if this is relevant ( Andrew Bartlett suggested "It is
> also 
> harmless, so I wouldn't worry too much until we can fix up
> dbcheck" in a similar case - 
> https://lists.samba.org/archive/samba/2014-October/186439.html ), but
> we 
> also the the following when running dbcheck --cross-ncs
> 
>  > 0 root at empire:/home/abc[0] samba-tool dbcheck --cross-ncs --fix
>  > Checking 18686 objects
>  > ERROR: wrong dn[DC=DEELR013,CN=Deleted 
> Objects,DC=DomainDnsZones,DC=chester-dc,DC=example,DC=com]
> dc='DEELR013' 
> name='DEELR013\nDEL:1fa8058d-c987-4518-958d-10352c93c28a' 
> new_dn[DC=DEELR013\0ADEL:1fa8058d-c987-4518-958d
> -10352c93c28a,CN=Deleted 
> Objects,DC=DomainDnsZones,DC=chester-dc,DC=example,DC=com]
>  > Rename DC=DEELR013,CN=Deleted 
> Objects,DC=DomainDnsZones,DC=chester-dc,DC=example,DC=com to 
> DC=DEELR013\0ADEL:1fa8058d-c987-4518-958d-10352c93c28a,CN=Deleted 
> Objects,DC=DomainDnsZones,DC=chester-dc,DC=example,DC=com?
> [y/N/all/none] y
>  > Failed to rename object DC=DEELR013,CN=Deleted 
> Objects,DC=DomainDnsZones,DC=chester-dc,DC=example,DC=com into 
> DC=DEELR013\0ADEL:1fa8058d-c987-4518-958d-10352c93c28a,CN=Deleted 
> Objects,DC=DomainDnsZones,DC=chester-dc,DC=example,DC=com : (64, 
> 'objectclass: structural objectClass dnsNode is not a valid child
> class 
> for CN=Deleted Objects,DC=DomainDnsZones,DC=chester
> -dc,DC=example,DC=com')
>  > Checked 18686 objects (1 errors)
> 
> Can anybody recommend our next course of action?

Please file a bug on this one.  I have a set of patches for this, and it is always good to have a real-world user bug to attach to it.  

As mentioned previously, it is harmless, but now that we can get it right, we should.  The patches may not be backported, but it will help tracking if we do.

Thanks!

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