s3-mdssvc: call [un]become_authenticated_pipe_user()
authorRalph Boehme <slow@samba.org>
Mon, 11 Mar 2019 17:11:04 +0000 (18:11 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 24 Apr 2019 18:32:15 +0000 (18:32 +0000)
commitbc053abdd1df343eb4bf0eeff52bebc2dcbd7a30
tree4864fb301d0f70fde2d82c636045e2cf121e4e0c
parent675902f80068c159af51b004ccded7fb777d1c40
s3-mdssvc: call [un]become_authenticated_pipe_user()

This ensures we're running as the authenticated user int the tevent
callback which might be running in an arbitrary impersonation context.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
source3/rpc_server/mdssvc/mdssvc.c
source3/rpc_server/mdssvc/mdssvc.h