From owner-freebsd-questions@FreeBSD.ORG Tue Sep 23 17:58:18 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDE6F16A4B3 for ; Tue, 23 Sep 2003 17:58:18 -0700 (PDT) Received: from munk.nu (mail.munk.nu [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4135D43FF2 for ; Tue, 23 Sep 2003 17:58:18 -0700 (PDT) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.22) id 1A1xyz-0002Tu-2A for freebsd-questions@freebsd.org; Wed, 24 Sep 2003 01:58:17 +0100 Date: Wed, 24 Sep 2003 01:58:17 +0100 From: Jez Hancock To: freebsd-questions@freebsd.org Message-ID: <20030924005817.GA4619@users.munk.nu> Mail-Followup-To: freebsd-questions@freebsd.org References: <20030923171919.M85629@cheshire.cat.pdx.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030923171919.M85629@cheshire.cat.pdx.edu> User-Agent: Mutt/1.4.1i Sender: User Munk Subject: Re: saslauthd not working? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 00:58:19 -0000 On Tue, Sep 23, 2003 at 05:32:33PM -0700, Charlie Schluting wrote: > Hi, > > Trying to configure sasl with postfix.. and I keep getting "Login > Failed" Not a massive help this one but maybe a small nudge :) Have you tried using the testsaslauthd util to test whether saslauthd is actually authenticating ok? I think you may need to build the utility manually - I don't think it's installed by the freebsd port by default. There should be instructions in the port somewhere about it. Ok: cd /usr/ports/security/cyrus-sasl2-saslauthd/ make configure cd /usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.15/saslauthd make testsaslauthd should work :) To use - this is from the file /usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.15/saslauthd/LDAP_SASLAUTHD: -snip- 3. TESTING ---------- First build testsaslauthd: cd $sasl_src/saslauthd make testsaslauthd Run test utility: ./testsaslauthd -u igor -p secret 0: OK "Success." If you get output other then Success, check the auth.* syslog facility. Hopefully this will give you enough information to make adjustements in the startup and/or configuration files. -snip- No idea about postfix I'm afraid - saslauthd works very nicely with Exim though :) -- Jez http://www.munk.nu/