1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/rpc_server/samr
Joseph Sutton fabbea2531 CVE-2021-20251 s4-rpc_server: Use authsam_search_account() to find the user
This helps the bad password and audit log handling code as it
allows assumptions to be made about the attributes found in
the variable "msg", such as that DSDB_SEARCH_SHOW_EXTENDED_DN
was used.

This ensures we can re-search on the DN via the embedded GUID,
which in in turn rename-proof.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14611

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-09-12 23:07:38 +00:00
..
dcesrv_samr.c s4:rpc_server: Implement support for SetUserInfo(2) level 32 2022-07-28 11:51:29 +00:00
dcesrv_samr.h rpc samr: EnumDomainUsers perf improvement 2019-08-30 07:08:36 +00:00
samr_password.c CVE-2021-20251 s4-rpc_server: Use authsam_search_account() to find the user 2022-09-12 23:07:38 +00:00