django-radius icon indicating copy to clipboard operation
django-radius copied to clipboard

A RADIUS authentication backend for Django

Results 10 django-radius issues
Sort by recently updated
recently updated
newest added

Some RADIUS-servers like Aruba Clearpass are inserting bogus non unicode data after the configured attributes. The configured attributes are handled correctly but trying to decode the bogus data crashes the...

When importing `radiusauth` you now get an ImportError with Python3.10. It looks like the import of `basestring` from `past.builtins` is causing the issue. However, I cannot see where `basestring` is...

Error is: ``` return super().authenticate(*args, **kwargs) File "/Users/guang/vm/py/py36/lib/python3.6/site-packages/radiusauth/backends/radius.py", line 211, in authenticate result = self._radius_auth(server, username, password) File "/Users/guang/vm/py/py36/lib/python3.6/site-packages/radiusauth/backends/radius.py", line 174, in _radius_auth return self._perform_radius_auth(client, packet) File "/Users/guang/vm/py/py36/lib/python3.6/site-packages/radiusauth/backends/radius.py", line 154,...

Is there a work around for this package to work on Windows servers? Keep getting the poll error

Hi, and thanks for the great work! One little issue: as by now, it is impossible to distinguish between a failed authentication for when RADIUS answer is negative or a...

* Added 'su-staff' as a valid Class Attribute coming from RADIUS. This will set both is_staff and is_superuser to True in one action. * Added relevant call to README to...

I moved the group extraction of the RADIUS attribute 25 "Class" into another function. This makes it easier to customize this behavior.

Placed a try/except block in the _perform_radius_auth function that caught an invalid start byte from Windows Systems. This fixed #23

This allows you to implicitly set django to be in charge of group assignments, while still keeping remote_roles setting that will still bring over the is_staff and is_superuser flags from...

django-radius will now accept a role=su-staff Class 25 attribute from the RADIUS server to set both is_superuser and is_staff to True for the user in one step. I needed a...