OK, got this fixed in a local branch... gotta check with mtaylor about make install directives for putting a PAM.d config file in /etc/pam.d, but branch has user-configurable service name now, and after creating a simple drizzled configuration file with this in it:
@include common-auth
I was able to authenticate with my local UNIX login properly:
jpipes@serialcoder:~/repos/drizzle/bugs/tests$ ./dtr --start-and-exit --mysqld="--plugin-add=auth_pam"
Logging: ./dtr --start-and-exit --mysqld=--plugin-add=auth_pam
MySQL Version 2009.12.1254
Using MTR_BUILD_THREAD = -69.4
Using MASTER_MYPORT = 9306
Using MASTER_MYPORT1 = 9307
Using SLAVE_MYPORT = 9308
Using SLAVE_MYPORT1 = 9309
Using SLAVE_MYPORT2 = 9310
Using MC_PORT = 9316
Killing Possible Leftover Processes
Removing Stale Files
Creating Directories
=======================================================
DEFAULT STORAGE ENGINE: innodb
TEST RESULT TIME (ms)
-------------------------------------------------------
Servers started, exiting
jpipes@serialcoder:~/repos/drizzle/bugs/tests$ ../client/drizzle --user=jpipes --password --port=9306
Enter password: ************
Welcome to the Drizzle client.. Commands end with ; or \g.
Your Drizzle connection id is 5
Server version: 7 Source distribution (bugs)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
OK, got this fixed in a local branch... gotta check with mtaylor about make install directives for putting a PAM.d config file in /etc/pam.d, but branch has user-configurable service name now, and after creating a simple drizzled configuration file with this in it:
@include common-auth
I was able to authenticate with my local UNIX login properly:
jpipes@ serialcoder: ~/repos/ drizzle/ bugs/tests$ ./dtr --start-and-exit --mysqld= "--plugin- add=auth_ pam" --plugin- add=auth_ pam ======= ======= ======= ======= ======= ======= ====== ------- ------- ------- ------- ------- ------- ------
Logging: ./dtr --start-and-exit --mysqld=
MySQL Version 2009.12.1254
Using MTR_BUILD_THREAD = -69.4
Using MASTER_MYPORT = 9306
Using MASTER_MYPORT1 = 9307
Using SLAVE_MYPORT = 9308
Using SLAVE_MYPORT1 = 9309
Using SLAVE_MYPORT2 = 9310
Using MC_PORT = 9316
Killing Possible Leftover Processes
Removing Stale Files
Creating Directories
=======
DEFAULT STORAGE ENGINE: innodb
TEST RESULT TIME (ms)
-------
Servers started, exiting
jpipes@ serialcoder: ~/repos/ drizzle/ bugs/tests$ ../client/drizzle --user=jpipes --password --port=9306
Enter password: ************
Welcome to the Drizzle client.. Commands end with ; or \g.
Your Drizzle connection id is 5
Server version: 7 Source distribution (bugs)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
drizzle>