Horde and Moodle

Horde and Moodle

by Dante Dinawanao -
Number of replies: 3

Mabuhay!

I'm using Horde (http://www.horde.org) to implement our university's students web portal (http://my.msuiit.edu.ph) where students can access their grades, see the deans' lists, access their email, etc., and Moodle (http://moodle.com) for for our online learning environment for the undergraduate (and soon, the graduate level). I have PARTIALLY integrated this two by making them authenticate with the same LDAP server. Partial because the students still need to login to two different login screens when they want to access either of the two.

Anyone tried integrating this two? Meaning, a student needs to login ONLY once, and then both will be accessible. I have tried integrating a module into horde. You only need to add the following lines at the top of the page you want to protect,

if (($reason = IMP::authenticate(null, true)) !== true) {
    header('Location: ' . Horde::applicationUrl(IMP::logoutUrl('login.php', $reason), true));
    exit;
}

Can anyone point me where in moodle I should place these lines (a global auth function perhaps) so that it will use the same auth method as in horde?

Salamat.

Average of ratings: -
In reply to Dante Dinawanao

Re: Horde and Moodle

by Jake Lowry -
Have you had any luck? I wish to do the same thing...
In reply to Jake Lowry

Re: Horde and Moodle

by Martín Langhoff -
Integrating IMAP webmails is a bit more tricky than other web apps, as they have to add some trickery and magic to keep the actual password around. Penny Leach has done it really well with Squirrelmail (another webmail written in PHP). Search the forums for squirrelmail and you'll find her postings, and links to patches.

We run it in an installation with an LDAP backend and 35K user accounts.