diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-01-12 20:12:46 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-01-12 20:12:46 +0100 |
commit | f523df0a04b5c43103d9628f8c714b81b735e838 (patch) | |
tree | 555df4a50e4001c05bf58e5dcb8dea8dfbad3494 /plugin/auth_pam | |
parent | 3c1125d4cafdf352ea84d2ff8e06738c4aec2156 (diff) | |
download | mariadb-git-f523df0a04b5c43103d9628f8c714b81b735e838.tar.gz |
openpam compatibility
Diffstat (limited to 'plugin/auth_pam')
-rw-r--r-- | plugin/auth_pam/auth_pam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/auth_pam/auth_pam.c b/plugin/auth_pam/auth_pam.c index 0d9cf2ae0af..ee13b37f793 100644 --- a/plugin/auth_pam/auth_pam.c +++ b/plugin/auth_pam/auth_pam.c @@ -131,7 +131,7 @@ end: return status == PAM_SUCCESS ? CR_OK : CR_ERROR; } -static struct st_mysql_auth pam_info = +static struct st_mysql_auth info = { MYSQL_AUTHENTICATION_INTERFACE_VERSION, "dialog", @@ -141,7 +141,7 @@ static struct st_mysql_auth pam_info = maria_declare_plugin(pam) { MYSQL_AUTHENTICATION_PLUGIN, - &pam_info, + &info, "pam", "Sergei Golubchik", "PAM based authentication", |