SASL not initializing?

Ian Beyer manuka at nerdherd.net
Wed Feb 25 07:59:44 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

J.C. Roberts wrote:

| 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.

Doh, that was silliness on my part, I'd copied that config over from
another box, that did have BDB 4.2, not 3.3, and SASL in /usr/local.

Serves me right for trying this without coffee. Good catch.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)

iD8DBQFAPJxARGycTB/It0gRAkZ6AJsFhbfCt1BRSXHSaaffc5XW9qbZ8ACg4VCv
YvDCyttsWRBLV+Xvo9oHbl0=
=miUb
-----END PGP SIGNATURE-----





More information about the Info-cyrus mailing list