pam_mysql.so

Alexander Dalloz ad+lists at uni-x.org
Tue Jul 18 14:01:13 EDT 2006


Nick Smith schrieb:

>
> Actually i had to install from source, which worked out fine after i 
> installed the mysql-devel rpm.  I am now getting this error:
>
> Jul 18 12:48:14  PAM-warn[7955]: function=[pam_sm_authenticate] 
> service=[imap] terminal=[<unknown>] user=[nick.smith] 
> ruser=[<unknown>] rhost=[<unknown>]
> Jul 18 12:48:14  saslauthd[7955]: DEBUG: auth_pam: pam_authenticate 
> failed: User not known to the underlying authentication module
> Jul 18 12:48:14  saslauthd[7955]: do_auth         : auth failure: 
> [user=nick.smith] [service=imap] [realm=domain.net] [mech=pam] 
> [reason=PAM auth error]
>
> So it seems its not authenticating correctly i think, but i am unsure 
> how to proceed at this point, im sure the user/pass im using is correct.
>
> Any Ideas?
>
Your /etc/pam/imap does not have the proper setup for pam_mysql / MySQL 
(SELECT statement wrong?).

Why not running SASLv2 with auxprop and the sql plugin? Would be a 
straighter setup and allowing the usage of shared secret mechs.

Alexander



More information about the Info-cyrus mailing list