MXS-2292 PAM authenticator detects anonymous users with defined hosts

This allows anonymous user mapping from well-defined hosts.
This commit is contained in:
Esa Korhonen
2019-02-13 14:44:00 +02:00
parent 49c6244245
commit 48a6ab503e
6 changed files with 124 additions and 79 deletions

View File

@ -26,7 +26,8 @@ const string FIELD_HOST = "host";
const string FIELD_DB = "db";
const string FIELD_ANYDB = "anydb";
const string FIELD_AUTHSTR = "authentication_string";
const int NUM_FIELDS = 5;
const string FIELD_PROXY = "proxy_grant";
const int NUM_FIELDS = 6;
/**
* Initialize PAM authenticator