On Tue, 2007-04-17 at 12:50 +0530, ram wrote:
> I have a pam_mysql setup with a simple mysql table
> and saslauthd is running with the "-r" option on 
> If I test with a user on the primary domain it works fine , but for a
> user on any other domain there is an auth failure
> 
> 
> 
> -----------
> cat /etc/pam.d/imap
> #%PAM-1.0
> auth sufficient pam_mysql.so user=mail passwd=password verbose=1
> host=localhost db=mail table=users usercolumn=email
> passwdcolumn=password crypt=0
> 
> auth sufficient pam_unix_auth.so
> 
> auth required pam_mysql.so user=mail passwd=password verbose=1
> host=localhost db=mail table=users usercolumn=email
> passwdcolumn=password crypt=0
> 
> account  sufficient       pam_unix_acct.so
> ----------------------------
> 


Sorry for bothering you all

   I found the issue the third line in pam.d should be "account
required" instead of "auth required"  

Thanks
Ram





----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to