mirror of
https://github.com/samba-team/samba.git
synced 2025-01-29 21:47:30 +03:00
97b026a73f
This change ensures we walk the short list and look up into the longer of the two lists. ltdb_dn_list_find_val() will do a binary search for the GUID case. Before GUID indexes this was O(n*m), now it is O(n*log(m)). Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>