svn commit: samba r4788 - in branches/SAMBA_3_0/source/passdb: .

jelmer at samba.org jelmer at samba.org
Sun Jan 16 23:09:56 GMT 2005


Author: jelmer
Date: 2005-01-16 23:09:56 +0000 (Sun, 16 Jan 2005)
New Revision: 4788

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

Log:
Don't log mysql password at debug level 1.

Modified:
   branches/SAMBA_3_0/source/passdb/pdb_mysql.c


Changeset:
Modified: branches/SAMBA_3_0/source/passdb/pdb_mysql.c
===================================================================
--- branches/SAMBA_3_0/source/passdb/pdb_mysql.c	2005-01-16 22:54:01 UTC (rev 4787)
+++ branches/SAMBA_3_0/source/passdb/pdb_mysql.c	2005-01-16 23:09:56 UTC (rev 4788)
@@ -454,10 +454,9 @@
 	data->location = smb_xstrdup(location);
 
 	DEBUG(1,
-		  ("Connecting to database server, host: %s, user: %s, password: %s, database: %s, port: %ld\n",
+		  ("Connecting to database server, host: %s, user: %s, database: %s, port: %ld\n",
 		   config_value(data, "mysql host", CONFIG_HOST_DEFAULT),
 		   config_value(data, "mysql user", CONFIG_USER_DEFAULT),
-		   config_value(data, "mysql password", CONFIG_PASS_DEFAULT),
 		   config_value(data, "mysql database", CONFIG_DB_DEFAULT),
 		   xatol(config_value(data, "mysql port", CONFIG_PORT_DEFAULT))));
 



More information about the samba-cvs mailing list