summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-06-13 14:39:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:11 -0500
commitf245e776448645ed5e6f779662ca228570a3ddde (patch)
tree34ca4733c206a7e2b20efbaab9fb0d0c0ef6acc2 /source3/rpcclient
parent9f1335b0158aa136630f2591030d1e3e4f6fa124 (diff)
downloadsamba-f245e776448645ed5e6f779662ca228570a3ddde.tar.gz
samba-f245e776448645ed5e6f779662ca228570a3ddde.tar.bz2
samba-f245e776448645ed5e6f779662ca228570a3ddde.zip
r7537: Print passwords in display charset.
Guenther (This used to be commit f3bdc20ba3de77ceacfd328ff85322666bd81ca8)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_lsarpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c
index cccf9679e3..b01f639247 100644
--- a/source3/rpcclient/cmd_lsarpc.c
+++ b/source3/rpcclient/cmd_lsarpc.c
@@ -772,8 +772,8 @@ static void display_trust_dom_info_4(TRUSTED_DOMAIN_INFO_PASSWORD *p, const char
pwd = decrypt_trustdom_secret(password, &data);
pwd_old = decrypt_trustdom_secret(password, &data_old);
- printf("Password:\t%s\n", pwd);
- printf("Old Password:\t%s\n", pwd_old);
+ d_printf("Password:\t%s\n", pwd);
+ d_printf("Old Password:\t%s\n", pwd_old);
SAFE_FREE(pwd);
SAFE_FREE(pwd_old);