Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-29 Thread Alexandru E. Ungur
>>> sender: "Simon Matter" date: "Thu, Jun 29, 2006 at 03:13:13PM +0200" << > 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

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-29 Thread Simon Matter
sender: "Phil Pennock" date: "Wed, Jun 28, 2006 at 09:22:12PM +0200" <<>[..] >>pwcheck_method: auxprop >>mech_list: plain login cram-md5 digest-md5 >>sql_engine: mysql >>sql_database: sys >>sql_user: someuser >>sql_passwd: fubar >>sql_select: SELECT passwor

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-29 Thread Alexandru E. Ungur
>>> sender: "Phil Pennock" date: "Wed, Jun 28, 2006 at 09:22:12PM +0200" <<[..] >pwcheck_method: auxprop >mech_list: plain login cram-md5 digest-md5 >sql_engine: mysql >sql_database: sys >sql_user: someuser >sql_passwd: fubar >sql_select: SELECT password FROM users W

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Phil Pennock
On 2006-06-27 at 19:25 +0300, Alexandru E. Ungur wrote: > I'm having a bit of a hard time doing a migration of cyrus from this: > anyway, on the old server it is a cyrus+saslauthd+pam+pam_mysql+mysql > On the new server I got saslauthd working pretty much ok (I think). Using PAM, you lose those

Re: Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Alexandru E. Ungur
>>> sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 08:38:02PM +0200" << Hm, I may have been wrong... While it's okay to remove the auxprop lines > from the config, it has likely not been the cause for the logs. Your > config really uses pam_mysql, which then fails (I think to get rid of the > s

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Simon Matter
sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 07:59:12PM +0200" <<> Sorry, I can not help you at all with the mysql stuff because I have >> never >> used it with cyrus. However, you want to use pam_mysql but your >> cyrus-imapd tries to use the mysql auxprop plugin as you can see abo

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Alexandru E. Ungur
>>> sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 07:59:12PM +0200" << Sorry, I can not help you at all with the mysql stuff because I have never > used it with cyrus. However, you want to use pam_mysql but your > cyrus-imapd tries to use the mysql auxprop plugin as you can see above. So > you

Re: Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Simon Matter
sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 07:13:40PM +0200" <<> Make that 'cyradm -user cyrus -auth login localhost' > > Thank you! :) > I did that, here's what happened: > > FIRST, I used the old pam_mysql 0.4.5 that was on the old server, > though it might make a differenc

Re: Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Alexandru E. Ungur
>>> sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 07:13:40PM +0200" << Make that 'cyradm -user cyrus -auth login localhost' Thank you! :) I did that, here's what happened: FIRST, I used the old pam_mysql 0.4.5 that was on the old server, though it might make a difference. It didn't. ===

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Simon Matter
sender: "Alexander Dalloz" date: "Tue, Jun 27, 2006 at 08:32:52PM +0200" <<> Am Di, den 27.06.2006 schrieb Alexandru E. Ungur um 18:25: > First of all thank you very much for your help, I really appreciate it. > >> Do you use virtdomain support with Cyrus-IMAPd? If not, then appending >>

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Alexandru E. Ungur
>>> sender: "Alexander Dalloz" date: "Tue, Jun 27, 2006 at 08:32:52PM +0200" >>> << Am Di, den 27.06.2006 schrieb Alexandru E. Ungur um 18:25: First of all thank you very much for your help, I really appreciate it. > Do you use virtdomain support with Cyrus-IMAPd? If not, then appending > the rea

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-27 Thread Alexander Dalloz
Am Di, den 27.06.2006 schrieb Alexandru E. Ungur um 18:25: > 3. [EMAIL PROTECTED] lib]# testsaslauthd -u cyrus -p PASSWORD -s imap >0: OK "Success." > > So I think I got the sasl+pam+mysql part working (but I could be wrong, > I'm pretty new to the whole cyrus world :D) > > Now, my problem i