MXS-1716 Add diagnostic functions to PAM Authenticator
The functions print the user information. Normal version just prints user@host, the json-version prints the whole array.
This commit is contained in:
@ -26,6 +26,8 @@ public:
|
||||
static PamInstance* create(char **options);
|
||||
~PamInstance();
|
||||
int load_users(SERVICE* service);
|
||||
void diagnostic(DCB* dcb);
|
||||
json_t* diagnostic_json();
|
||||
|
||||
const std::string m_dbname; /**< Name of the in-memory database */
|
||||
const std::string m_tablename; /**< The table where users are stored */
|
||||
|
Reference in New Issue
Block a user