s3:lib: add caching to set_current_user_info()
authorStefan Metzmacher <metze@samba.org>
Fri, 25 May 2018 11:40:12 +0000 (13:40 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Jun 2018 06:59:15 +0000 (08:59 +0200)
commitdf5e459299d1eb61879a4bdaf6f600acaab90b6a
tree9cb88debe0efd49559203c534dee83bfbce4be36
parent5d4f2294c9eeec31f9d087e4fb70611d8d824db8
s3:lib: add caching to set_current_user_info()

Currently we do that in the caller, but we use global
cache anyway, so we can simplify the callers.

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