1 message in net.sourceforge.lists.courier-users[courier-users] courier-imap and PAM ...
FromSent OnAttachments
DennisFeb 16, 2001 11:10 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] courier-imap and PAM authentication - HELPActions...
From:Dennis (ze@optushome.com.au)
Date:Feb 16, 2001 11:10:24 pm
List:net.sourceforge.lists.courier-users

Hi all...

Can someone please enlighten me as to what I might be doing wrong. I am using pam_smb to authenticate all email account holders on my linux email server via our PDC (NT4) I'm using pam_smb-1.9.8.

My /etc/pam.d/imap file needed for courier-imap...

#%PAM-1.0 # # $Id: system-auth.authpam,v 1.1 2001/02/02 05:42:57 mrsam Exp $ # # Copyright 1998-2001 Double Precision, Inc. See COPYING for # distribution information. # # This is a sample authpam configuration file that uses pam_stack # (circa linux-pam 0.72).

auth required pam_nologin.so auth required pam_smb_auth.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

My pam_smb.conf file...

MY_PDC,MY_F1,MY_GRA_F1

My pam_smb.usermap file ...

a.back=MY_PDC\aback a.brand=MY_PDC\abra a.cengiz=MY_PDC\adem a.davis=MY_PDC\amanda etc..

I am starting pamsmbd via /etc/rc/d/rc.local I am also starting courier-imap's "authdaemon" and imapd via /etc/rc/d/rc.local

This is the error I keep getting when I try to authenticate a user...

----------------------------------------------------------------------------

--------------------------- Feb 17 16:18:00 mail authdaemond.plain: authdaemon: modules="authpam", daemons=10 Feb 17 16:18:01 mail modprobe: modprobe: Can't locate module net-pf-10 Feb 17 16:18:29 mail PAM_unix[585]: authentication failure; (uid=0) -> r.duncan for system-auth service Feb 17 16:18:39 mail PAM_unix[585]: authentication failure; (uid=0) -> r.duncan for system-auth service Feb 17 16:18:50 mail PAM_unix[574]: (system-auth) session opened for user root by LOGIN(uid=0) Feb 17 16:18:50 mail -- root[574]: ROOT LOGIN ON tty1

Does anyone have any idea what the problem might be ?