EAP-GTC does not include User-Password in any of the VP lists, hence python modules can't do anything with it #2268
Labels
feature enhancement
category: a new feature (an extension of functionality)
v3.x.x
meta: relates to the v3.0.x branch
v4.0.x
meta: relates to the v4.0.x branch
Issue type
Defect
Documentation in
mods-enabled/eap
say thatHowever, User-Password attribute is not put in any of the VPS lists (request, reply, config, proxy...). Hence, modules written in languages such as Python or Perl cannot access to it.
How to reproduce the issue
What happens is that
rlm_eap_gtc.c
is setting the VP in request->password, but is not adding it torequest->packet
orrequest->config
. This is not an issue if you want to implement your own C module, as you have access to the wholerequest
structure. However, if you want to perform authentication using Python/Perl/... then you cannot get the value.I guess it could be added also to request->config or request->packet. What do you think? If you agree I can easily create a PR with the functionality.
The text was updated successfully, but these errors were encountered: