The code is very new and completely untested (I haven't got time) so I'd appreciate anyone out there with time and inclination who could test it out against their own IMAP servers etc. You just need to download the latest CVS code or nightly archive, and for now, you will need to manually edit parameters in auth/*/lib.php (a GUI is coming).
Please be very cautious using these new authentication methods in production environments.
Cheers,
Martin
Re: New authentication methods - IMAP, POP3, NNTP, database
Thanks hugely, Martin. It's a great system....and I'm sure we'll be using it a lot.
Another thought on a potential new feature. Would it be possible to put in a "Copy Course" function? The idea being that if you want to create a new version of an existing course, then you can make a new course based on the old one (but with a new name obviously). Then you go in and tweak it to your heart's content while the old one keeps on going, until you are ready to put the new one up.
If you are making a new course that is very similar to an existing one then it would save a bit of time and duplicated effort. Just a thought.
*By the way!* You should have a small parcel arriving in the post fairly soon...
rgds
Sean M Keogh, Oxford (and Swindon), UK
Re: New authentication methods - IMAP, POP3, NNTP, database
This upcoming feature may help do what you want: http://bugs.moodle.org/bug.php?op=show&bugid=84
Cheers,
Martin
rgds
Sean K
I like the idea of a copy feature this would save time, also a poll feature would be nice, even though I have made my own, just takes a little work.
Thanks
Re: New authentication methods - IMAP, POP3, NNTP, database
Hi Martin and others in this forum :
I encounter one problem on using external authentication using POP3 .
When I set up a e-mail server IP , and try to login into moodle , I got a "blank page".
(of course , I typed in a valid ID/Pwd)
I don't know what happened , because there is no error message , it's just a "blank page " .
And the URL of the page is "moodle/login/index.php".
Is there any one out there have this problem ?
I did setup the IP/POP3/Port number/instruction.
Anything I did wrong ?
Anyone can give me a hand on this strang problem ?
Thanks and Regards
Liang
Re: New authentication methods - IMAP, POP3, NNTP, database
Blank pages are usually the symptom of a "require" file having an error.
Anyone else got an idea? (If you find the answer, Liang, post back here)
Re: New authentication methods - IMAP, POP3, NNTP, database
Hi Martin :
Thanks for your reply .
I try to put 3 different error("string#"); on 3 places(not in the same time ) in order to trace where it has been through.
And I found the string shows it's been through "case pop3" (it show the string1 on the top with "continue" bellow it and plus footer--in a standard theme layout ).
What else I can attempt to do ?
Thanks and Regards
Re: New authentication methods - IMAP, POP3, NNTP, database
Keep doing what you're doing and try and find the exact file and line where the problem is. Post a screenshot if you think it might be helpful.
Re: New authentication methods - IMAP, POP3, NNTP, database
only before this line :$connection = imap_open($host, $username, $password, OP_HALFOPEN);
will show those screenshot as attachment.
P.S.:
1.I am using the "night version " download today.
2. The environment I try include 1) win2000 pro with IIS -night version(2) win2000 pro with FoxServer-1.0.6
using two different computer, the first one use "localhost" , another one use an internal IP , do u think that will cause any problem ?
Re: New authentication methods - IMAP, POP3, NNTP, database
Re: New authentication methods - IMAP, POP3, NNTP, database
I just type in the IP of the mail server , for example :212.1.1.5
Re: New authentication methods - IMAP, POP3, NNTP, database
Re: New authentication methods - IMAP, POP3, NNTP, database
linux pop server , port 25 , 110 for smtp and pop . (And I type ip and port 110 in moodle for sure)
we block the imap port for security reason, do u think it will be the reason ?
Re: New authentication methods - IMAP, POP3, NNTP, database
Re: New authentication methods - IMAP, POP3, NNTP, database
The SQL command is very simple but I hear MSSQL has "issues" with normal SQL.
Re: New authentication methods - IMAP, POP3, NNTP, database
I just got the error message : can't connect to the specific database.
I'll look at the code later to find out more about the "Pconnect () " and "connect" things.
I'll let you know if I find anything.
Re: New authentication methods - IMAP, POP3, NNTP, database
Now for the weird part!
This exact same setup is running on this computer, except, its a Windows XP Pro machine! So the same servers are running and it's setup with the same configuration settings. Mirror box except its in Windows. This Windows box works fine. Authenticates using any method I want and all. So where is the difference? Hope you guys can help!