summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-12-19 02:22:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:54 -0500
commitce5bde1e847e759c397ec513520b9343b4e81619 (patch)
tree99100d2a2bd399da9333c1c6dfb36cffc55812da /source3/utils
parentc32197dd22587d58dfd5c2c129c402e22e1c9ef7 (diff)
downloadsamba-ce5bde1e847e759c397ec513520b9343b4e81619.tar.gz
samba-ce5bde1e847e759c397ec513520b9343b4e81619.tar.bz2
samba-ce5bde1e847e759c397ec513520b9343b4e81619.zip
r12338: add ifdef DEBUG_PASSWORD before printing clear text password.
Guenther (This used to be commit e0be0e052380b38235d4f34d366f48707ed59df7)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 33eac56a92..d2cecd2435 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -5293,8 +5293,10 @@ static NTSTATUS vampire_trusted_domain(struct rpc_pipe_client *pipe_hnd,
goto done;
}
+#ifdef DEBUG_PASSWORD
DEBUG(100,("sucessfully vampired trusted domain [%s], sid: [%s], password: [%s]\n",
trusted_dom_name, sid_string_static(&dom_sid), cleartextpwd));
+#endif
done:
SAFE_FREE(cleartextpwd);