Re: Cyrus IMAP with pam_mysql?

2003-08-26 Thread Jon Mercer
OK, first off, my.cnf doesn't get created in the ports install on FreeBSD, but if you check the startup script, all the parameters are passed to the mysqld process at that time, if you have a play with the mysql stuff you can modify that script so that it does read it. In fact that is necessary

Re: Cyrus IMAP with pam_mysql?

2003-08-26 Thread Johan Paul
Are you getting any trace out that you can post? I'd agree with you that it doesn't seem to be contacting the database. If you have a log against mysql, you could check this from the database end. Started mysqld with loging enabled as debug. And now I can verify that pam doesn't touch MySQL for

Re: Cyrus IMAP with pam_mysql?

2003-08-26 Thread Mike Maltese
> This was actually the other thing I was wondering about; a) where is > my.cnf in FreeBSD to config MySQL for and b) where does MySQL log the > queries? I would love to look into what pam really tries to do with > mysql - or doesn't. cp /usr/local/mysql/my-medium.cnf /etc/my.cnf __

Re: Cyrus IMAP with pam_mysql?

2003-08-26 Thread Johan Paul
Hi and thanks for you reply! Welcome to nightmaresville. I struggled with this for yonks, and found that there were some other files that needed to be setup, e.g.: F**k! I mean why does it have to be so difficult? In RedHat Linux I got the same configuration up without any problems... ajax# cd

Re: Cyrus IMAP with pam_mysql?

2003-08-26 Thread Jon Mercer
Welcome to nightmaresville. I struggled with this for yonks, and found that there were some other files that needed to be setup, e.g.: ajax# cd /usr/local/lib/sasl2 ajax# cat Cyrus.conf pwcheck_method: saslauthd ajax# There is at least one other one, and I'm trying to find it! Are you getting an

Cyrus IMAP with pam_mysql?

2003-08-26 Thread Johan Paul
Hi, Has anyone managed to get the Cyrus imapd to authenticate with pam_mysql -authentication? In /usr/local/etc/imapd.conf I have: allowanonymouslogin: no allowplaintext: yes sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN ...among other things. I am running saslauthd with pam authenticati