Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2002 12:22:39 -0400
From:      "Robin P. Blanchard" <robin.blanchard@georgiacenter.org>
To:        stable@freebsd.org, ume@FreeBSD.org, hetzels@westbend.net, ports@freebsd.org
Subject:   cyrus / sasl / ldap woes
Message-ID:  <3D611B4F.2050605@georgiacenter.org>

next in thread | raw e-mail | index | archive | help
freshly installed -STABLE with freshly installed ports:

cyrus-imapd-2.0.16_3
cyrus-sasl-1.5.27_6
db3-3.2.9_3,1
makedepend-2000.12.28
openldap-2.0.25

# fgrep ldap /usr/local/etc/imapd.conf
sasl_pwcheck_method: ldap
sasl_ldap_server: 10.10.10.225
sasl_ldap_basedn: o=gactr,c=us

# ldd /usr/local/lib/libsasl.so.8
/usr/local/lib/libsasl.so.8:
         libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28115000)
         libkrb.so.3 => /usr/lib/libkrb.so.3 (0x2812e000)
         libcrypto.so.2 => /usr/lib/libcrypto.so.2 (0x28147000)
         libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x28205000)
         libpam.so.1 => /usr/lib/libpam.so.1 (0x28207000)
         libldap.so.2 => /usr/local/lib/libldap.so.2 (0x28211000)
         liblber.so.2 => /usr/local/lib/liblber.so.2 (0x28236000)
         libssl.so.2 => /usr/lib/libssl.so.2 (0x2823f000)
# ldd  /usr/local/cyrus/bin/imapd
/usr/local/cyrus/bin/imapd:
         libsasl.so.8 => /usr/local/lib/libsasl.so.8 (0x28118000)
         libssl.so.2 => /usr/lib/libssl.so.2 (0x28126000)
         libcrypto.so.2 => /usr/lib/libcrypto.so.2 (0x28154000)
         libdb3.so.2 => /usr/local/lib/libdb3.so.2 (0x28212000)
         libwrap.so.3 => /usr/lib/libwrap.so.3 (0x28289000)
         libc.so.4 => /usr/lib/libc.so.4 (0x28291000)
         libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x2832e000)
         libkrb.so.3 => /usr/lib/libkrb.so.3 (0x28347000)
         libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x28360000)
         libpam.so.1 => /usr/lib/libpam.so.1 (0x28362000)
         libldap.so.2 => /usr/local/lib/libldap.so.2 (0x2836c000)
         liblber.so.2 => /usr/local/lib/liblber.so.2 (0x28391000)

This test box has the same config as the following, working (production) 
box; but imapd doesn't talk to LDAP (tcpdump verifies this), it just 
checks the sasldb file and gives up.

now, our production mail server is 4.6-STABLE (Sun Jun 16 23:39:27 EDT 
2002) with the following ports:

cyrus-imapd-2.0.16_2
cyrus-sasl-1.5.27_1
db3-3.2.9_3,1
makedepend-2000.12.28
openldap-2.0.21

# fgrep ldap /usr/local/etc/imapd.conf
sasl_pwcheck_method: ldap
sasl_ldap_server: 10.10.10.225
sasl_ldap_basedn: o=gactr,c=us

# ldd /usr/local/lib/libsasl.so.8
/usr/local/lib/libsasl.so.8:
         libdb3.so.2 => /usr/local/lib/libdb3.so.2 (0x28114000)
         libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x2818b000)
         libkrb.so.3 => /usr/lib/libkrb.so.3 (0x281a4000)
         libcrypto.so.2 => /usr/lib/libcrypto.so.2 (0x281bd000)
         libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x2827a000)
         libpam.so.1 => /usr/lib/libpam.so.1 (0x2827c000)
         libldap.so.2 => /usr/local/lib/libldap.so.2 (0x28285000)
         liblber.so.2 => /usr/local/lib/liblber.so.2 (0x282aa000)
         libssl.so.2 => /usr/lib/libssl.so.2 (0x282b3000)
# ldd  /usr/local/cyrus/bin/imapd
/usr/local/cyrus/bin/imapd:
         libsasl.so.8 => /usr/local/lib/libsasl.so.8 (0x28118000)
         libssl.so.2 => /usr/lib/libssl.so.2 (0x28126000)
         libcrypto.so.2 => /usr/lib/libcrypto.so.2 (0x28153000)
         libdb3.so.2 => /usr/local/lib/libdb3.so.2 (0x28210000)
         libkvm.so.2 => /usr/lib/libkvm.so.2 (0x28287000)
         libwrap.so.3 => /usr/lib/libwrap.so.3 (0x2828d000)
         libc.so.4 => /usr/lib/libc.so.4 (0x28295000)
         libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28331000)
         libkrb.so.3 => /usr/lib/libkrb.so.3 (0x2834a000)
         libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x28363000)
         libpam.so.1 => /usr/lib/libpam.so.1 (0x28365000)
         libldap.so.2 => /usr/local/lib/libldap.so.2 (0x2836e000)
         liblber.so.2 => /usr/local/lib/liblber.so.2 (0x28393000)

is still chugging along just great, authenticating against LDAP.

anyone else using the combo of ports? any success with the current revs?

ideas?


-- 
----------------------------------------
Robin P. Blanchard
Systems Integration Specialist
Georgia Center for Continuing Education
fon: 706.542.2404 <|> fax: 706.542.6546
----------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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