SUSE Conversations


Getting FreeRadius 1.1.4 Running with eDirectory on SLES 10



By: cemshort

March 14, 2007 9:09 am

Reads:420

Comments:1

Score:Unrated

Print/PDF

Problem

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 …

Solution

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:
http://www.webservertalk.com/message1140517.html

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.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Categories: Uncategorized

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

1 Comment

  1. By:brief

    Where can I get binary packages of FreeRADIUS

    One of the FreeRADIUS developers Peter Nixon maintains FreeRADIUS binary packages for many versions of Linux as part of the OpenSUSE project. They can be found at:

    * http://software.opensuse.org/download/network:/aaa/

    You may also easily build a package from sources. The FreeRADIUS tarball contains scripts for Debian, Redhat and Suse.

Comment

RSS