1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/librpc/rpc
Stefan Metzmacher 20f84f1165 dcesrv_core: wrap gensec_*() calls in [un]become_root() calls
This is important for the source3/rpc_server code as it might
be called embedded in smbd and may not run as root with access
to our private tdb/ldb files.

Note this is only really needed for 4.15 and older, as
we no longer run the rpc_server embedded in smbd,
but we better be consistent for now.

This should be able to fix the problem the printing no longer works
on Windows 7 with 2021-10 monthly rollup patch (KB5006743).

Windows uses NTLMSSP with privacy at the DCERPC layer on top
of NCACN_NP (smb).

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 0651fa474c)
2022-01-30 10:57:11 +00:00
..
binding_handle.c librpc/rpc: verify the passed table against the table on the handle 2016-10-26 11:20:18 +02:00
binding.c librpc: Use talloc_asprintf_addbuf() in dcerpc_binding_string() 2021-10-08 19:28:31 +00:00
dcerpc_error.c librpc:rpc: Use C99 initializer for last element in dcerpc_faults 2019-01-28 10:29:23 +01:00
dcerpc_helper.c rpc_server3: Avoid a literal number available as a constant 2021-10-08 19:28:31 +00:00
dcerpc_helper.h librpc: Add dcerpc helper dcerpc_is_transport_encrypted() 2020-10-29 14:19:36 +00:00
dcerpc_pkt_auth.c CVE-2021-23192: dcesrv_core: only the first fragment specifies the auth_contexts 2021-11-09 19:45:34 +00:00
dcerpc_pkt_auth.h CVE-2021-23192: dcesrv_core: only the first fragment specifies the auth_contexts 2021-11-09 19:45:34 +00:00
dcerpc_util.c librpc: Remove the gensec dependency from library dcerpc-binding 2021-04-06 23:33:14 +00:00
dcerpc_util.h librpc: Remove the gensec dependency from library dcerpc-binding 2021-04-06 23:33:14 +00:00
dcesrv_auth.c dcesrv_core: wrap gensec_*() calls in [un]become_root() calls 2022-01-30 10:57:11 +00:00
dcesrv_core.c dcesrv_core: wrap gensec_*() calls in [un]become_root() calls 2022-01-30 10:57:11 +00:00
dcesrv_core.h dcesrv_core: wrap gensec_*() calls in [un]become_root() calls 2022-01-30 10:57:11 +00:00
dcesrv_handles.c rpc_server: Simplify dcesrv_handle_lookup() 2021-09-24 23:55:32 +00:00
dcesrv_mgmt.c librpc:core: Allocate struct dcesrv_interface with talloc 2019-10-18 16:07:37 +00:00
dcesrv_reply.c rpc: Give dcerpc_util.c its own header 2021-04-06 22:29:34 +00:00
rpc_common.h rpc: Give dcerpc_util.c its own header 2021-04-06 22:29:34 +00:00