Skip to content

Instantly share code, notes, and snippets.

@nemesifier
Last active July 11, 2017 15:17
Show Gist options
  • Save nemesifier/3b0b55ed9c33828492b9a01b7e216bf6 to your computer and use it in GitHub Desktop.
Save nemesifier/3b0b55ed9c33828492b9a01b7e216bf6 to your computer and use it in GitHub Desktop.
sample freeradius configuration showing how to delegate authorization and authentication to the rml_rest module
# /etc/freeradius/sites-enabled/default
# ... other sections omitted for brevity ...
authorize {
# enable rml_rest module
if (&User-Password) {
update control {
Auth-Type := 'rest'
}
}
# ... omitted ...
}
authenticate {
rest
# ... omitted ...
}
# ... other sections omitted for brevity ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment