LDB:ldb_comparison_dn() - let "ldb_dn_compare()" perform all checks
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Tue, 4 Sep 2012 17:34:16 +0000 (19:34 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 5 Sep 2013 15:29:45 +0000 (17:29 +0200)
commitd8ec51d6d9d4d4dfdc693d81a0bfd71df866ca03
tree3891228936f138875cec414a29a960e2ca911d72
parentd2a4502cd1a07c962fe45efc87751c475e1905f9
LDB:ldb_comparison_dn() - let "ldb_dn_compare()" perform all checks

Special index entries can contain invalid DNs which are however
linearized. Allow to compare them correctly and do not bail out
prematurely using ldb_dn_validate().

Such special DNs are created at the time of provisioning.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=8929

Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/common/attrib_handlers.c