Re: [Maria-discuss] Getting PAM auth to work with JDBC

2015-07-16 Thread Daniel Black
I completed the MariaDB Connector/J implementation a bit more and it now responds to mysql_clear_password (if pam_use_cleartext_plugin was set) and it responds with a password the dialog plugin is requested (CONJ-164). https://github.com/MariaDB/mariadb-connector-j/pull/22 https://github.com/gr

Re: [Maria-discuss] Getting PAM auth to work with JDBC

2015-07-15 Thread Adam Scott
I have. Not much time to reply, but one major thing I had to do form my notes: 4. modify my.cnf and add line with: pam_use_cleartext_plugun requires restart For Old Workbench to work with this, set the environment variable LIB_MYSQL_CLEARTEXT_PLUGIN=1 For recet Workbench, in the

[Maria-discuss] Getting PAM auth to work with JDBC

2015-07-15 Thread Troels Arvin
I've got the PAM authentication to work, as long as I use a plain command line MariaDB client or HeidiSQL. But I need things to work with JDBC as well. I've found some instructions what seem to indicate that I need to somehow make the JDBC connection use SQL and plain-text authentication. But I ha