Add support for Radius auth #2615

merged 6 commits into from Dec 19, 2015


None yet

5 participants

laf commented Dec 13, 2015

Fix #1295

So this adds Radius support as an authentication backend. I've only been able to test this using FreeRadius.

This will add users into mysql when someone successfully authenticates as level 1 user. ./adduser.php still works as normal so you can add admins in via the cli then when they auth via radius it will match up. / daily.php have also been updated to purge users that haven't logged in for X. We can extend this out further to other backends if we need to.

laf added some commits Dec 13, 2015
@laf laf Code for Radius authentication added b31cbd8
@laf laf Added acknowledgement of new php radius library 1f764d0
@laf laf Added docs and set default users to level 1 dcf4d0f
@laf laf Updated to support removing users that have not lo…
…gged in for X days - Radius only for now
@laf laf added the Core label Dec 13, 2015
@laf laf Fix some scrut issues
Rosiak commented Dec 13, 2015

Perhaps @job can help on testing this one?

laf commented Dec 13, 2015

Already posted in the issue.

@laf laf Added ability to specify default userlevel
laf commented Dec 14, 2015

Adds support for specifying what the default user level should be when auto creating users.

laf commented Dec 18, 2015

bump. Been tested by job.

job commented Dec 18, 2015

merge it. looks good to me

@f0o f0o merged commit 60dd814 into librenms:master Dec 19, 2015

2 checks passed

Auto-Deploy Build finished. No test results found.
Scrutinizer 16 new issues
@laf laf deleted the laf:issue-1295 branch Dec 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment