From rfg@monkeys.com Thu Nov  4 14:37:18 1999
Return-Path: <rfg@monkeys.com>
Received: from monkeys.com (i180.value.net [206.14.136.180])
	by hub.freebsd.org (Postfix) with ESMTP id B08C61568B
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Nov 1999 14:37:13 -0800 (PST)
	(envelope-from rfg@monkeys.com)
Received: (from rfg@localhost)
	by monkeys.com (8.9.3/8.9.3) id OAA15426;
	Thu, 4 Nov 1999 14:35:16 -0800 (PST)
Message-Id: <199911042235.OAA15426@monkeys.com>
Date: Thu, 4 Nov 1999 14:35:16 -0800 (PST)
From: "Ronald F. Guilmette" <rfg@monkeys.com>
Reply-To: rfg@monkeys.com (Ronald F. Guilmette)
To: FreeBSD-gnats-submit@freebsd.org
Subject: Need support for imap4 and pop3 in /etc/pam.conf
X-Send-Pr-Version: 3.2

>Number:         14714
>Category:       conf
>Synopsis:       Need support for imap4 and pop3 in /etc/pam.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    phantom
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov  4 14:40:00 PST 1999
>Closed-Date:    Wed Apr 25 01:48:43 PDT 2001
>Last-Modified:  Wed Apr 25 01:50:13 PDT 2001
>Originator:     Ronald F. Guilmette
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
E-Scrub Technologies, Inc.
>Environment:

>Description:

	There is no support for imap4 or pop3 servers in /etc/pam.conf.

>How-To-Repeat:

	Grab the Cyrus imapd package (and the associated SASL library) from
	ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ and then build and install
	them and then try to use them.

	You will immediately run into problems when you try to authenticate
	yourself to either the imapd server or the pop3d server because they
	both use the Cyrus SASL library for handling authentication and it
	in turn uses PAM (where available).  But the /etc/pam.conf file that
	is being distributed with FreeBSD 3.3 doesn't know anything about
	any services called either "imap" or "pop3", so you will just get
	authentication failures and messages to the syslog like:

	blah blah blah: no modules loaded for service "imap"

>Fix:
	
	Add the following two lines to /etc/pam.conf:

	imap    auth    required        pam_unix.so           try_first_pass
	pop3    auth    required        pam_unix.so           try_first_pass


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->phantom 
Responsible-Changed-By: phantom 
Responsible-Changed-When: Mon Jan 10 06:08:43 PST 2000 
Responsible-Changed-Why:  
Patch commited to -CURRENT, so I'll remember to MFC to -STABLE soon. 

From: Gerd Knops <gerti@bitart.com>
To: freebsd-gnats-submit@FreeBSD.org, rfg@monkeys.com
Cc:  
Subject: Re: conf/14714: Need support for imap4 and pop3 in /etc/pam.conf
Date: Fri, 18 Feb 2000 03:58:41 -0600

 3.4 current has a boilerplate definition in pam.conf:
 
 other   auth    required        pam_unix.so                     try_first_pass
 
 However that doesn't help, the error message still appears. Even modifying the  
 entry to read imap instead of other doesn't help. I verifyed the entry is read  
 bu changing the module name to something bogus, that promptly gives a  
 different error message.
 
 gerd
 
State-Changed-From-To: open->feedback 
State-Changed-By: dougb 
State-Changed-When: Tue Apr 24 22:31:49 PDT 2001 
State-Changed-Why:  

Can you confirm whether this is still a problem for RELENG_4? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=14714 
State-Changed-From-To: feedback->closed 
State-Changed-By: dougb 
State-Changed-When: Wed Apr 25 01:48:43 PDT 2001 
State-Changed-Why:  

Originator is unable to test a more modern system at this time, and 
phantom can't test the pam bits directly. However, the suggested 
fix is applied in -current and RELENG_4, so on we go. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=14714 
>Unformatted:
