Getting FreeRadius 1.1.4 Running with eDirectory on SLES 10
Novell Cool Solutions: Tip
By Charles Short
Digg This -
Posted: 14 Mar 2007
A Forum reader recently asked:
"Is Novell planning on distributing an rpm for FreeRADIUS version 1.1.4? We are in need of this version so we are Vista-compatible."
And here's the response from Charles Short ...
SLES 10 has FreeRADIUS 1.1.0. Here's what you need to do to install FreeRADIUS 1.1.4 on to SLES 10:
First, build the RPM's required for SuSE from source (logged in as root):
1. cd /usr/src/packages/SOURCE
2. wget ftp://ftp.uk.freeradius.org/pub/radius/freeradius-1.1.4.tar.gz
3. tar -zxf freeradius-1.1.4.tar.gz
4. cp freeradius-1.1.4/suse/freeradius.spec ../SPECS
5. cd ..
6. vi SPECS/freeradius.spec
7. Change the version number to version 1.1.4 at top of file (the incorrect version number 1.1.3 is there which will cause the build to fail).
8. Comment out the line containing otppasswd.sample (I found the rpm would not build as this file was not present).
9. rpmbuild -ba SPECS/freeradius.spec
10. Resolve dependencies displayed on screen with Yast (install the relevant packages).
11. rpmbuild -ba SPECS/freeradius.spec
The rpm's should now be built with the eDirectory extensions included.
To install the rpm's:
1. rpm -iv RPMS/i586/freeradius-1.1.4-0.sles10.i586.rpm
2. rpm -iv RPMS/i586/freeradius-devel-1.1.4-0.sles10.i586.rpm
If you find it hard to resolve dependencies, you can always install the older Yast offering of FreeRADIUS first, which will install dependencies. Then use the --force switch for rpm, or remove with Yast, which will not remove the required dependencies.
Once installed this link will help you integrate with eDir:
I found that there are changes in the radiusd.conf file from the Novell Forge older release version, such as "user=radiusd" and "group=radiusd". These are different AND not commented out by default. This broke my TLS connection to my Novell LDAP server. It worked when I commented them out.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com