Title: Message
I think that this may be my problem.
 
I inspected my authlib subfolder and did NOT see the authpam file.  I had read earlier that the pam-devel library needs to be installed for Courier-IMAP to compile the authpam module.  I downloaded and installed the pam-devel-0.75.46.7.3.rpm from Redhat.  Incidentally, I have pam-0.75.46.7.3 installed.  I rebooted the server and made a rpm of courier-imap-1.4.3.tar.gz.  I installed the new courier-imap rpm, but the authpam file is still missing?  Any idea what I'm doing wrong?
-----Original Message-----
From: Gabriel Calderon [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 1:20 PM
To: 'John C. Suomi'
Subject: RE: [courier-users] PAM Authentication Problem (Newbie question)?

I had the same problem, I don't know why but in my situation PAM was not compiled when I compiled courier-imap. Check to see that you have authpam in the authlib subfolder, if you don't you need to compile PAM support for courier. Also if you are trying to use pam with winbind make sure that your system does not have an auth-system-winbind, if it does you should use this instead of auth-system in your imap or pop3 pam authentication file.

 

Hope this helps

 

-----Original Message-----
From: John C. Suomi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 11:55 AM
To: [EMAIL PROTECTED]
Subject: [courier-users] PAM Authentication Problem (Newbie question)?

 

Hi,

I just installed courier-imap-1.4.3 on a Redhat 7.3 server with qmail 1.03 installed.  I'm having problems with IMAP password authentication.  Specifically, I get the following when I telnet to 0.0.0.0 on the server:

Trying 0.0.0.0
Connected to 0
Escape character is '^]'.
*Ok Courier-IMAP ready.  Copyright 1998-2002

I try to login as user hubert

a1 login Hubert
a1 NO Error in IMAP command received by server
a3 logout
* BYE Courier-IMAP server shutting down
a3 OK LOGOUT completed
Connection closed by foreign host

I've read the Courier-IMAP Install and it mentions authpam and site-specific steps in order to configure my PAM library.  I searched the courier-users archive at http://www.mail-archive.com/[EMAIL PROTECTED]/ and saw similar problems with authentication.  I also searched the PAM list at Redhat and didn't find anything related to IMAP.  I didn't see any reference to how my /etc/pam.d/imap should be configured.  The contents of it are as follows:

auth required pam_nologin.so
auth required pam_stack.so service=system-auth
account required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth

I've edited my imapd file.  Specifically, I changed the following:

AUTHMODULES= "authdaemon" to AUTHMODULES="authpam"

I've noticed that if I revert to the "authdaemon" setting and try to login, I get a1 NO Login failed.

I've edited my /usr/courier-imap/etc/authdaemonrc file.  Specifically, I changed the following Authmodule list to:

Authmodulelist="authpam"

Any insight would be appreciated.

John

Reply via email to