saslauthd on AMD64
Yuri Pankov
yuri.pankov at gmail.com
Mon Jul 14 02:35:34 UTC 2008
On Sun, Jul 13, 2008 at 04:58:56PM +0000, Duane Hill wrote:
> On Sun, 13 Jul 2008, Martin Schweizer wrote:
>
>> Hello Duane
>>
>> Do you have some inputs (config files etc.)?
>
> $ ls -l /usr/local/lib/sasl2/
> -rw-r--r-- 1 root wheel 26 Jun 17 22:11 Sendmail.conf
> -rw-r--r-- 1 root wheel 22834 Jun 11 19:16 libcrammd5.a
> -rwxr-xr-x 1 root wheel 815 Jun 11 19:16 libcrammd5.la
> lrwxr-xr-x 1 root wheel 15 Jun 11 19:16 libcrammd5.so -> libcrammd5.so.2
> -rwxr-xr-x 1 root wheel 24482 Jun 11 19:16 libcrammd5.so.2
> -rw-r--r-- 1 root wheel 63976 Jun 11 19:16 libdigestmd5.a
> -rwxr-xr-x 1 root wheel 838 Jun 11 19:16 libdigestmd5.la
> lrwxr-xr-x 1 root wheel 17 Jun 11 19:16 libdigestmd5.so -> libdigestmd5.so.2
> -rwxr-xr-x 1 root wheel 57212 Jun 11 19:16 libdigestmd5.so.2
> -rw-r--r-- 1 root wheel 20046 Jun 11 19:16 liblogin.a
> -rwxr-xr-x 1 root wheel 809 Jun 11 19:16 liblogin.la
> lrwxr-xr-x 1 root wheel 13 Jun 11 19:16 liblogin.so -> liblogin.so.2
> -rwxr-xr-x 1 root wheel 20895 Jun 11 19:16 liblogin.so.2
> -rw-r--r-- 1 root wheel 19894 Jun 11 19:16 libplain.a
> -rwxr-xr-x 1 root wheel 809 Jun 11 19:16 libplain.la
> lrwxr-xr-x 1 root wheel 13 Jun 11 19:16 libplain.so -> libplain.so.2
> -rwxr-xr-x 1 root wheel 20749 Jun 11 19:16 libplain.so.2
> -rw-r--r-- 1 root wheel 68 Jun 17 15:17 smtpd.conf
>
> $ cat /usr/local/lib/sasl2/smtpd.conf
> pwcheck_method: saslauthd
> mechlist: LOGIN PLAIN CRAM-MD5 DIGEST-MD5
>
> $ cat /usr/local/etc/saslauthd.conf
> ldap_servers: ldap://ldap.example.com
> ldap_bind_dn: mail=admin at ldap.example.com
> ldap_bind_pw: password
> ldap_search_base: cn=%d
> ldap_filter: mail=%u
> ldap_timeout: 60
> ldap_time_limit: 60
<snip>
Really just a guess as you are using LDAP. Try the attached patch and
rebuild cyrus-sasl2-saslauthd. If it doesn't help, try rebuilding sasl*
and openldap-client using WITH_DEBUG defined and post backtrace.
HTH,
Yuri
-------------- next part --------------
Index: ports/security/cyrus-sasl2-saslauthd/Makefile
===================================================================
RCS file: /home/ncvs/ports/security/cyrus-sasl2-saslauthd/Makefile,v
retrieving revision 1.51
diff -u -r1.51 Makefile
--- ports/security/cyrus-sasl2-saslauthd/Makefile 7 Aug 2007 16:46:22 -0000 1.51
+++ ports/security/cyrus-sasl2-saslauthd/Makefile 14 Jul 2008 02:31:44 -0000
@@ -62,6 +62,9 @@
WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER}
.endif
USE_OPENLDAP= yes
+.if ${WANT_OPENLDAP_VER} >= 23
+CFLAGS+= -DLDAP_DEPRECATED
+.endif
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
.endif
More information about the freebsd-questions
mailing list