From owner-freebsd-questions Fri Feb 18 2:59: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from rivendell.mel.vet.com.au (rivendell.mel.vet.com.au [203.103.154.61]) by hub.freebsd.org (Postfix) with ESMTP id 8E05037B945 for ; Fri, 18 Feb 2000 02:59:02 -0800 (PST) (envelope-from lodea@vet.com.au) Received: (from lodea@localhost) by rivendell.mel.vet.com.au (8.9.3/8.9.3) id VAA03818; Fri, 18 Feb 2000 21:58:12 +1100 (EST) Date: Fri, 18 Feb 2000 21:58:12 +1100 From: "Lachlan O'Dea" To: gerti-freebsdq@bitart.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: pam and imap Message-ID: <20000218215811.C3151@vet.com.au> Mail-Followup-To: gerti-freebsdq@bitart.com, freebsd-questions@FreeBSD.ORG References: <20000218101223.5237.qmail@camelot.bitart.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.3i In-Reply-To: <20000218101223.5237.qmail@camelot.bitart.com>; from gerti@bitart.com on Fri, Feb 18, 2000 at 04:12:22AM -0600 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Feb 18, 2000 at 04:12:22AM -0600, Gerd Knops wrote: > Hi, > > I am trying to get pam authentication to work with the Cyrus imapd package on > 3.4 stable (cvsup'd Sunday). > > /etc/pam.conf contains a boilerplate entry that should catch the request: > > other auth required pam_unix.so try_first_pass > > However it fails with syslog reporting > > ... authpam: no modules loaded for `imap' service > > I duplicated the 'other' entry in pam.conf, replacing 'other' with imap, no > help. I made sure the line is read by changing 'pam_unix.so' to a bogus entry > and getting the expected error messages about that. > > Any ideas? Not really. I can tell you what I've got in my setup, which is working. This is with FreeBSD 3.3, Cyrus imapd 1.6.20 and sasl 1.5.11. /etc/pam.conf: imap auth required pam_ldap.so imap account required pam_ldap.so imap session required pam_ldap.so imap password required pam_ldap.so I'm using LDAP rather than /etc/passwd, obviously. (BTW, I removed freebsd-stable from Cc) -- Lachlan O'Dea Computer Associates Pty Ltd Webmaster Vet - Anti-Virus Software http://www.vet.com.au/ "A Jedi must have the deepest commitment, the most serious mind." - Yoda, Jedi Master To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message