From 4e034e8f8fcd5e63dc4afe5a210ccea347bfa523 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 21 Apr 2021 21:30:30 +0200 Subject: [PATCH] auth3: if (ret==False) just looks weird Signed-off-by: Volker Lendecke Reviewed-by: Andreas Schneider --- source3/auth/check_samsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/auth/check_samsec.c b/source3/auth/check_samsec.c index cfd32c5f5ba..b9563c958a9 100644 --- a/source3/auth/check_samsec.c +++ b/source3/auth/check_samsec.c @@ -394,7 +394,7 @@ NTSTATUS check_sam_security(const DATA_BLOB *challenge, ret = pdb_getsampwnam(sampass, user_info->mapped.account_name); unbecome_root(); - if (ret == False) { + if (!ret) { DEBUG(3,("check_sam_security: Couldn't find user '%s' in " "passdb.\n", user_info->mapped.account_name)); TALLOC_FREE(sampass); -- 2.34.1