LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Add cram-md5 to pam? (https://www.linuxquestions.org/questions/linux-networking-3/add-cram-md5-to-pam-853053/)

jago25_98 12-29-2010 10:47 AM

Add cram-md5 to pam?
 
I'm on Debian 5.0.7. How do I add cram-md5 to pam?



Code:

Dec 29 11:41:32 host authdaemond: received auth request, service=imap, authtype=cram-md5
Dec 29 11:41:32 host  authdaemond: authpam: trying this module
Dec 29 11:41:32 host  authdaemond: authpam only handles authtype=login
Dec 29 11:41:32 host  authdaemond: authpam: REJECT - try next module
Dec 29 11:41:32 host  authdaemond: FAIL, all modules rejected
Dec 29 11:41:32 host  imapd: LOGIN FAILED, method=CRAM-MD5, ip=[::ffff:127.0.0.1]

Code:

host:/etc/pam.d# cat /etc/pam.d/imap
# PAM configuration file for Courier IMAP daemon

@include common-auth
@include common-account
@include common-password
@include common-session
@include cram-md5

vserver-9hkhu9s8g:/etc/pam.d#

Background: Trying to get Apache2 with SquirrelMail & Courier working.

ilvista 12-29-2010 02:34 PM

i think the Authentication cram-md5 is not supported, you have to use plain or login.

good luck

jago25_98 12-29-2010 02:40 PM

Now I'm really confused. Courier won't let me use login only auth... hmm... switch mta I guess?

ilvista 12-29-2010 03:48 PM

try to read this
http://flurdy.com/docs/postfix/#config-extra-webmail

and i just learned that cram-md5 is supported!!i used plain login before.
i'm gonna give cram md5 a try.

good luck and let me know if something comes up.



Best regards


All times are GMT -5. The time now is 09:20 AM.