[Web-cyradm] Cyrus 2.2.3 virt domains + Web-cyradm 0.5.4 patch

Michael Hsu cheeto at shaolinux.org
Thu Apr 8 08:39:51 CEST 2004


In order to use the sasl_password_format: crypt, you must apply this
patch to the sasl source.  I haven't tried it yet but bob says it works,
I'll be giving it a shot as well later today.

http://frost.ath.cx/software/cyrus-sasl-patches/

On Thu, 2004-04-08 at 01:30, martynas at inet.lt wrote:
> Hello,
> 
> But there is no such option in standar cyrus-sasl like:
> 
> sasl_password_format: crypt
> 
> Have you applied some patch? And what patch then?
> Other question about sql and auxprop. Does cyrus-sasl make new connection to
> mysql for every sql select with auxprop? Or it keeps connection alive? I dont
> want get error from mysql "Too many connections;)
> 
> regards,
> Martynas
> 
> --- "Bob Tito" <lists at magicfingers.org> wrote:
> > 
> > 
> > Michael Hsu said:
> > > Here's a much cleaner version of the patch, adds a new variable to the
> > conf.php and you can use the DOMAIN_AS_PREFIX in conjunction with it as
> > opposed to my old patch.  I haven't tried out that patch that bob
> > mentioned, but I have already made a deb package of sasl2 with that
> > patch incorporated so I can test it later .  Thanks bob, that'll make
> > things perfect.
> > >
> > 
> > For anyone interested in this patch, and getting away from PAM,
> > use the patch (not mine) from the previous post
> > 
> > /etc/imapd.conf:
> > sasl_mech_list: PLAIN
> > sasl_pwcheck_method: auxprop
> > sasl_auxprop_plugin: sql
> > sasl_password_format: crypt
> > sasl_sql_user: mail
> > sasl_sql_passwd: mysecret
> > sasl_sql_hostnames: localhost
> > sasl_sql_database: mail
> > #sasl_sql_select: SELECT password FROM accountuser WHERE username = '%u'
> > AND domain_name = '%r'
> > sasl_sql_select: SELECT password FROM accountuser WHERE username = '%u'
> > 
> > /usr/local/lib/smtp.conf
> > pwcheck_method: auxprop
> > auxprop_plugin: sql
> > allowanonymouslogin: no
> > allowplaintext: yes
> > mech_list: PLAIN LOGIN
> > password_format: crypt
> > sql_user: mail
> > sql_passwd: mysecret
> > sql_hostnames: localhost
> > sql_database: mail
> > sql_select: SELECT password FROM accountuser WHERE username = '%u'
> > #sql_select: SELECT password FROM accountuser WHERE username = '%u' AND
> > domain_name = '%r'
> > 
> > The select statement depends on your needs, the active statement works for
> > the 'old style accounts' the other needs to be activated when
> > cyrus-imapd-2.2.x virtual domains are being used.
> > 
> > regards, Bob
> > 
> > -- 
> > Bob Tito
> > gpg key http://www.magicfingers.org/gpg
> > 
> > Disclaimer: This message represents the official view of the voices in my
> > head.
> > 
> > 
> > 
> > -- 
> > Bob Tito
> > gpg key http://www.magicfingers.org/gpg
> > 
> > Disclaimer: This message represents the official view of the voices in my
> > head.
> > _______________________________________________
> > 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
> 
> _______________________________________________
> 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