summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-30 14:00:58 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-01-30 09:38:46 +0100
commit959d13ac204db88613e1b81eff72575c5a8f8edb (patch)
tree0a278da1129da537670185866837b18c79659bf7
parent3ddb983c10aab6ad8eb2a766accfccb2b3671a3a (diff)
downloadsamba-959d13ac204db88613e1b81eff72575c5a8f8edb.tar.gz
samba-959d13ac204db88613e1b81eff72575c5a8f8edb.tar.bz2
samba-959d13ac204db88613e1b81eff72575c5a8f8edb.zip
s3-auth: Remove duplicate check for NT_STATUS_IS_OK(nt_status)
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jan 30 09:38:47 CET 2012 on sn-devel-104
-rw-r--r--source3/auth/auth_ntlmssp.c4
1 files changed, 0 insertions, 4 deletions
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.