SASL not initializing?

J.C. Roberts unknown at abac.com
Wed Feb 25 06:16:50 EST 2004


WARNING: wild guess below...

:-)

On Tue, 24 Feb 2004 22:23:19 -0600, you wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>(crossposted to info-cyrus and cyrus-sasl lists)
>
>Just built Cyrus/SASL 2.1.15 and am going through the setup, and
>everything works fine until I get to imtest. I'm hoping someone can be
>of assistance. Pertinent details are below.
>
>Any help is greatly appreciated. UW-imapd is gagging and puking over
>here, and I'm fed up, and want something more robust.
>
>- -Ian Beyer
>
>
>
>imtest -m login mail.nerdherd.net
>failure: SASL initialization
>
>auth.log shows the following:
>
>Feb 24 18:12:46 schizo imapd[1251]: [ID 702911 auth.notice] Bad
>IPREMOTEPORT value
>Feb 24 18:12:46 schizo imapd[1251]: [ID 702911 auth.notice] Bad
>IPLOCALPORT value
>
>Platform is Solaris 9 on sun4u
>Compiling with GCC 3.2.1
>
>SASL build options:
>
>- --with-openssl=/usr/local/ssl
>- --prefix=/usr/local/cyrus
>- --with-bdb-libdir=/usr/local/BerkeleyDB.3.3/lib
>- --with-bdb-incdir=/usr/local/BerkeleyDB.3.3/include
>
>IMAP build options:
>
>- --with-sasl=/usr/local/cyrus --prefix=/usr/local/cyrus
>- --with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib
>- --with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include
>- --with-openssl=/usr/local/ssl
>- --with-auth=unix
>- --with-libwrap=/export/source/tcp_wrappers_7.6
>

You're telling IMAP to look for libsasl2 in /usr/local/cyrus
    --with-sasl=/usr/local/cyrus

Unfortunately, you're building SASL differently, so it probably thinks it's going
to the /usr/local/lib or /usr/lib directory. You might try adding this to your
SASL build options:

    --with-sasl=/usr/local/cyrus

If you're using the sasl auth mech plugins in some way...
    --with-plugindir=/usr/local/cyrus/sasl2

and make sure you have links from /usr/lib/sasl and /usr/lib/sasl2 to the plugin
directory prior to compiling the other stuff (IMAP sendmail etc).

Also, I'm not sure how/if the use of different BDB versions will affect things but
for sanity/simplicity, I'd try using the same version on both SASL and IMAP just
to get things working correctly and then try using the two different versions.

I hope this helps,
JCR





More information about the Info-cyrus mailing list