1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/rpc_server/samr
Stefan Metzmacher 3121be69ca CVE-2021-3738 s4:rpc_server/samr: make use of dcesrv_samdb_connect_as_*() helper
This avoids a crash that's triggered by windows clients using
handles from samr_Connect*() on across multiple connections within
an association group.

In other cases is not strictly required, but it makes it easier to audit that
source4/rpc_server no longer calls samdb_connect() directly and also
improves the auditing for the dcesrv_samdb_connect_as_system() case.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Jule Anger <janger@samba.org>
Autobuild-Date(master): Tue Nov  9 20:37:30 UTC 2021 on sn-devel-184
2021-11-09 20:37:30 +00:00
..
dcesrv_samr.c CVE-2021-3738 s4:rpc_server/samr: make use of dcesrv_samdb_connect_as_*() helper 2021-11-09 20:37:30 +00:00
dcesrv_samr.h rpc samr: EnumDomainUsers perf improvement 2019-08-30 07:08:36 +00:00
samr_password.c CVE-2021-3738 s4:rpc_server/samr: make use of dcesrv_samdb_connect_as_*() helper 2021-11-09 20:37:30 +00:00