Problems with Auth_RADIUS under CentOS 4.6

Problems with Auth_RADIUS under CentOS 4.6

by Tony Corley -
Number of replies: 0

On restoring a backup of our main moodle enviroment to a new machine running CentOS 4.6 everything seemed to work okay apart from the RADIUS authentication. I duly went to pear and attempted to install Auth_RADIUS as suggested. First problem, pear needed to be updated, given that one of their download servers had been turned off. Several other loadloads and updates later, I managed to get to the stage of running pear install --alldeps Auth_RADIUS only to find that it wanted pear/radius 1.2.4 (not available for download). Eventually found out that pecl install http://pecl.php.net/get/radius-1.2.4.tgz (not sure about the link) allowed me to go back and install Auth_RADIUS. Put the requisite extension=radius.so in php.ini, but no joy, moodle still said that Auth_RAIDUS was not present. Uninstalled and reinstalled several times over, installed everything I could from pear, still the message remained. pear told me that radius and Auth_RADIUS were present, the httpd had be restarted about 20 times, but still the accursed message remained. Eventally decided I would see what happend when I knocked out the code that checks for AUTH_RADIUS_PAP in /auth/radius/config.html ie the first three line stanza, I did, and everything worked as it should. Not sure what has happened, but the fact that one can't get pear/radius directly (ie need to go via pecl) may mean that Moodle doesn't pick up that Auth_RADIUS is there, when it is. Hope this is of some use to someone. I am very grateful to the gentleman in Bromley who set up the Radius plugin, much easier to use with an AD controller than LDAP, which seems hideously complex.

Average of ratings: -