smbd: move current_user caching to change_to_user_internal()
authorStefan Metzmacher <metze@samba.org>
Tue, 12 Jun 2018 13:39:51 +0000 (15:39 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Jun 2018 06:59:16 +0000 (08:59 +0200)
commit91a37964814828020ec718bc6b802216f3425a70
tree057cd1e25239dd78de718126b1eea3ae28a7b85c
parent35a12e7009d9f1e2eeab06c02ac8227f5b59c778
smbd: move current_user caching to change_to_user_internal()

Note that (current_user.vuid == vuid) also works with
UID_FIELD_INVALID.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/uid.c