-
Jerry,
Welcome. Well, it sounds like you have the pam_mysql working if users are access so long as they are listed in the passwd file. This is a common mistake... pam_mysql only works with pam which only does authentication. In order for your users in mysql to be available along side the users listed in your files, you will additionally need nss_mysql which is a separate project. The...
2008-10-28 19:13:40 UTC in pam-mysql
-
jinrichang,
Well... I am not a developer on this project and I don't know for certain if SHA1 is an available option... But can you use any of the other crypt functions?
It is possible that the package you are attempting to use was simply not compiled with the needed libraries included. It might behoove you to compile your own copy. Make sure to have the openssl development packages...
2008-10-28 12:17:40 UTC in pam-mysql
-
Ilo,
It sounds as if you have added the pam_mysql module as a required module for login. You most likely did this by adding it to a generally referenced pam file. These are shortcuts; instead of having to define the same stack of modules eight times over, you can make one file and have each service reference it. This saves a lot of work, but as in your case, can also cause unexpected...
2008-10-28 12:04:00 UTC in pam-mysql
-
Dear Quim,
Sidenote... I happened across this nice manpage with details on all the switches of saslauthd. :-)
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/saslauthd.8.html
-Cheers, Peter.
2008-01-17 16:18:17 UTC in pam-mysql
-
Dear Quim,
I don't believe this is a pam_mysql problem, because it almost sound like a sasl realm problem (e.g. the @ symbol is being incorrectly passed to pam).
Check to see if your saslauthd is starting up with the '-r' option. This may solve your issue. I personally use SuSE so I don't know what the default init scripts are for fedora.
Lastly, you did not mention what version...
2008-01-17 16:08:30 UTC in pam-mysql
-
Dear warrior,
I am confused about your question.
pam_mysql is for the PAM authentication framework only. It is not called for 'ls /home/users'.
Are you certain you do not mean nss_mysql? If that is the case, you have the wrong project.
2008-01-08 15:28:56 UTC in pam-mysql
-
wojtekw77,
Sorry to say that I am not very up to speed with SASL since I never had to configure it.
I can not find specifically what the 6 and 7 values translate to... but I bet you would have to dig into the DEFINE statements for PAM's source to find out...
But I do know that 6 and 7 are credential failue codes, so the username/password SELECT from SQL is not passing.
I would expect...
2007-11-28 15:29:11 UTC in pam-mysql
-
wojtekw77,
Well, first off I would test everything debugged with crypt=0 until you get it working. I would consider looking over your SQL syntax. Once you can authenticate successfully, then setup the cryptography.
Also, this is a common mistake... but you have those users your attempting to authenticate defined through NSS, correct? (e.g. : You have the said users setup via passwd...
2007-11-27 02:46:05 UTC in pam-mysql
-
Pavel,
Two key things...
1) Your errors are with nss-mysql and not pam-mysql, so you are posting in the wrong place. Sorry.
2) Your nssmysql.conf file should have a directive setting what the password column is. Check your configs again because I am willing to bet you are missing that directive there.
-Cheers, Peter.
2007-10-30 21:12:57 UTC in pam-mysql
-
Hi cegla,
Couple of things... I am assuming that you know that the standard tcp port for MySQL is 3306... so you did modify your my.cnf to change the port, correct?
Also, you might want to check your MySQL's my.cnf and your init script to ensure the location of the mysql.sock... Many distros like to move it around (or so it seems)... I am not sure if it is some crule joke by the developers...
2007-10-05 14:14:15 UTC in pam-mysql