Add two factor authentication to FreeRADIUS via privacyIDEA
GNU General Public License v2.0
19
stars
17
forks
source link
Can't call method "Groups" on an undefined value at /etc/raddb/mods-config/perl/privacyidea_radius.pm #27
Closed
bc1000 closed 5 years ago
Hi, I installed a privacyidea machine and followed this guide: https://www.privacyidea.org/two-factor-authentication-with-otp-on-centos-7/
I used latest privacyidea_radius.pm from this page and have the following info in the radius.log when I execute radclient:
Mon Apr 15 17:21:23 2019 : Info: rlm_perl: elapsed time for privacyidea call: 0.3591 Mon Apr 15 17:21:23 2019 : Info: rlm_perl: privacyIDEA access granted Mon Apr 15 17:21:23 2019 : Info: rlm_perl: Can't call method "Groups" on an undefined value at /etc/raddb/mods-config/perl/privacyidea_radius.pm line 245. Mon Apr 15 17:21:23 2019 : Info: rlm_perl: Can not parse response from privacyIDEA. Mon Apr 15 17:21:23 2019 : Info: rlm_perl: return RLM_MODULE_REJECT
I try to test radius login with a test account with a valid token:
echo "User-Name=testuser@defrealm, User-Password=test635653" | radclient -sx localhost auth testing123 Sent Access-Request Id 202 from 0.0.0.0:33333 to 127.0.0.1:1812 length 57 User-Name = "testuser@defrealm" User-Password = "test635653" Cleartext-Password = "test635653" Received Access-Reject Id 202 from 127.0.0.1:1812 to 0.0.0.0:0 length 48 Reply-Message = "privacyIDEA access granted" (0) -: Expected Access-Accept got Access-Reject Packet summary: Accepted : 0 Rejected : 1 Lost : 0 Passed filter : 0 Failed filter : 1
I am not sure, if I am missing some configuration or this REJECT belongs to the module.