forked from guillaumerose/radius-mongodb
-
Notifications
You must be signed in to change notification settings - Fork 1
MongoDB for FreeRADIUS
akhenakh/radius-mongodb
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
EDIT: This will be rewrite with REST api. MongoDB module for FreeRADIUS (lastest version) This is just a simple hack in order to use MongoDB as user database (instead of LDAP). Currently just set Cleartext-password (as rlm_files does). * Copy rlm_mongo into src/modules/ * Add "rlm_mongo" in src/modules/stable * Build as usual * ./configure * make * make install * Edit your configuration * Create a file named mongo in raddb/modules/ and insert this : mongo { } * Add in your site configuration in authorize sub-section "mongo" * Run radiusd * For accounting * Edit your configuration as follow mongo { acct_base = "radius.acct" only_stop = "yes" } only_stop will account only stop tickets using Acct-Status-Type Note : If you use rlm_mongo in inner-tunnel and mac filter, ensure you have this in eap.conf copy_request_to_tunnel = yes Debug : Requests can be show in mongodb web interface Todo : Escape strings (c) Guillaume Rose Under the same licence as FreeRADIUS
About
MongoDB for FreeRADIUS
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 100.0%