~maria-captains/percona-pam-for-mysql/use_dialog

Viewing all changes in revision 2.

  • Committer: Laurynas Biveinis
  • Date: 2011-06-16 07:44:06 UTC
  • Revision ID: laurynas.biveinis@percona.com-20110616074406-k7e6342g0kpg4pk7
- Fix comment typo.
- Use info->user_name instead of info->authenticated_as, that is,
provide for PAM the user name as supplied by the client instead of a
matching user name in mysql.user table which will be either equal to
the name supplied by the client or empty, meaning anonymous user.
- Compare the PAM-returned user name against info->user_name instead
of info->authenticated_as due to the same reasons.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: