1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00
Douglas Bagnall 5fe488d515 ldb:dn: make ldb_dn_compare() self-consistent
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>
2024-04-23 01:33:29 +00:00
..
2022-02-24 09:15:34 +00:00
2023-10-25 22:23:37 +00:00
2020-07-02 10:38:34 +00:00
2018-05-23 02:27:12 +02:00
2023-04-05 02:10:35 +00:00
2023-04-11 09:06:35 +00:00
2023-10-25 22:23:37 +00:00
2023-04-11 09:06:35 +00:00
2023-04-04 07:31:36 +00:00
2024-04-21 22:10:35 +00:00