Hello moonshot community,
Hello Roland Hedberg
we are at the very beginning to test freeradius_pysaml2.py and are using
original moonshot test setup with openssh and "steve@local/testing".
After startup of freeradius server with
$ sudo LD_PRELOAD=/usr/lib/libpython2.6.so freeradius -XX -f
we've got following error when starting freeradius with
freeradius_pysaml2.py:
Thu Sep 29 16:10:55 2011 : Info: +- entering group post-auth {...}
...
Thu Sep 29 16:10:55 2011 : Debug: moonshot.py: Working on behalf of: :
<--- !!!
Thu Sep 29 16:10:55 2011 : Error: rlm_python:EXCEPT:<type
'exceptions.AttributeError'>: 'NoneType' object has no attribute 'config'
...
Seems that python module doesn't get parameters when calling method
post_auth(authData):
for t in authData:
if t[0] == 'User-Name':
userName = t[1][1:-1]
elif t[0] == "GSS-Acceptor-Service-Name":
serviceName = t[1][1:-1]
elif t[0] == "GSS-Acceptor-Host-Name":
hostName = t[1][1:-1]
_srv = "%s:%s" % (serviceName,hostName)
log(radiusd.L_DBG, "Working on behalf of: %s" % _srv)
Maybe freeradius_pysaml2 does not work without values of
GSS-Acceptor-Service-Name and GSS-Acceptor-Host-Name. Reply_log says:
Thu Sep 29 15:58:31 2011
Packet-Type = Access-Accept
MS-MPPE-Encryption-Policy = 0x00000001
MS-MPPE-Encryption-Types = 0x00000006
MS-MPPE-Send-Key = 0x72371ce4ec132f7915fbc8b3b6467192
MS-MPPE-Recv-Key = 0xd3e32cd0ff377f4abe4f6d6dce9b8c2b
EAP-Message = 0x03020004
Message-Authenticator = 0x00000000000000000000000000000000
User-Name = "steve"
Can you tell us what went wrong? Do you need more information?
Thank you in advance,
Markus
|