[Web-cyradm] libpam-mysql and sqllog

Mikko Toivola mikko.cwa at pikkasenkuti.com
Fri Oct 27 09:50:41 CEST 2006


Hi.

Now that you mentioned, I got "(unknown)" in the host column also  
(just turned sqllog on). I think pam_mysql is working right, since  
there's no errors in syslog, and the column gets populated. I think  
problem is lying in saslauthd not being able to pass the host to PAM.  
I tried sqllog on both cyrus and postfix via saslauthd (same  
results), and I'm about to test pam_mysql via some regular service  
(thinking ftp) to see if it works. I report back as soon as possible.

  Mikko

On 25.10.2006, at 18:43, c.grill at ecka-granules.com wrote:

> Hi List,
>
> I am currently testing the sqllog function of pam-mysql.
>
> And of course I am running into a (minor) problem.
>
> I've made the following additional entries to my working /etc/pam.d/ 
> imap file:
>
> sqllog=true logtable=log logmsgcolumn=msg logusercolumn=user
> loghostcolumn=host logpidcolumn=pid logtimecolumn=time
>
> All but the loghostcolumn get logged. So it is kind of working,  
> except for the
> host column being empty.
>
> I really would also like to have the corresponding host logged. In  
> the regular
> mail log files the host is logged perfectly.
>
> libpam-mysql is Version 0.5 (Debian stable package).
>
> Any suggestions/tips/hints?
>
> Regards,
>
> Claus
> _______________________________________________
> This mailing list is hosted and supported
> by bit-heads GmbH | http://www.bit-heads.ch
>
> _______________________________________________
> Web-cyradm mailing list
> Web-cyradm at web-cyradm.org
> http://www.web-cyradm.org/mailman/listinfo/web-cyradm
>



More information about the Web-cyradm mailing list