Comment 21 for bug 1166938

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote :

This change
=== modified file 'plugin/percona-pam-for-mysql/src/auth_pam_compat.c'
--- plugin/percona-pam-for-mysql/src/auth_pam_compat.c 2013-12-23 22:05:57 +0000
+++ plugin/percona-pam-for-mysql/src/auth_pam_compat.c 2014-05-02 20:24:49 +0000
@@ -96,7 +96,7 @@
     resp->resp[pkt_len]= '\0';

     /* we could only guess whether password was used or not */
- data->info->password_used= PASSWORD_USED_NO_MENTION;
+ data->info->password_used= PASSWORD_USED_YES;
     ++(*num_talks);
   }

makes auth_pam_compat to work with Workbench. I have no ice why. In this case WB tries empty password first and then correct password twice.