From 68e1a64dc15a62037c2c77e1760b7064e391d2a1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 11 Feb 2017 10:38:21 +0100 Subject: [PATCH] auth3: Use NT_STATUS_EQUAL Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/auth/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.34.1