1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/dsdb/common
Douglas Bagnall b37186cf91 s4:dsdb:util_trusts: simplify the NULL case in dns_cmp
In this comparison function a NULL string is treated as the ancestor
of all names, but you need to look hard to see that.

By pulling the logic for NULLs to the front, hopefully we have to look
less hard.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2024-05-07 23:25:35 +00:00
..
tests s4:dsdb: Use Builtin SID constant 2023-09-27 02:43:28 +00:00
dsdb_access.c s4/dsdb: try not to leak on access check failure 2023-10-26 01:24:32 +00:00
dsdb_dn.c s4:dsdb: fix spelling in comment 2024-04-23 01:33:29 +00:00
dsdb_dn.h s4:dsdb/common: rename DSDB_RMD_FLAG_INVISIBLE to DSDB_RMD_FLAG_HIDDEN_BL 2023-03-23 07:16:34 +00:00
rodc_helper.c Fix a few "might be uninitialized" errors 2024-04-23 19:02:10 +00:00
util_groups.c libcli/security: Rename sids_contains_sid() to sids_contains_sid_attrs() 2023-11-01 20:10:45 +00:00
util_links.c s4:dsdb: Add missing newlines to logging messages 2023-08-08 04:39:38 +00:00
util_links.h dsdb: make get_parsed_dns_trusted() a common helper function 2019-02-13 04:15:14 +01:00
util_samr.c s4:dsdb: Fix leaks 2023-05-16 23:29:32 +00:00
util_trusts.c s4:dsdb:util_trusts: simplify the NULL case in dns_cmp 2024-05-07 23:25:35 +00:00
util.c s4:dsdb: Implement DSDB_SEARCH_UPDATE_MANAGED_PASSWORDS search flag 2024-04-21 22:10:36 +00:00
util.h s4:dsdb: Add dsdb_werror() macro 2024-02-16 02:41:36 +00:00