Authentication

 
 
Picture of Ken Task
Re: IMAP/POP auth not working
Group 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

 

 
Average of ratings: -
Picture of Markus Översti
Re: IMAP/POP auth not working
 

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.

 
Average of ratings: -
Picture of Ken Task
Re: IMAP/POP auth not working
Group 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

 
Average of ratings: -
Picture of Markus Översti
Re: IMAP/POP auth not working
 

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

 
Average of ratings: -