1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

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

(This used to be commit 760455875f)
This commit is contained in:
Jelmer Vernooij 2005-01-16 23:09:56 +00:00 committed by Gerald (Jerry) Carter
parent fca72668cc
commit 69e24e59a4

View File

@ -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))));