From owner-freebsd-stable@FreeBSD.ORG Thu Sep 25 15:12:54 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C886CB0; Thu, 25 Sep 2014 15:12:54 +0000 (UTC) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ozzie.tundraware.com", Issuer "ozzie.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2807ABF8; Thu, 25 Sep 2014 15:12:53 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.9/8.14.9) with ESMTP id s8PFChrk021462 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 25 Sep 2014 10:12:43 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <542430EB.1040804@tundraware.com> Date: Thu, 25 Sep 2014 10:12:43 -0500 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: Dimitry Andric Subject: Re: 10.1 BETA2 World - Breaks saslauthd References: <3DA4B666-AB81-4F25-ABAE-DDC163F41E20@FreeBSD.org> In-Reply-To: <3DA4B666-AB81-4F25-ABAE-DDC163F41E20@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ozzie.tundraware.com [75.145.138.73]); Thu, 25 Sep 2014 10:12:43 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: s8PFChrk021462 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Cc: FreeBSD stable , =?windows-1252?Q?Dag-Erl?= =?windows-1252?Q?ing_Sm=F8rgrav?= X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 15:12:54 -0000 On 09/25/2014 10:04 AM, Dimitry Andric wrote: >> If I just install a new kernel, everything is fine. But if I install >> world, that's when the problem shows up. I've tried a full reinstall of >> cygnus sasls and the daemon is running. >> >> Ideas on how to chase this down/fix, would be appreciated... > > It is probably caused by this MFC: http://svnweb.freebsd.org/changeset/base/271766 > > To make saslauthd work again, you need to specify a correct PAM policy > file in /usr/local/etc/pam.d for your service, most likely "smtp" in > this case. E.g., create a file /usr/local/etc/pam.d/smtp, containing at > least: > > auth required pam_unix.so no_warn try_first_pass > account required pam_unix.so > session required pam_permit.so > password required pam_permit.so > > Optionally, add a line: > > auth required pam_group.so luser group=smtp-users fail_safe > > to allow only members of the smtp-users group to authenticate > successfully. > > -Dimitry > Yup, that worked. Thanks! Now, for those of us less than smart, could you explain why this was necessary in context of that MFC? Thanks very much ... -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/