mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
f61aabdb1a
We were returning -1 in all these cases:
ldb_dn_compare(dn, NULL);
ldb_dn_compare(NULL, dn);
ldb_dn_compare(NULL, NULL);
which would give strange results in sort, where this is often used.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15625
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
attrib_handlers.c | ||
ldb_attributes.c | ||
ldb_controls.c | ||
ldb_debug.c | ||
ldb_dn.c | ||
ldb_ldif.c | ||
ldb_match.c | ||
ldb_modules.c | ||
ldb_msg.c | ||
ldb_options.c | ||
ldb_pack.c | ||
ldb_parse.c | ||
ldb_utf8.c | ||
ldb.c | ||
qsort.c |