>Shouldn't this be passwd=bar instead of password=bar ?
>
>Tim Evans wrote:
>
>>
>> #%PAM-1.0
>> auth    optional        /lib/security/pam_mysql.so user=foo password=bar
>> db=healthhub table=auth usercolumn=username passwdcolumn=password crypt=1
>> account required        /lib/security/pam_mysql.so user=foo password=bar
>> db=healthhub table=auth usercolumn=username passwdcolumn=password crypt=1
>>
>

Patrick is, of course, right here.  Thanks!

I did, however, have to change "optional" to "required" to get this to work
on my system.

Now, however, plain passwd authentication doesn't work for IMAP connections.
I needed the MySQL authentication so I didn't have to create login accounts
for every user and manage two passwords for each.  However, those users who
have real accounts cannot get authenticated.  If you want to use additional
authentication methods, do you string them in the imapd.conf file, or the
PAM file?

Also, can someone provide a reference to a generic document on PAM?

Thanks.
-- 
Tim Evans       [EMAIL PROTECTED]     |    5 Chestnut Court
http://www.tkevans.com/tkevans.html     |    Owings Mills, MD 21117
(443) 394-3864                          |    (800) 946-4646, PIN #1716638

Reply via email to