From 1aced1e989a9fb052ee67e302e59df1113e6bd79 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 26 Jul 2011 13:43:33 +1000 Subject: s3-auth remove sanitized_username from auth_serversupplied_info This structure element was only written to, not read. It is filled into the companion structure, auth_session_info() by create_local_token(). Andrew Bartlett Signed-off-by: Andrew Tridgell --- source3/auth/server_info_sam.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source3/auth/server_info_sam.c') diff --git a/source3/auth/server_info_sam.c b/source3/auth/server_info_sam.c index 261e3de8f2..5d657f90c8 100644 --- a/source3/auth/server_info_sam.c +++ b/source3/auth/server_info_sam.c @@ -92,13 +92,6 @@ NTSTATUS make_server_info_sam(struct auth_serversupplied_info **server_info, TALLOC_FREE(pwd); - result->sanitized_username = sanitize_username(result, - result->unix_name); - if (result->sanitized_username == NULL) { - TALLOC_FREE(result); - return NT_STATUS_NO_MEMORY; - } - if (IS_DC && is_our_machine_account(username)) { /* * This is a hack of monstrous proportions. -- cgit