Hi all,
I setup some RADIUS backend to allow AD authentication via the 'admin' of django. Alltough i got a problem with some dictionaries, i really don't know what i'm doing wrong. This is the error i got:
IOError at /admin/ Errno 2] No such file or directory: '/home/pl/dictionary.compat'
I installed pyrad, so it should be there and i've got a 'dic't file in the following style (/home/pl/dict):
#
# Version $Id: dictionary,v 1.1.1.1 2002/10/11 12:25:39 wichert Exp $
.....
$INCLUDE dictionary.compat # compability issues
$INCLUDE dictionary.acc
$INCLUDE dictionary.ascend
$INCLUDE dictionary.bay
....
The code i use in the RADIUS backend:
srv = Client(server=settings.RADIUS_SERVER,
secret=settings.RADIUS_SECRET,
dict=Dictionary("/home/pl/dict"))
Any ideas?