BSDradius

miha-
Joined: Wed 24 of Nov, 2010

BSDradius

Posted:Wed 24 of Nov, 2010 (10:51 UTC)
Hello,

We are setting up BSDRadius. We are getting this problem. If somebody knows where to look please help me out.

--- Fixing VSA attributes ---
Fixing attribute: 'h323-conf-id'
  [Replace] 'h323-conf-id': '1290505230076'
ERROR: 
ERROR: ---[ PYTHON EXCEPTION ]---
ERROR: Traceback (most recent call last):
ERROR:   File /radius//lib/python2.4/site-packages/bsdradius/modules.py, line 351, in execAuthorizationModules()
ERROR:     result = module.authz_funct(received, check, reply)
ERROR:   File /radius//lib/python2.4/site-packages/bsdradius/serverModules/preprocess.py, line 63, in preprocessAuthorization()
ERROR:     fixVsa(received)
ERROR:   File /radius//lib/python2.4/site-packages/bsdradius/serverModules/preprocess.py, line 99, in fixVsa()
ERROR:     debug ('Fixing attribute: %r' % key)
ERROR:   exceptions.TypeError: not all arguments converted during string formatting
ERROR: ---
ERROR: 
--- Module preprocess results ---
Status: FAILED
Check: {'Auth-Type': ~np~[None]~/np~}
Reply: {}
Return value: None



Authorization phase failed
Dumping packet to file:
/radius//var/log/bsdradius/xxx.xxx.xxx.xxx/auth_failed/bsdradius.packet.20101123.dump
Sending Authorization REJECT to intraswitch (xxx.xxx.xxx.xxx)
--AuthPacket--------------------------------------------------




What version of the product are you using? On what operating system?

We are using Centos 5.5 64 bit os. Radius version is BSDradius 0.7.1.


Please provide any additional information below.

We are having problems with authorization.

We have comment example_mod2 and example_mod but we are still getting this:
etting order of accounting modules

      1. Startup module "example_mod2" ###
Example2
Doing some file opening and stuff like that
      1. Startup module "example_mod" ###
Doing some file opening and stuff like that
      1. Startup module "sql" ###

When we star a call we are getting this:

Status: FAILED
Check: {'Auth-Type': [None]}
Reply: {}
Return value: None


Thank you for your help!

Miha