The reason I'm using PAM is so I can choose SMB to authenticate the users. No matter what I do in /etc/pam.d/imap or pop it still uses the Linux system accounts to authenticate. I want to use SMB user/pass to authenticate.
Even if I remove /etc/pam.d/imap and pop courier still works and uses my Linux system accounts to authenticate against, and it shoudllnt' becuase the only authentication method I have in authdaemonrc is pam. So I'm confused to how I can get this to work if courier is not even paying attention to what I have in authdaemonrc. Keith On Fri, 2002-05-24 at 16:41, Jesse Burkhardt wrote: > > > > I'm using a new installation of Courier-IMAP with Postfix. > > IMAP,POP,SMTP all work. But it's not reading authdaemonrc for my choice > > of authentication. I've told it to use "authpam" but it's not. It's > > using system account passwords. How cam I make it read it??? > > I am not sure what you mean by "It's using system account passwords.", but I > think that you mean actual user accounts as oppsoed to vitual ones. This is > what authpam is supposed to do. From > http://www.courier-mta.org/authlib.html : > > "... that the authenticated account's home directory, userid and groupid are > still read from the /etc/passwd file, since PAM functionality is limited to > validating account passwords. > ... > Example: using authpam to authenticate system accounts, and authmysql to > authentication virtual mailboxes without a corresponding system account." > > > Courier is installed in: > > /usr/lib/courier-imap > > > > I'm editing: > > /usr/lib/courier-imap/etc/authdaemonrc > > > > In authdaemonrc I have this snippit: > > authmodulelist="authpam" > > > > In /etc/pam.d/pop3 and imap I have the following: > > auth required pam_smb_auth.so > > account required pam_stack.so service=system-auth > > > > I have a system account passwd and I've changed my smb password to > > something different. I can always login to pop or imap with my system > > password but not with the smb passwd. I've even removed pop3 and imap > > for pam.d to see if it's even looking at those files and I don't get any > > errors. > > > > I'm really stuck to why this isn't working and would appreciate any > > help. > > > > Thanks, > > > > Keith > > > > _______________________________________________________________ > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > > > _______________________________________________ > > courier-users mailing list > > [EMAIL PROTECTED] > > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users > > -- > Jesse Burkhardt > 206 Franklin St. > Cambridge MA 02139 > (617) 354-5523 > work: (617) 876-5680 > [EMAIL PROTECTED] > _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users