From 9a45bf39527d9c2dcd8d2debf214196100a3efce Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 26 Jul 2011 13:37:36 +1000 Subject: 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 --- source3/include/ntlmssp_wrap.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'source3/include/ntlmssp_wrap.h') diff --git a/source3/include/ntlmssp_wrap.h b/source3/include/ntlmssp_wrap.h index 22cd582bb7..ee76e96007 100644 --- a/source3/include/ntlmssp_wrap.h +++ b/source3/include/ntlmssp_wrap.h @@ -62,8 +62,6 @@ NTSTATUS auth_ntlmssp_unseal_packet(struct auth_ntlmssp_state *ans, const DATA_BLOB *sig); bool auth_ntlmssp_negotiated_sign(struct auth_ntlmssp_state *ans); bool auth_ntlmssp_negotiated_seal(struct auth_ntlmssp_state *ans); -const char *auth_ntlmssp_get_username(struct auth_ntlmssp_state *ans); -const char *auth_ntlmssp_get_domain(struct auth_ntlmssp_state *ans); NTSTATUS auth_ntlmssp_set_username(struct auth_ntlmssp_state *ans, const char *user); NTSTATUS auth_ntlmssp_set_domain(struct auth_ntlmssp_state *ans, -- cgit