dsdb: Improve missing objectClass handling
authorAndrew Bartlett <abartlet@samba.org>
Tue, 25 Mar 2014 23:46:57 +0000 (12:46 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Mar 2014 23:36:31 +0000 (00:36 +0100)
commit74a83be540c8fa0dd0f91da25b1f9d7ccc4ec568
tree4d2eeacfda7fdcf0c82678e38563284f6e38ec76
parentdf2ef57584aab81c75012ec5d878322ff0691608
dsdb: Improve missing objectClass handling

This attempts to permit deletion of objects that have no objectClass
to allow dbcheck to clean up a corrupt database.  It is not complete,
the replmd_replPropertyMetaDataCtr1_sort_and_verify() call will still
fail, but this is as much as is safe to do without a way to replicate
the original issue.

Andrew Bartlett

Change-Id: If0b6c7f18e8aee587e6b3b4af878a0145f5eac37
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c