diff options
author | Volker Lendecke <vl@samba.org> | 2017-02-11 10:38:21 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-02-15 02:28:16 +0100 |
commit | 68e1a64dc15a62037c2c77e1760b7064e391d2a1 (patch) | |
tree | 8a98552e2a5c3691cd69e86550cb3b1e4804f84d | |
parent | 9699c3873c82bdb99d569e2589a6465a0a349750 (diff) | |
download | samba-68e1a64dc15a62037c2c77e1760b7064e391d2a1.tar.gz |
auth3: Use NT_STATUS_EQUAL
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r-- | source3/auth/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c index 833eae9a7c2..50d0188046c 100644 --- a/source3/auth/auth.c +++ b/source3/auth/auth.c @@ -229,7 +229,7 @@ NTSTATUS auth_check_ntlm_password(TALLOC_CTX *mem_ctx, &server_info); /* check if the module did anything */ - if ( NT_STATUS_V(result) == NT_STATUS_V(NT_STATUS_NOT_IMPLEMENTED) ) { + if (NT_STATUS_EQUAL(result, NT_STATUS_NOT_IMPLEMENTED)) { DEBUG(10,("check_ntlm_password: %s had nothing to say\n", auth_method->name)); TALLOC_FREE(tmp_ctx); if (user_info->flags & USER_INFO_LOCAL_SAM_ONLY) { |