git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee431a2
)
auth3: if (ret==False) just looks weird
author
Volker Lendecke
<vl@samba.org>
Wed, 21 Apr 2021 19:30:30 +0000
(21:30 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Tue, 27 Apr 2021 13:24:35 +0000
(13:24 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/auth/check_samsec.c
patch
|
blob
|
history
diff --git
a/source3/auth/check_samsec.c
b/source3/auth/check_samsec.c
index cfd32c5f5ba660b6d2d8ab2ebb084e2240943935..b9563c958a92a45201fd18ee7637614d9bfb2c47 100644
(file)
--- 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);