mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
cf8048cd49
Switch to dsdb_search() for looking up the user for changing the password, and specify that we want extended DNs. Using the SID or GUID avoids a race condition if the DN of the user changes. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Mar 18 12:45:17 UTC 2022 on sn-devel-184