From: Andrew Bartlett Date: Mon, 30 Jan 2012 03:00:58 +0000 (+1100) Subject: s3-auth: Remove duplicate check for NT_STATUS_IS_OK(nt_status) X-Git-Tag: tevent-0.9.15~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=959d13ac204db88613e1b81eff72575c5a8f8edb;p=thirdparty%2Fsamba.git 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 --- diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c index 11fbef13769..00a99c3f374 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.