s3-auth set session_info->sanitized_username in create_local_token()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 26 Jul 2011 03:37:36 +0000 (13:37 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 3 Aug 2011 08:48:04 +0000 (18:48 +1000)
commit9a45bf39527d9c2dcd8d2debf214196100a3efce
tree080e2c9bc12348cd4a7f96f5ce9deb1cc55ed741
parent8b983d232648944c18fe878a3ace0f58658ec24d
s3-auth set session_info->sanitized_username in create_local_token()

Rather than passing this value around the callers, and eventually
setting it in register_existing_vuid(), we simply pass it to
create_local_token().  This also removes the need for
auth_ntlmssp_get_username().

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source3/auth/auth_ntlmssp.c
source3/auth/auth_util.c
source3/auth/proto.h
source3/auth/user_krb5.c
source3/include/ntlmssp_wrap.h
source3/libsmb/ntlmssp_wrap.c
source3/rpc_server/rpc_server.c
source3/smbd/password.c
source3/smbd/proto.h
source3/smbd/sesssetup.c
source3/smbd/smb2_sesssetup.c