summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-01-16 23:09:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:54 -0500
commit69e24e59a4230f3261c49de6661512a9b502f735 (patch)
tree44389b0786a1100fe614f6e3e5ac038e54e32e29
parentfca72668cc80231f4f06246bfdc86116434694f5 (diff)
downloadsamba-69e24e59a4230f3261c49de6661512a9b502f735.tar.gz
samba-69e24e59a4230f3261c49de6661512a9b502f735.tar.bz2
samba-69e24e59a4230f3261c49de6661512a9b502f735.zip
r4788: Don't log mysql password at debug level 1.
(This used to be commit 760455875f78a29c3fedd7de3671d6ae537c1d1a)
-rw-r--r--source3/passdb/pdb_mysql.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/passdb/pdb_mysql.c b/source3/passdb/pdb_mysql.c
index 0e6a11d932..500c9686c5 100644
--- a/source3/passdb/pdb_mysql.c
+++ b/source3/passdb/pdb_mysql.c
@@ -454,10 +454,9 @@ static NTSTATUS mysqlsam_init(struct pdb_context * pdb_context, struct pdb_metho
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))));