-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[defect]: User-Password not set in authorize block when using EAP-GTC #5221
Comments
Yes, because EAP-GTC doesn't supply a User-Password attribute.
Which documentation says that? |
mods-enabled/eap
|
I just tested this and it works as described. The password is available in the authentication section, not in the authorise section. Configuration questions belong on the freeradius-users list. |
The documentation suggests it should be available in the authorize section -- otherwise cache_auth with its example sites-available/google-ldap-auth won't work. It won't straight up fail, but there will be a cache miss every time. cache_auth uses User-Password in the cache key. But because the password isn't in authorize, the cache config in authorize will perpetually check the cache with a blank password in the cache key. |
@andredigenova The documentation does not suggest that the password will be available in the The |
What type of defect/bug is this?
Non compliance with a standards document
How can the issue be reproduced?
if (&User-Password) { noop }
Possibly related to #2268.
The User-Password attribute is inaccessible/not present in the authorize block when using EAP-GTC contrary to documentation.
This breaks a few downstream things as well like the mods-enabled/cache_auth mod which relies on the password for a cache key.
Log output from the FreeRADIUS daemon
Relevant log output from client utilities
No response
Backtrace from LLDB or GDB
No response
The text was updated successfully, but these errors were encountered: