saslauthd pam_mysql problem for virtualdomains

ram ram at netcore.co.in
Tue Apr 17 03:50:31 EDT 2007


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







More information about the Info-cyrus mailing list