privacyidea / FreeRADIUS

Add two factor authentication to FreeRADIUS via privacyIDEA
GNU General Public License v2.0
19 stars 17 forks source link

Return RLM_MODULE_FAIL on certain events #15

Closed cornelinux closed 5 years ago

cornelinux commented 5 years ago

RLM_MODULE_FAIL allows the FreeRADIUS to implement better redundant strategies.

All return codes not equal to "OK 200" should result in an RLM_MODULE_FAIL. A wrong password/OTP returns a "OK 200 - value=False", and thus result in an RLM_MODULE_REJECT: