pyrad
pyrad copied to clipboard
Python RADIUS Implementation
Hello friend, how are u? I am working hard in a solution to authenticate some users using pyrad, but I got some issues that I would like to share with...
Using pyrad-2.0 (from easy_install), pointing it at freeradius 2.1.10's dictionary collection: ``` >>> from pyrad.dictionary import Dictionary >>> Dictionary("/etc/freeradius/dictionary") ... ParseError: dictionary.rfc5904(16): Parse error: Illegal type: short >>> ``` I...
Hi, I am using Pyrad 2.0. I have a dictionary with many attributes. Many of them have the ID > 255. like this : ATTRIBUTE Digest-URI 1066 string struct.pack seems...
Hi I am trying to run the client following the documentation. It looks like the PwCrypt function is not defined in the pyrad.client.Client. I am receiving the errors below, the...
VerifyAcctRequest doc says it returns True if verification failed: https://github.com/wichert/pyrad/blob/master/pyrad/packet.py#L490 This seems contrary to expectations, and I think contrary to the test assertions: https://github.com/wichert/pyrad/blob/master/pyrad/tests/testPacket.py#L393 So it seems the doc is...
File "server3.py", line 159, in srv.Run() File "/root/pyrad-2.0/example/pyrad/server.py", line 242, in Run self._ProcessInput(fdo) File "/root/pyrad-2.0/example/pyrad/server.py", line 221, in _ProcessInput self._HandleAuthPacket(pkt) File "server3.py", line 128, in _HandleAuthPacket self.get_password( pkt['User-Name'][0] ) )...
Hi! _DecodeValue in packet.py fails with struct.error when in a dictionary is specified an invalid datatype or when the value is different from what expected. Either _DecodeValue or DecodeAttr in...
Hi. It is possible to use pyrad as a client for extended types of authentication such a EAP-MD5, EAP-GTC,etc.?
A cleartext value is wrong for salt encrypted attributes in a RADIUS packet (e.g. MS-CHAP2 MPPE keys). There are two points about a hash value: 1. Decryption and encryption functions...
When attempting to perform asynchronous I/O operations on non-socket file descriptors (e.g., files) on Windows, the functionality is limited or not supported. On Windows, asynchronous I/O operations are limited to...