IMAP/POP auth not working

Re: IMAP/POP auth not working

by Ken Task -
Number of replies: 3
Picture of Particularly helpful Moodlers

Thanks for information.  Helps clarify the problem.

To be honest, have never attempted IMAP authentication for Moodle so most of my questions are more 'food for thought' than anything else.

However, that being said, have you turned on debugging in Moodle to see if it says anything?

Think the issue is related to pam_winbind ... ie, PAM.  IMAP uses PAM but might not be able to communicate with the Moodle server.  Maybe the authentication method should be PAM.

http://docs.moodle.org/22/en/PAM_%28Pluggable_Authentication_Modules%29

http://bit.ly/Xn6A2H

'spirit of sharing', Ken

 

In reply to Ken Task

Re: IMAP/POP auth not working

by Markus Översti -

pam-auth is not the answer. I tried to get it working, but I can't find php4-pam which it needs because I use php5. Link in Moodle configuration leads to 404 error page on server which hosted php4-pam.

And Moodle's pam-auth doesn't have any configuration...

In that log file pam-winbind is a module which dovecot uses for authentication.

In reply to Markus Översti

Re: IMAP/POP auth not working

by Ken Task -
Picture of Particularly helpful Moodlers

What does php -m show on your system?

Does php5-auth-pam show in the list?

http://packages.ubuntu.com/search?keywords=php5-auth-pam

'spirit of sharing', Ken

In reply to Ken Task

Re: IMAP/POP auth not working

by Markus Översti -

Both command line's and apache2's php has loaded imap- and pam-auth -modules.