sasl problem (sigh)

Simon Matter simon.matter at ch.sauter-bc.com
Wed Jul 21 00:32:07 EDT 2004


> I was utterly convinced this was a postfix issue, but now I'm utterly
> convinced this is a saslauthd issue.
>
> Oh, go ahead and flame away if this is not an appropriate forum for
> saslauthd config problems, but after you've torched me, refer me to the
> right place :)

You are close, I guess cyrus-sasl would be correct, not info-cyrus :)

>
> I am running Redhat 9 with cyrus-sasl-2.1.18-5 that I installed from an
> RPM.

Which rpm from where? The one I provide from here
http://www.invoca.ch/pub/packages/cyrus-sasl/ ?

> I can make testsaslauthd work every time, hence my prior belief that this
> was a postfix issue.  My problem is that when the postfix smtpd daemon
> makes
> to call to the sasl library and and it connects to the saslauthd socket at
> /var/run/saslauthd/mux, and submits correct authentication parameters, it
> gets a "NO" when testsaslauthd from the command line gets an "OK."
>
> As I said, testsaslauthd from the command line is working peachy, and the
> way I know so much about the connections on behalf of the postfix smtpd
> daemon is I ran an strace, and got this stuff:
>
> First, happy stuff:
>
> [root at charlie root]# testsaslauthd -u ihunter -p noyb -f
> /var/run/saslauthd/mux
> 0: OK "Success."
>
> Now, unhappy stuff:
>
> Jul 20 14:57:29 charlie logger: connect(15, {sa_family=AF_UNIX,
> path="/var/run/saslauthd/mux"}, 110) = 0
> Jul 20 14:57:29 charlie logger: write(15, "ihunter\0noyb\0", 17)    = 17
> Jul 20 14:57:29 charlie logger: read(15, "\0\3NO ", 1023)               =
> 5

Isn't the above postfix code? Are you sure you have a correct postfix
installed?

Simon

>
> (if you're checking the lengths of strings, I changed my password to "none
> of your business" above)
>
> Help?
>
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>


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




More information about the Info-cyrus mailing list