Fixup the change_to_user_by_session() case as called from become_user_by_session()
commitfcdd6092b10a4b4406af47b989dcf1a9d693580e
authorJeremy Allison <jra@samba.org>
Tue, 8 Jan 2013 19:02:16 +0000 (8 11:02 -0800)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 9 Jan 2013 04:29:47 +0000 (9 15:29 +1100)
tree55110d3e9f17aaf0ac9354d439943df3f2b85729
parent296c0c34f198dfc7a8f13f26e54fbc980f667784
Fixup the change_to_user_by_session() case as called from become_user_by_session()

Use inside source3/printing/nt_printing.c:get_correct_cversion().

Allow check_user_ok() to be called with vuid==UID_FIELD_INVALID.
All this should do is throw away one entry in the vuid cache.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/smbd/uid.c