Add support for Radius auth #2615

Merged
merged 6 commits into from Dec 19, 2015

Projects

None yet

5 participants

@laf
Member
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.sh / 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 daily.sh/daily.php to support removing users that have not lo…
…gged in for X days - Radius only for now
58d585e
@laf laf added the Core label Dec 13, 2015
@laf laf Fix some scrut issues
af21d4a
@Rosiak
Contributor
Rosiak commented Dec 13, 2015

Perhaps @job can help on testing this one?

@laf
Member
laf commented Dec 13, 2015

Already posted in the issue.

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

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

@laf
Member
laf commented Dec 18, 2015

bump. Been tested by job.

@job
Contributor
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.
Details
Scrutinizer 16 new issues
Details
@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