summaryrefslogtreecommitdiff
path: root/nsswitch/wbinfo.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2020-01-15 15:30:24 +0100
committerAndreas Schneider <asn@cryptomilk.org>2020-01-24 15:46:42 +0000
commit96f319e0de21b0479a4f9be23e8a2c1d2709d6f6 (patch)
treedb93d7af4aff4862a77e56d9590d6abf4c2cdedc /nsswitch/wbinfo.c
parent4fca8d7aa77db648a08051f54fb181d4eaa8b94d (diff)
downloadsamba-96f319e0de21b0479a4f9be23e8a2c1d2709d6f6.tar.gz
nsswitch: Fix username in wbinfo -K output
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>
Diffstat (limited to 'nsswitch/wbinfo.c')
-rw-r--r--nsswitch/wbinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c
index ae89f876a9d..cd89bb0bddc 100644
--- 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",
- username, WBC_ERROR_IS_OK(wbc_status) ? "succeeded" : "failed",
+ name, WBC_ERROR_IS_OK(wbc_status) ? "succeeded" : "failed",
cctype);
if (error) {