|
From: Faidon L. <par...@de...> - 2008-02-18 16:17:26
|
Marcus wrote: > An authentication-script could look something like this: > > #!/usr/bin/python Not really able to help you with your python script, but this is a really simple perl script I've written in the past (2005) for the same purpose. It uses a simple configuration file format: radius_host=radius.example.com radius_port=1812 radius_secret=foobar It only does the AA part of RADIUS plus it supports Framed-IP-Address, in case you need it. Be warned that the latter is implemented in a rather hackish way. IIRC, there are other solutions to RADIUS authentication that are more featureful. Haven't evaluated them though, the above works pretty well for me. Regards, Faidon |