svn commit: samba r2899 - branches/SAMBA_3_0/source/auth branches/SAMBA_3_0/source/libsmb branches/SAMBA_3_0/source/smbd trunk/source/auth trunk/source/libsmb trunk/source/smbd

tpot at samba.org tpot at samba.org
Mon Oct 11 00:32:31 GMT 2004


Author: tpot
Date: 2004-10-11 00:32:31 +0000 (Mon, 11 Oct 2004)
New Revision: 2899

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=2899&nolog=1

Log:
Change some #if DEBUG_PASSWORD's to #ifdef DEBUG_PASSWORD.

Bugzilla #1903.

Modified:
   branches/SAMBA_3_0/source/auth/pass_check.c
   branches/SAMBA_3_0/source/libsmb/ntlm_check.c
   branches/SAMBA_3_0/source/smbd/chgpasswd.c
   branches/SAMBA_3_0/source/smbd/password.c
   trunk/source/auth/pass_check.c
   trunk/source/libsmb/ntlm_check.c
   trunk/source/smbd/chgpasswd.c
   trunk/source/smbd/password.c


Changeset:
Modified: branches/SAMBA_3_0/source/auth/pass_check.c
===================================================================
--- branches/SAMBA_3_0/source/auth/pass_check.c	2004-10-11 00:29:55 UTC (rev 2898)
+++ branches/SAMBA_3_0/source/auth/pass_check.c	2004-10-11 00:32:31 UTC (rev 2899)
@@ -599,7 +599,7 @@
 
 	NTSTATUS nt_status;
 
-#if DEBUG_PASSWORD
+#ifdef DEBUG_PASSWORD
 	DEBUG(100, ("checking user=[%s] pass=[%s]\n", user, password));
 #endif
 

Modified: branches/SAMBA_3_0/source/libsmb/ntlm_check.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/ntlm_check.c	2004-10-11 00:29:55 UTC (rev 2898)
+++ branches/SAMBA_3_0/source/libsmb/ntlm_check.c	2004-10-11 00:32:31 UTC (rev 2899)
@@ -63,7 +63,7 @@
 	}
 	
 	
-#if DEBUG_PASSWORD
+#ifdef DEBUG_PASSWORD
 	DEBUG(100,("Part password (P16) was |\n"));
 	dump_data(100, part_passwd, 16);
 	DEBUGADD(100,("Password from client was |\n"));

Modified: branches/SAMBA_3_0/source/smbd/chgpasswd.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/chgpasswd.c	2004-10-11 00:29:55 UTC (rev 2898)
+++ branches/SAMBA_3_0/source/smbd/chgpasswd.c	2004-10-11 00:32:31 UTC (rev 2899)
@@ -456,7 +456,7 @@
 
 	DEBUG(3, ("chgpasswd: Password change (as_root=%s) for user: %s\n", BOOLSTR(as_root), name));
 
-#if DEBUG_PASSWORD
+#ifdef DEBUG_PASSWORD
 	DEBUG(100, ("chgpasswd: Passwords: old=%s new=%s\n", oldpass, newpass));
 #endif
 

Modified: branches/SAMBA_3_0/source/smbd/password.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/password.c	2004-10-11 00:29:55 UTC (rev 2898)
+++ branches/SAMBA_3_0/source/smbd/password.c	2004-10-11 00:32:31 UTC (rev 2899)
@@ -473,7 +473,7 @@
 {
 	BOOL ok = False;
 	
-#if DEBUG_PASSWORD
+#ifdef DEBUG_PASSWORD
 	DEBUG(100,("authorise_login: checking authorisation on user=%s pass=%s\n",
 		   user,password.data));
 #endif

Modified: trunk/source/auth/pass_check.c
===================================================================
--- trunk/source/auth/pass_check.c	2004-10-11 00:29:55 UTC (rev 2898)
+++ trunk/source/auth/pass_check.c	2004-10-11 00:32:31 UTC (rev 2899)
@@ -599,7 +599,7 @@
 
 	NTSTATUS nt_status;
 
-#if DEBUG_PASSWORD
+#ifdef DEBUG_PASSWORD
 	DEBUG(100, ("checking user=[%s] pass=[%s]\n", user, password));
 #endif
 

Modified: trunk/source/libsmb/ntlm_check.c
===================================================================
--- trunk/source/libsmb/ntlm_check.c	2004-10-11 00:29:55 UTC (rev 2898)
+++ trunk/source/libsmb/ntlm_check.c	2004-10-11 00:32:31 UTC (rev 2899)
@@ -63,7 +63,7 @@
 	}
 	
 	
-#if DEBUG_PASSWORD
+#ifdef DEBUG_PASSWORD
 	DEBUG(100,("Part password (P16) was |\n"));
 	dump_data(100, part_passwd, 16);
 	DEBUGADD(100,("Password from client was |\n"));

Modified: trunk/source/smbd/chgpasswd.c
===================================================================
--- trunk/source/smbd/chgpasswd.c	2004-10-11 00:29:55 UTC (rev 2898)
+++ trunk/source/smbd/chgpasswd.c	2004-10-11 00:32:31 UTC (rev 2899)
@@ -456,7 +456,7 @@
 
 	DEBUG(3, ("chgpasswd: Password change (as_root=%s) for user: %s\n", BOOLSTR(as_root), name));
 
-#if DEBUG_PASSWORD
+#ifdef DEBUG_PASSWORD
 	DEBUG(100, ("chgpasswd: Passwords: old=%s new=%s\n", oldpass, newpass));
 #endif
 

Modified: trunk/source/smbd/password.c
===================================================================
--- trunk/source/smbd/password.c	2004-10-11 00:29:55 UTC (rev 2898)
+++ trunk/source/smbd/password.c	2004-10-11 00:32:31 UTC (rev 2899)
@@ -479,7 +479,7 @@
 {
 	BOOL ok = False;
 	
-#if DEBUG_PASSWORD
+#ifdef DEBUG_PASSWORD
 	DEBUG(100,("authorise_login: checking authorisation on user=%s pass=%s\n",
 		   user,password.data));
 #endif



More information about the samba-cvs mailing list