svn commit: samba r12338 - branches/SAMBA_3_0/source/utils trunk/source/utils

gd at samba.org gd at samba.org
Mon Dec 19 02:22:15 GMT 2005


Author: gd
Date: 2005-12-19 02:22:13 +0000 (Mon, 19 Dec 2005)
New Revision: 12338

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12338

Log:
add ifdef DEBUG_PASSWORD before printing clear text password.

Guenther

Modified:
   branches/SAMBA_3_0/source/utils/net_rpc.c
   trunk/source/utils/net_rpc.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_rpc.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_rpc.c	2005-12-19 02:18:09 UTC (rev 12337)
+++ branches/SAMBA_3_0/source/utils/net_rpc.c	2005-12-19 02:22:13 UTC (rev 12338)
@@ -5293,8 +5293,10 @@
 		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);

Modified: trunk/source/utils/net_rpc.c
===================================================================
--- trunk/source/utils/net_rpc.c	2005-12-19 02:18:09 UTC (rev 12337)
+++ trunk/source/utils/net_rpc.c	2005-12-19 02:22:13 UTC (rev 12338)
@@ -5293,8 +5293,10 @@
 		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);



More information about the samba-cvs mailing list