git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fca8d7
)
nsswitch: Fix username in wbinfo -K output
author
Andreas Schneider
<asn@samba.org>
Wed, 15 Jan 2020 14:30:24 +0000
(15:30 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Fri, 24 Jan 2020 15:46:42 +0000
(15:46 +0000)
We should not print the password if specified via the command line.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
nsswitch/wbinfo.c
patch
|
blob
|
history
diff --git
a/nsswitch/wbinfo.c
b/nsswitch/wbinfo.c
index ae89f876a9d92a005677bf29a61bc65fc8f664df..cd89bb0bddcfc6fac2eb23179ac16eff08f3d52e 100644
(file)
--- a/
nsswitch/wbinfo.c
+++ b/
nsswitch/wbinfo.c
@@
-1680,7
+1680,7
@@
static bool wbinfo_auth_krb5(char *username, const char *cctype, uint32_t flags)
d_printf("plaintext kerberos password authentication for [%s] %s "
"(requesting cctype: %s)\n",
-
user
name, WBC_ERROR_IS_OK(wbc_status) ? "succeeded" : "failed",
+ name, WBC_ERROR_IS_OK(wbc_status) ? "succeeded" : "failed",
cctype);
if (error) {