I have a problem using the Radius Plugin, first the Config file is not found, but it is placed correctly, and then the Response could not be parsed and got rejected, but it says the access is granted
(5) Received Access-Request Id 65 from 10.16.X.XXX:50288 to 10.16.X.XX:1812 length 95
(5) NAS-IP-Address = 10.16.X.XXX
(5) NAS-Port = 1
(5) User-Name = "user1"
(5) User-Password = "password1"
(5) Message-Authenticator = 0x40a8e93b51ac195c16fadf097ebf3878
(5) # Executing section authorize from file /etc/raddb/sites-enabled/privacyidea
(5) authorize {
(5) [preprocess] = ok
(5) [digest] = noop
(5) suffix: Checking for suffix after "@"
(5) suffix: No '@' in User-Name = "user1", looking up realm NULL
(5) suffix: No such realm "NULL"
(5) [suffix] = noop
(5) ntdomain: Checking for prefix before "\"
(5) ntdomain: No '\' in User-Name = "user1", looking up realm NULL
(5) ntdomain: No such realm "NULL"
(5) [ntdomain] = noop
(5) files: users: Matched entry DEFAULT at line 47
(5) [files] = ok
(5) [expiration] = noop
(5) [logintime] = noop
(5) pap: WARNING: No "known good" password found for the user. Not setting Auth-Type
(5) pap: WARNING: Authentication will fail unless a "known good" password is available
(5) [pap] = noop
(5) } # authorize = ok
(5) Found Auth-Type = Perl
(5) # Executing group from file /etc/raddb/sites-enabled/privacyidea
(5) Auth-Type Perl {
(5) perl: $RAD_REQUEST{'User-Name'} = &request:User-Name -> 'user1'
(5) perl: $RAD_REQUEST{'User-Password'} = &request:User-Password -> 'password1'
(5) perl: $RAD_REQUEST{'NAS-IP-Address'} = &request:NAS-IP-Address -> '10.16.X.XXX'
(5) perl: $RAD_REQUEST{'NAS-Port'} = &request:NAS-Port -> '1'
(5) perl: $RAD_REQUEST{'Event-Timestamp'} = &request:Event-Timestamp -> 'Jul 22 2019 16:34:16 CEST'
(5) perl: $RAD_REQUEST{'Message-Authenticator'} = &request:Message-Authenticator -> '0x40a8e93b51ac195c16fadf097ebf3878'
(5) perl: $RAD_CHECK{'Auth-Type'} = &control:Auth-Type -> 'Perl'
(5) perl: $RAD_CONFIG{'Auth-Type'} = &control:Auth-Type -> 'Perl'
rlm_perl: Config File not found!
rlm_perl: Debugging config: FALSE
rlm_perl: Default URL https://127.0.0.1/validate/check
rlm_perl: Looking for config for auth-type Perl
rlm_perl: Warning:
rlm_perl: Auth-Type: Perl
rlm_perl: url: https://127.0.0.1/validate/check
rlm_perl: user sent to privacyidea: user1
rlm_perl: realm sent to privacyidea:
rlm_perl: resolver sent to privacyidea:
rlm_perl: client sent to privacyidea: 10.16.X.XXX
rlm_perl: state sent to privacyidea:
rlm_perl: urlparam client
rlm_perl: urlparam pass
rlm_perl: urlparam user
rlm_perl: Request timeout: 10
rlm_perl: Not verifying SSL certificate!
rlm_perl: privacyIDEA access granted
rlm_perl: Can not parse response from privacyIDEA.
rlm_perl: return RLM_MODULE_REJECT
(5) perl: &request:User-Name = $RAD_REQUEST{'User-Name'} -> 'user1'
(5) perl: &request:Event-Timestamp = $RAD_REQUEST{'Event-Timestamp'} -> 'Jul 22 2019 16:34:16 CEST'
(5) perl: &request:User-Password = $RAD_REQUEST{'User-Password'} -> 'password1'
(5) perl: &request:NAS-Port = $RAD_REQUEST{'NAS-Port'} -> '1'
(5) perl: &request:NAS-IP-Address = $RAD_REQUEST{'NAS-IP-Address'} -> '10.16.X.XXX'
(5) perl: &request:Message-Authenticator = $RAD_REQUEST{'Message-Authenticator'} -> '0x40a8e93b51ac195c16fadf097ebf3878'
(5) perl: &reply:Reply-Message = $RAD_REPLY{'Reply-Message'} -> 'privacyIDEA access granted'
(5) perl: &control:Auth-Type = $RAD_CHECK{'Auth-Type'} -> 'Perl'
(5) [perl] = reject
(5) } # Auth-Type Perl = reject
(5) Failed to authenticate the user
(5) Using Post-Auth-Type Reject
(5) Post-Auth-Type sub-section not found. Ignoring.
(5) Delaying response for 1.000000 seconds
Waking up in 0.9 seconds.
(5) Sending delayed response
(5) Sent Access-Reject Id 65 from 10.16.X.XX:1812 to 10.16.X.XXX:50288 length 48
(5) Reply-Message = "privacyIDEA access granted"
Waking up in 3.9 seconds.
(5) Cleaning up request packet ID 65 with timestamp +2590
Ready to process requests