ldb_tdb: Refuse to re-index very old database with no DN in the record
authorAndrew Bartlett <abartlet@samba.org>
Thu, 10 Aug 2017 05:08:54 +0000 (17:08 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 7 Sep 2017 04:56:27 +0000 (06:56 +0200)
commit01c49b1a3561decdb10b5273d96d68d8e3d2b178
treef81a4de86a9c20a8e02875d5ecdc84707a317ad9
parent54636011223ff350e172d52de302bcfcc5a0114a
ldb_tdb: Refuse to re-index very old database with no DN in the record

These are not found on any AD DC, and would segfault previous LDB
versions.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13015

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb/ldb_tdb/ldb_index.c