From ce5bde1e847e759c397ec513520b9343b4e81619 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 19 Dec 2005 02:22:13 +0000 Subject: r12338: add ifdef DEBUG_PASSWORD before printing clear text password. Guenther (This used to be commit e0be0e052380b38235d4f34d366f48707ed59df7) --- source3/utils/net_rpc.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit