-
Notifications
You must be signed in to change notification settings - Fork 187
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
problem with packet reply-message #121
Comments
I'm getting the same error but due to KeyError 80:
|
kkirsche
added a commit
to kkirsche/django-radius
that referenced
this issue
Jan 30, 2020
pyrad 2.2. errors out during the authentication process, this modifies the install requires to avoid the broken version See issue on pyrad for more details of the issue pyradius/pyrad#121
@deusyv this should be fixed with latest master (f07c84d)! Would be nice if you can verify!!!
After Fix:
I will generate next version ASAP. |
Fixed in 2.3 (https://pypi.org/project/pyrad/) |
feedback: upgrading from 2.2 to 2.3 fixed it for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug in 2.2 : no problem in 2.1
Traceback (most recent call last):
File "/app/uti/project/views.py", line 81, in do_admin_login
reply = srv.SendPacket(req)
File "/app/venv-3.6/lib/python3.6/site-packages/pyrad/client.py", line 180, in SendPacket
return self._SendPacket(pkt, self.authport)
File "/app/venv-3.6/lib/python3.6/site-packages/pyrad/client.py", line 160, in _SendPacket
reply = pkt.CreateReply(packet=rawreply)
File "/app/venv-3.6/lib/python3.6/site-packages/pyrad/packet.py", line 620, in CreateReply
**attributes)
File "/app/venv-3.6/lib/python3.6/site-packages/pyrad/packet.py", line 609, in init
Packet.init(self, code, id, secret, authenticator, **attributes)
File "/app/venv-3.6/lib/python3.6/site-packages/pyrad/packet.py", line 99, in init
self.DecodePacket(attributes['packet'])
File "/app/venv-3.6/lib/python3.6/site-packages/pyrad/packet.py", line 542, in DecodePacket
elif self.dict.attributes[self._DecodeKey(key)].type == 'tlv':
KeyError: 18
problem with packet reply-message
in radius users file:
DEFAULT Group == "motor", NAS-Identifier == "10.205.21.150"
Reply-Message = "motor"
The text was updated successfully, but these errors were encountered: