Avoid using SQLITE_OPEN_URI

Centos6 uses a very old version of SQLite without support for URI filenames.
PAM authenticator must use a file-based database.
This commit is contained in:
Esa Korhonen
2019-06-26 16:21:21 +03:00
parent 8a749dc627
commit b4289224de
4 changed files with 56 additions and 16 deletions

View File

@ -32,4 +32,7 @@ extern const string FIELD_HOST;
extern const string FIELD_DB;
extern const string FIELD_ANYDB;
extern const string FIELD_AUTHSTR;
extern const int NUM_FIELDS;
extern const int NUM_FIELDS;
extern const char* SQLITE_OPEN_FAIL;
extern const char* SQLITE_OPEN_OOM;