summaryrefslogtreecommitdiffstats
path: root/source
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
commit760455875f78a29c3fedd7de3671d6ae537c1d1a (patch)
tree92a36a8d1296041aeb059f0d65e4d205a450ed91 /source
parenta84e778cafcefdc1809474c2123e757c8c9d9b70 (diff)
downloadsamba-760455875f78a29c3fedd7de3671d6ae537c1d1a.tar.gz
samba-760455875f78a29c3fedd7de3671d6ae537c1d1a.tar.xz
samba-760455875f78a29c3fedd7de3671d6ae537c1d1a.zip
r4788: Don't log mysql password at debug level 1.
Diffstat (limited to 'source')
-rw-r--r--source/passdb/pdb_mysql.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/passdb/pdb_mysql.c b/source/passdb/pdb_mysql.c
index 0e6a11d9326..500c9686c5e 100644
--- a/source/passdb/pdb_mysql.c
+++ b/source/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))));