lp:~sergei.glushchenko/percona-pam-for-mysql/pam-supp-grp-test
- Get this branch:
- bzr branch lp:~sergei.glushchenko/percona-pam-for-mysql/pam-supp-grp-test
Branch merges
- Laurynas Biveinis (community): Approve
-
Diff: 122 lines (+118/-0)1 file modifiedtest/dbqp/percona_tests/percona_pam/pam_mapping_test.py (+118/-0)
Branch information
Recent revisions
- 30. By Sergei Glushchenko
-
Test case for a support of supplementary groups.
Test case adds system groups grp10, grp11, grp12 and modifies user
pam_user to be a member of them with grp10 as primary group.
Test also sets up mysql ''@'' user as identified with
auth_pam. It sets authentication string to map grp1N to userN mysql
user. Then it grants proxy to ''@''. After it chackes that
authentication is successful and system user's group is mapped to
correct mysql user. - 29. By Sergei Glushchenko
-
Fix for bug #1160348 - add support for supplementary groups.
The list of supplementary is taken via getgrouplist NSS call.
For each key-value pair in auth_string the list of groups is scanned
from the beginning until the group matching the key is found.
If user is a member of multiple mapped groups, the one, which comes
earlier from auth_string will be taken.
Fix for bug #1187038 - use library path provided by mysql_config.
Fix for bug #1187033 - broken symbolic link removed.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:percona-pam-for-mysql