smbd: setting current_user stuff here is redundant
authorRalph Boehme <slow@samba.org>
Fri, 17 Jan 2020 13:42:22 +0000 (14:42 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 6 Feb 2020 10:17:42 +0000 (10:17 +0000)
commite6e722abde82252b01e30691c0fe4aef579b3584
tree3432a80685ab50e6a94e15877b4217a4f2907707
parent52722746a5eb40c309ba59f78bd8e3d897417bdc
smbd: setting current_user stuff here is redundant

This is already handled by set_sec_ctx() below, we just have to pass in the
values instead of setting it here in this function before calling set_sec_ctx().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/smbd/uid.c