I am involved in building a Moodle VLE for the school I work in.
I'd like users to authenticate using the username & password they already have for the rest of the (AD 2003) network access.
So - a couple of questions:
- which is better / simpler to set up - RADIUS or LDAP? I don't need users to be able to change passwords via Moodle (2003 AD can be 'read-only').
- given the answer to the first question, is there an idiots guide to setting up RADIUS or LDAP that anyone can point me to please?
I am a simple infrastructure engineer - not a web site developer - I understand the AD end (I've got my MCSE) but the Moodle / PHP end just seems to be 'smoke & mirrors', with long listings of what seems to be code that (simple cable monkey that I am) I don't understand!
I am a Moodle 'virgin', using XAMPP over a 2003 Server install for the operational site and XAMPP over Ubuntu 8.10 as my test site (so I don't screw up the operational site). XAMPP is 1.6.8a - Moodle is 1.9.3. build 20081015
Any help would really be appreciated!
LDAP is (IMHO) easier to setup, and functionnality is pretty much the same. I'd say LDAP is substantially more tested (lots of people using it). Plus with LDAP, you can get SSO with NTLM for your domain users.
I have fixed Moodle Radius Plugin. All settings in the Moddle admin.
It's sipmle and safety (support all CHAP versions).
The RADIUS Plugin is attached.
Or you can download from:
I am trying to use your modified plugin but i can't. I'm not shure how to test it since i can only see a white empty page...
(Versions: kernel: 2.6.24-19-server, moodle: 1.9.3, php: 5.2.4-2ubuntu5.5, php-radius: 1.2-4 )
I was trying to get radius working against a database put in another server, and we were not sure why was not working.
1. So we began with a sniff to see if servers were talking, but they weren't.
2. We install php-radius by apt-get install php-radius but moodle says: “Warning: The Auth_RADIUS module does not seem to be present”. We couldn't found nothing in internet about this error.
3. Next step, see why we get an empty blank page… and we realize that we can use moodle's debugging mode. We turn on debugging by going to: Server → Debugging
4. After that we found there was a problem: moodle need a file called RADIUS.php
5. We try installing Stan's module found in sourceforge.net but still with problems… now that: "Call to undefined function radius_auth_open()".
6. So be put back original radius module. (moodle/auth/radius)
8. Finally we install 'php5-dev' and ran: pear install Auth_RADIUS ... and it works!!