-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Captive Portal RADIUS-Auth Unable to validate credentials at the moment #8379
Comments
@fdurand please test/verify |
Same bug against Radius on freeradius with PF 14. Exactly the same behavior.
Did you find a way to resolve the issue ? |
On our side, these two KBs have caused the problem: KB5040437 This problem arises because Authen::Radius compares a raw binary value ($calc_hmac) and a decoded, hexdumpart value ($rfc3579_msg_auth). I made the following changes in /usr/local/pf/lib_perl/lib/perl5/Authen/Radius.pm: Faulty code is : $rfc3579_msg_auth = $a->{Value}; should be: $rfc3579_msg_auth = $a->{RawValue}; |
Thank you, After I modify radius.pm the test
But when I try on the captive portal I still have the "Unable to validate credentials at the moment" and these logs in packetfence.log :
I'm almost there ... |
Hmmm...try the last version of Authen::Radius and have you restarted httpd.portal? Unfortunately, I don't have any more tips. |
We have a fix for this |
Great ! Because even after httpd.portal restart it is the same ... I am running Packetfence version 14.0.0 Thank you. |
Describe the bug
We use PackageFence version 11 and authenticate to the CaptivePortal against RADIUS on a Windows Server 2016. PacketFence has not joined the domain and we use ONLY RADIUS as authentication source. Everything worked fine. We have made no ConfigChanges on PacketFence. Since about 4 weeks the login to the Captive Portal is no longer possible. After logging in, the user gets this message:
"Unable to validate credentials at the moment"
BUT: the windows radius-server clearly allows the connection request of the users.
We have the same configuration testet with PacketFence v13 and v14. Allways the same behavior.
These updates for Windows were installed on 30.09.24:
KB5041576
KB5041773
(our security policy does not allow me to uninstall the updates)
On packetfence.log we have this messages:
I have analyzed the network traffic with Wireshark and everything works fine:
I used
/usr/local/pf/bin/pftest authentication KNOWN_USER KNOWN_PASS
and the correct authentication source is also resolved, but the same error message appears:
I also used radtest and this works fine:
I suspect the problem is with the RADIUS response from the Windows server. Access is allowed, but PacketFence does not process the response properly.
The error is reported in this routine:
How can I solve the problem or better narrow it down? Does anyone have a good idea?
The text was updated successfully, but these errors were encountered: