Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2003 01:58:17 +0100
From:      Jez Hancock <jez.hancock@munk.nu>
To:        freebsd-questions@freebsd.org
Subject:   Re: saslauthd not working?
Message-ID:  <20030924005817.GA4619@users.munk.nu>
In-Reply-To: <20030923171919.M85629@cheshire.cat.pdx.edu>
References:  <20030923171919.M85629@cheshire.cat.pdx.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 23, 2003 at 05:32:33PM -0700, Charlie Schluting wrote:
> Hi,
> 
> Trying to configure sasl with postfix.. and I keep getting "Login
> Failed"
Not a massive help this one but maybe a small nudge :)

Have you tried using the testsaslauthd util to test whether saslauthd
is actually authenticating ok?  I think you may need to build the
utility manually - I don't think it's installed by the freebsd port by
default.  There should be instructions in the port somewhere about it.

Ok:

cd /usr/ports/security/cyrus-sasl2-saslauthd/
make configure
cd /usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.15/saslauthd
make testsaslauthd

should work :)


To use - this is from the file
/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.15/saslauthd/LDAP_SASLAUTHD:

-snip-
3. TESTING
----------

First build testsaslauthd:
cd $sasl_src/saslauthd
make testsaslauthd

Run test utility:
./testsaslauthd -u igor -p secret
0: OK "Success."

If you get output other then Success, check the auth.* syslog facility.
Hopefully this will give you enough information to make adjustements in
the
startup and/or configuration files.
-snip-

No idea about postfix I'm afraid - saslauthd works very nicely with Exim
though :)

-- 
Jez

http://www.munk.nu/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030924005817.GA4619>