From: Volker Lendecke Date: Sat, 11 Feb 2017 09:38:21 +0000 (+0100) Subject: auth3: Use NT_STATUS_EQUAL X-Git-Tag: talloc-2.1.9~157 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68e1a64dc15a62037c2c77e1760b7064e391d2a1;p=thirdparty%2Fsamba.git auth3: Use NT_STATUS_EQUAL Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- 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) {