SCS-CBU-CED-IAM / freeradius-mobileid

Mobile ID enabler for FreeRADIUS
7 stars 2 forks source link

Reply-Message seems not be returned on freeradius V3 #11

Closed FreddyKaiser closed 8 years ago

FreddyKaiser commented 9 years ago
echo "User-Name=+41798440457,User-Password=''" | radclient -t 120 localhost auth testing123
Received response ID 150, code 3, length = 20
exec-mobileid::INFO: MSS_Signature +41798440457 'Demo: Authentication with Mobile ID?' en
exec-mobileid::INFO: FAILED on +41798440457 with error 406 (PB_SIGNATURE_PROCESS: Signature request already in progress.)
exec-mobileid::INFO: RC=2
(1) mobileid : Program returned code (2): Reply-Message:="Error on the user device while confirming the request. Probably an other signature request is already in progress. Please try again." 
(1)   [mobileid] = fail
(1)  } #  post-auth = fail
(1) Using Post-Auth-Type Reject
(1) # Executing group from file /etc/raddb/sites-enabled/mobileid
(1)  Post-Auth-Type REJECT {
(1) attr_filter.access_reject :     expand: "%{User-Name}" -> '+41798440457'
(1) attr_filter.access_reject : Matched entry DEFAULT at line 11
(1)   [attr_filter.access_reject] = updated
(1)  } # Post-Auth-Type REJECT = updated
(1) Finished request 1.
Waking up in 0.9 seconds.
(1) Sending delayed reject
FreddyKaiser commented 8 years ago

New needs the -x param echo "User-Name=+xxx,User-Password='zzz'" | radclient -t 120 127.0.0.1:1812 auth testing123 -x

Sending Access-Request Id 161 from 0.0.0.0:47938 to 127.0.0.1:1812
    User-Name = '+xxx'
    User-Password = 'zzz'
Received Access-Reject Id 161 from 127.0.0.1:1812 to 127.0.0.1:47938 length 64
    Reply-Message = 'The request has been canceled by the user.'
(0) -: Expected Access-Accept got Access-Reject