summaryrefslogtreecommitdiffstats
path: root/source/passdb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-28 00:29:00 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-28 00:29:00 +0000
commit5e4e6a6ed08f1b4fe97bbd91f983039143cc9939 (patch)
treed1b9f2808977c3b6186b27d2bc5dac71439b124b /source/passdb
parent3df125fd50a5efff97535814f1f4fd9f33dd07e5 (diff)
downloadsamba-5e4e6a6ed08f1b4fe97bbd91f983039143cc9939.tar.gz
samba-5e4e6a6ed08f1b4fe97bbd91f983039143cc9939.tar.xz
samba-5e4e6a6ed08f1b4fe97bbd91f983039143cc9939.zip
Fix number of arguments to asprintf()
Diffstat (limited to 'source/passdb')
-rw-r--r--source/passdb/pdb_mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/passdb/pdb_mysql.c b/source/passdb/pdb_mysql.c
index 4e91994418c..ca1c239d73d 100644
--- a/source/passdb/pdb_mysql.c
+++ b/source/passdb/pdb_mysql.c
@@ -442,7 +442,7 @@ static NTSTATUS mysqlsam_select_by_field(struct pdb_methods * methods, SAM_ACCOU
}
asprintf(&query,
- "SELECT %s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s FROM %s WHERE %s = '%s'",
+ "SELECT %s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s FROM %s WHERE %s = '%s'",
config_value_read(data, "logon time column",
CONFIG_LOGON_TIME_DEFAULT),
config_value_read(data, "logoff time column",