From owner-freebsd-questions@FreeBSD.ORG Mon Jul 14 02:35:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF95F106564A for ; Mon, 14 Jul 2008 02:35:33 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id 5F1978FC20 for ; Mon, 14 Jul 2008 02:35:33 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so1693412nfh.33 for ; Sun, 13 Jul 2008 19:35:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=xVk4GXIq+GTbfKdqAEpG0BBpBpJ5Cr0miv95rZX74vI=; b=i57oVBtj+5G1xQAM8MYpTBSiVqYuhP7w31u3YtGWmeGIy7flCuTuQR+RYC1DAlwXSw JMrK0Y7w2LZP3YLrFO6OztMsGPm8W/me3F5YwQzJg7gOCtmM3x8TH95HHyYSMZjcHyYh mrMCaWPzVwpPRGszLMID1F8hTVYt7DVs4ZyxM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=Edfmh5OHWItpynXjb1QsAqO4n1E+X+Jl7aRUhYrSJ6p4RlfgRRf5qHqOhDhuLzg57X MIkqOaHOIn985sHDH4bXxZVYBZ5E1DzT6YLgvfWeKLuqIvYaMkfSNfExSoAQ5BCIE3qn 56KLbJsA/IhlkpBMe40kDw+WfXGXhkW0nChbg= Received: by 10.210.121.8 with SMTP id t8mr8547828ebc.67.1216002931836; Sun, 13 Jul 2008 19:35:31 -0700 (PDT) Received: from darklight.homeunix.org ( [85.173.19.107]) by mx.google.com with ESMTPS id z33sm5774975ikz.0.2008.07.13.19.35.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 13 Jul 2008 19:35:30 -0700 (PDT) Received: from darklight.homeunix.org (yuri@darklight.homeunix.org [127.0.0.1]) by darklight.homeunix.org (8.14.2/8.14.2) with ESMTP id m6E2ZQsZ075123; Mon, 14 Jul 2008 06:35:26 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.homeunix.org (8.14.2/8.14.2/Submit) id m6E2ZPCP075122; Mon, 14 Jul 2008 06:35:25 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.homeunix.org: yuri set sender to yuri.pankov@gmail.com using -f Date: Mon, 14 Jul 2008 06:35:25 +0400 From: Yuri Pankov To: Duane Hill Message-ID: <20080714023525.GA99198@darklight.homeunix.org> References: <20080713171432.GN92868@saturn.pcs.ms> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Martin Schweizer , freebsd-questions@freebsd.org Subject: Re: saslauthd on AMD64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2008 02:35:34 -0000 --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 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--