[Web-cyradm] webadmin without pam

Mikko Toivola mikko.cwa at pikkasenkuti.com
Sun Dec 2 19:45:47 CET 2007


Hi.

Database change is not necessary, at least I don't think so. You can  
give sasl_sql_select to cyrus where you specify how the database is  
queried. For example:
sasl_sql_select: SELECT password AS userPassword FROM accountuser  
WHERE username = '%u'

Only problem that might come around is the encryption of the  
password. What are you using in web-cyradmin as $CRYPT (in file  
config/conf.php)? I use "crypt", and this means I have to use crypt=1  
in cyrus' config.

You also need to specify these lines:
sasl_sql_user:
sasl_sql_passwd:
sasl_sql_database:

I didn't see them on your copypaste, so I take you don't have them in  
there?

  Mikko

On 30.11.2007, at 9:27, Dmitry Rybin wrote:

> YES.
>
> imapd.conf
> sasl_pwcheck_method:    auxprop
> sasl_mech_list:         plain login cram-md5 digest-md5
> sasl_auxprop_plugin:    sql
> sasl_sql_engine:        mysql
> sasl_sql_hostnames:     localhost
>
> but change database is necessary. May be exists example of this  
> changes?
>
> Mikko Toivola wrote:
>> I presume you want to authenticate email clients with something  
>> else than pam? Isn't pam-mysql available for you? You could use  
>> auxprop instead of saslauthd and use auxprop's sql-plugin to do  
>> the authentication. Or did I understand you somehow wrong. The cyr- 
>> webadmin doesn't need pam, it connects directly to mysql, but I  
>> guess that's not the problem.
> _______________________________________________
> This mailing list is hosted and supported
> by bit-heads GmbH | http://www.bit-heads.ch
>
> _______________________________________________
> Web-cyradm mailing list
> Web-cyradm at web-cyradm.org
> http://www.web-cyradm.org/mailman/listinfo/web-cyradm



More information about the Web-cyradm mailing list