Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2008 06:35:25 +0400
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        Duane Hill <d.hill@yournetplus.com>
Cc:        Martin Schweizer <office@pc-service.ch>, freebsd-questions@freebsd.org
Subject:   Re: saslauthd on AMD64
Message-ID:  <20080714023525.GA99198@darklight.homeunix.org>
In-Reply-To: <alpine.BSF.1.10.0807131647590.35402@duane.dbq.yournetplus.com>
References:  <alpine.BSF.1.10.0806152325120.75785@duane.dbq.yournetplus.com> <20080713171432.GN92868@saturn.pcs.ms> <alpine.BSF.1.10.0807131647590.35402@duane.dbq.yournetplus.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--X1bOJ3K7DJ5YkBrT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--X1bOJ3K7DJ5YkBrT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="saslauthd.diff"

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
 

--X1bOJ3K7DJ5YkBrT--



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