summaryrefslogtreecommitdiffstats
path: root/source
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
commite0be0e052380b38235d4f34d366f48707ed59df7 (patch)
tree58841c2862a32540d2aab15fcbb4df8509550fd2 /source
parent9424b65c70bd24ba8f5b6c729dc1440a4dbf5647 (diff)
downloadsamba-e0be0e052380b38235d4f34d366f48707ed59df7.tar.gz
samba-e0be0e052380b38235d4f34d366f48707ed59df7.tar.xz
samba-e0be0e052380b38235d4f34d366f48707ed59df7.zip
r12338: add ifdef DEBUG_PASSWORD before printing clear text password.
Guenther
Diffstat (limited to 'source')
-rw-r--r--source/utils/net_rpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/utils/net_rpc.c b/source/utils/net_rpc.c
index 33eac56a925..d2cecd24350 100644
--- a/source/utils/net_rpc.c
+++ b/source/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);