From 959d13ac204db88613e1b81eff72575c5a8f8edb Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 30 Jan 2012 14:00:58 +1100 Subject: s3-auth: Remove duplicate check for NT_STATUS_IS_OK(nt_status) Autobuild-User: Andrew Bartlett Autobuild-Date: Mon Jan 30 09:38:47 CET 2012 on sn-devel-104 --- source3/auth/auth_ntlmssp.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source3/auth') diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c index 11fbef1376..00a99c3f37 100644 --- a/source3/auth/auth_ntlmssp.c +++ b/source3/auth/auth_ntlmssp.c @@ -186,10 +186,6 @@ static NTSTATUS auth_ntlmssp_check_password(struct ntlmssp_state *ntlmssp_state, return nt_status; } - if (!NT_STATUS_IS_OK(nt_status)) { - return nt_status; - } - server_info->nss_token |= username_was_mapped; /* Clear out the session keys, and pass them to the caller. -- cgit