dsdb: Improve missing objectClass handling
commit87b40d4861719fa4848dd7f71ffd7f5afd2d0516
authorAndrew Bartlett <abartlet@samba.org>
Tue, 25 Mar 2014 23:46:57 +0000 (26 12:46 +1300)
committerKarolin Seeger <kseeger@samba.org>
Tue, 15 Jul 2014 10:46:15 +0000 (15 12:46 +0200)
treecb994c6ca4d25ba784605576ffe253e361c68e60
parent56caec5a068510287dfdc2f975b20581a2810212
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>
(cherry picked from commit 74a83be540c8fa0dd0f91da25b1f9d7ccc4ec568)
source4/dsdb/samdb/ldb_modules/repl_meta_data.c