OK, there was an extra line in /etc/impad.conf removed it in vi.
killall master ; /usr/cyrus/bin/master still no mysql connection recorded in mysql log (tail -f ). sudo pam is still making a mysql connection and querying the mysql database though. Ramiro Morales wrote: > Vincent: > > I do not remember if you said you use Cyrus 2.0.16 > in your original post. But if it is the case > perhaps you may want to be sure you do not have > extra trailing spaces in the lines of /etc/impad.conf > > 2.0.16 has this bug. It is now fixed in CVS > (file is imap/config.c just if you want to patch it in > your local copy). > > Good luck. > > Vincent Stoessel <[EMAIL PROTECTED]> wrote: > >>OK, tried that and added the extra mysql parameters >>even though according to the pam docs, they are only necessary >>if you need to change the defaults. >> >>Still no joy. >>:-( >> >> >> >>Nick Ustinov wrote: >> >> >>>I'd change it to >>> >>>auth optional /lib/security/pam_mysql.so ... >>> >>>is user cyr without password? also, you need db= table= usercolumn= >>> >>>Nick >>> >>>-----Original Message----- >>>From: Vincent Stoessel [mailto:[EMAIL PROTECTED]] >>>Sent: Tuesday, October 02, 2001 00:59 >>>To: Nick Ustinov >>>Cc: [EMAIL PROTECTED] >>>Subject: Re: cyrus/pam tutorial? >>> >>> >>>yeah ,killed and started master again. >>>here is the file wc reports 3 lines. My email may have broken it up >>>though >>> >>>[root@web pam.d]# cat imap >>>auth optional pam_mysql.so user=cyr host=securedb >>>passwdcolumn=Password crypt=2 >>>auth required pam_warn.so >>>account required pam_mysql.so user=cyr host=securedb >>>passwdcolumn=Password crypt=2 >>> >>> > > -- > Tamiro > > > ____________________________________________________________________ > Get free e-mail and a permanent address at http://www.amexmail.com/?A=1 > -- Vincent Stoessel [EMAIL PROTECTED] Java Linux Apache Mysql Php (JLAMP) Engineer (301) 362-1750 Mobile (410) 419-8588