Cyrus+SASL+PAM+pam_mysql Migration problem

Alexandru E. Ungur alexandru at globalterrasoft.ro
Thu Jun 29 14:01:55 EDT 2006


>>> sender: "Simon Matter" date: "Thu, Jun 29, 2006 at 03:13:13PM +0200" <<<EOQ
> > sql_select: SELECT password FROM popusers WHERE alias='%u' and
> > domain='%r';
>             ^^^
> I'm not sure you need this one.
> 
> And then, from examples I found on the net I think you need the sasl_
> prefix like those:
> 
> sasl_pwcheck_method: auxprop
> sasl_auxprop_plugin: sql
> sasl_mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
> sasl_sql_engine: mysql
> sasl_sql_hostnames: localhost
> sasl_sql_user: xxx
> sasl_sql_passwd: xxx
> sasl_sql_database: xxx
> sasl_sql_select: SELECT %p FROM users WHERE username = '%u' AND auth = '1'
> 
> I don't know if it can load the sql plugin with wrong sasl_sql_engine
> parameter.
Thank you!!! :) It worked!! :)
after putting the sasl_ prefix, removing the trailling ';' it all
worked like a charm... :)

Thank you very much :),
and have a great day everyone,
Alex


More information about the Info-cyrus mailing list