diff options
author | Volker Lendecke <vl@samba.org> | 2021-04-21 21:30:30 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2021-04-27 13:24:35 +0000 |
commit | 4e034e8f8fcd5e63dc4afe5a210ccea347bfa523 (patch) | |
tree | 3b9618438fe07b606994ff5164fb988bfbfb273c /source3 | |
parent | ee431a298726b61fd0244c42e613fde87e2bdd82 (diff) | |
download | samba-4e034e8f8fcd5e63dc4afe5a210ccea347bfa523.tar.gz |
auth3: if (ret==False) just looks weird
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/auth/check_samsec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |