summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2004-02-12 19:10:09 +0000
committerJim McDonough <jmcd@samba.org>2004-02-12 19:10:09 +0000
commit5abd317a4ce3c4a033d714da74d09bbba5b80b24 (patch)
treee47fdf8368ad2e1bbae92d5d6b1df144b9a98caa /source3/passdb
parent9eb5c835f1ba71fb458ea057cc3c79330f69184b (diff)
downloadsamba-5abd317a4ce3c4a033d714da74d09bbba5b80b24.tar.gz
samba-5abd317a4ce3c4a033d714da74d09bbba5b80b24.tar.bz2
samba-5abd317a4ce3c4a033d714da74d09bbba5b80b24.zip
Fix format error for generating SELECT, since unknown_3 is now gone
(This used to be commit 57314e060552523338071442e111fb4f7a2e1df8)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_sql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_sql.c b/source3/passdb/pdb_sql.c
index d3e8b90a85..ffb8313a97 100644
--- a/source3/passdb/pdb_sql.c
+++ b/source3/passdb/pdb_sql.c
@@ -204,7 +204,7 @@ char *sql_account_query_select(const char *data, BOOL update, enum sql_search_fi
}
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 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",