postfix + cyrus-sasl + PAM + pam_ruby
Sean O'Malley
omalleys at msu.edu
Thu Jul 23 12:06:11 EDT 2009
On Thu, 23 Jul 2009, David van Geest wrote:
> pam_ruby apparently doesn't support the debug argument, I get no more
> logging than I did before and hunting through the module source I see no
> mention of any debug functionality.
> Changed my /etc/pam.d/smtp to the following:
> #%PAM-1.0
> auth required /lib/security/pam_ruby.so
> /lib/security/ruby/simple2.rb /tmp/passwd debug
> account required pam_permit.so debug
> password required pam_permit.so debug
> session required pam_permit.so debug
>
> I stopped the saslauthd service and ran saslauthd, then tried
> "testsaslauthd -u test -p testpass -r"127.0.0.1;234" -s smtp". Here's
It might not support debug. I dunno never used pam_ruby. But then i would
take the debug flag out. :P
Take out the -r "127.0.0.1,234" line out of your testsaslauthd line. It
is probably tacking that on to the end of you username and causing issues.
i was testing something else with it. it came from my documentation.
--------------------------------------
Sean O'Malley, Information Technologist
Michigan State University
-------------------------------------
More information about the Cyrus-sasl
mailing list