Skip to content

Commit

Permalink
NR changed things, just force the user to read their instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jimdigriz committed May 23, 2023
1 parent 8ddfec9 commit 3ae04c2
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,21 @@ How to use Debian is described below, but the instructions should be adaptable w

### Debian/Ubuntu

Starting with a fresh empty Debian 'buster' 10.x (or Ubuntu 'bionic' 18.04) installation, as root run the following:
Starting with a fresh empty Debian 'buster' 10.x (or Ubuntu 'bionic' 18.04) or later installation, as `root` run the following:

apt-get update
apt-get -y install --no-install-recommends ca-certificates curl libjson-pp-perl libwww-perl
curl -f -o /etc/apt/trusted.gpg.d/networkradius.gpg.asc http://packages.networkradius.com/pgp/packages@networkradius.com
( . /etc/os-release && echo "deb [signed-by=/etc/apt/trusted.gpg.d/networkradius.gpg.asc] http://packages.networkradius.com/releases/$ID-$VERSION_CODENAME $VERSION_CODENAME main" > /etc/apt/sources.list.d/networkradius-freeradius.list )
apt-get update
apt-get -y install --no-install-recommends freeradius freeradius-utils

You should now have a working FreeRADIUS 3.0.x installation.
Now follow the instructions at the [FreeRADIUS Packages](https://networkradius.com/packages/#fr30) site to install their release of FreeRADIUS.

You should now have a working FreeRADIUS 3.0.x installation but to verify you have done this step correctly, please run the following:

dpkg-query --showformat '${Maintainer}\n' -W freeradius
Network RADIUS SARL <info@networkradius.com>

**N.B.** these instructions were tested using `docker run -it --rm -v $(pwd):/opt/freeradius-oauth2-perl debian:buster-slim` and with FreeRADIUS 3.0.21
Confirm the output states "Network RADIUS SARL", if it lists "Debian" (or "Ubuntu") then you need to recheck what you did as it was incorrect.

**N.B.** these instructions were tested a long time ago using `docker run -it --rm -v $(pwd):/opt/freeradius-oauth2-perl debian:buster-slim` and with FreeRADIUS 3.0.21, so your numbering may be different!

It is *strongly* recommended at this point you create a backup of the original configuration:

Expand All @@ -77,6 +80,8 @@ This will let you to track the changes you made using:

diff -u -N -r /etc/freeradius.orig /etc/freeradius

**N.B.** if your configuration shows to have a `3.0` (or `3.2`) directory in `/etc/freeradius` then you have *not* correctly followed the instructions above so recheck!

# Configuration

## Microsoft Azure AD (Office 365)
Expand Down

0 comments on commit 3ae04c2

Please sign in to comment.