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.

Commit cherry-picked to 2.4.0 from 2.3.
This commit is contained in:
Esa Korhonen
2019-06-26 16:21:21 +03:00
parent 7c2d5fd6a4
commit 166d26ff13
4 changed files with 57 additions and 19 deletions

View File

@ -34,3 +34,6 @@ extern const string FIELD_ANYDB;
extern const string FIELD_AUTHSTR;
extern const string FIELD_PROXY;
extern const int NUM_FIELDS;
extern const char* SQLITE_OPEN_FAIL;
extern const char* SQLITE_OPEN_OOM;