The existing rlm_sql and rlm_ldap modules are also very good sources to examine. You may also want to look at the rlm_rest module that allows you to integrate with RESTful web services. You may find this suits your needs and wouldn’t require writing a new module. — Aaron
On Oct 24, 2014, at 11:52 AM, Alan DeKok <aland@deployingradius.com> wrote:
Ehsan Mohammadi wrote:
hi i`m pretty new to freeradius but i know AAA i want to write a custom module to authenticate users with a nosql database and want to know
1. is v3 reliable or i should use v2 freeradius?
All new development is done in v3. Version 2 is stable, and has no new features.
2. is any material to study and learn best practices?
Read the source. It's heavily commented.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html