A FreeRADIUS configured with a Perl module to authenticate users against a Sierra ILS PatronAPI.
2.3K
A small FreeRADIUS Perl script that allows patron auth against the III Sierra PatronAPI.
This module depends on the following Perl modules:
And the following software:
They should be available in the package repository of your distribution and installed very easily by doing something like this:
Debian/Ubuntu
$ sudo apt-get update
$ sudo apt-get install libdatetime-perl libwww-perl freeradius
RHEL/CentOS
$ sudo yum install perl-DateTime perl-libwww-perl freeradius freeradius-perl
Once installed, FreeRADIUS will need to be configured appropriately. Some basic examples might be given at a future time, otherwise look over the FreeRADIUS documentation.
A Docker image is currently under development and when finished the Dockerfile will be included in this repository
At the moment, there are only 3 Environment variabled that need to be set for configuration of this script. This is only an example, and you should replace the given values with values that represent your environment.
Additionally, you will need these environment variables to be reset after a boot. This can usually be done by editing /etc/profile or by adding a file to /etc/profile.d/
# What is your timezone?
$ export RADIII_TIMEZONE=America/Detroit
# What is the base URL for your III Sierra server?
$ export RADIII_BASEURL=http://sierra-app.example.org:4500
# What is the maximum fine allowed for patrons to use services?
$ export RADIII_MAX_FINE=3.99
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
This isn't a complicated script, so just please try and keep things neat.
The code in this project is licensed under BSD-3 license. For more information, please see the LICENSE file.
Content type
Image
Digest
Size
16.1 MB
Last updated
about 8 years ago
docker pull cevanwells/radiii