Merge lp:~laurynas-biveinis/percona-pam-for-mysql/bug880344 into lp:percona-pam-for-mysql
Proposed by
Laurynas Biveinis
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Laurynas Biveinis | ||||
Approved revision: | 7 | ||||
Merged at revision: | 9 | ||||
Proposed branch: | lp:~laurynas-biveinis/percona-pam-for-mysql/bug880344 | ||||
Merge into: | lp:percona-pam-for-mysql | ||||
Prerequisite: | lp:~laurynas-biveinis/percona-pam-for-mysql/bug880268 | ||||
Diff against target: |
51 lines (+8/-11) 1 file modified
src/auth_pam.c (+8/-11) |
||||
To merge this branch: | bzr merge lp:~laurynas-biveinis/percona-pam-for-mysql/bug880344 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Laurynas Biveinis (community) | Approve | ||
Review via email: mp+80147@code.launchpad.net |
Description of the change
Fix bug 880344:
The PAM stack may decide to map a given user name to some other user
name. In that case pam_get_item(..., PAM_USER, ...) will return the
mapped user name that is different from
MYSQL_SERVER_
The current code the copies that value to
MYSQL_SERVER_
fix copies it to the authenticated_as field, so that the mapped user
name is checked against MySQL user table for privileges.
To post a comment you must log in.
Approved by Stewart on IRC