Hi Guys ,
I am using ser-0.8.14 with free radius . I have a small issue with my authorization packet presently i am getting authorization packect on radius as bellow
NAS-IP-Address = '192.168.3.78' User-Name = '215412145@192.168.3.78' Service-Type = '15' NAS-Port = '5060' call-id = '44e5770-1745420b@192.168.218.9'
but i need this packe in the format given bellow
NAS-IP-Address = '192.168.3.78' User-Name = '215412145' Service-Type = '15' NAS-Port = '5060' call-id = '46cf5bdb-13c4-16-5869-2204'
Can anyone please help me from where i can change this packe format .
Thanks in advance.
Vidhya sagar dixit
--------------------------------- Stay in the know. Pulse on the new Yahoo.com. Check it out.
Please don't crosspost to serdev. This is hardly a development question, right?
Turn off use_domain for auth/auth_radius. g-)
Sagar wrote:
Hi Guys ,
I am using ser-0.8.14 with free radius . I have a small issue with my authorization packet presently i am getting authorization packect on radius as bellow
NAS-IP-Address = '192.168.3.78' User-Name = '215412145@192.168.3.78' Service-Type = '15' NAS-Port = '5060' call-id = '44e5770-1745420b@192.168.218.9'
but i need this packe in the format given bellow
NAS-IP-Address = '192.168.3.78' User-Name = '215412145' Service-Type = '15' NAS-Port = '5060' call-id = '46cf5bdb-13c4-16-5869-2204'
Can anyone please help me from where i can change this packe format .
Thanks in advance.
Vidhya sagar dixit
Stay in the know. Pulse on the new Yahoo.com. Check it out.
http://us.rd.yahoo.com/evt=42974/*http://www.yahoo.com/preview
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi!
Sagar wrote:
User-Name = '215412145@192.168.3.78'
...
User-Name = '215412145'
Check modules/auth_radius/sterman.c radius_authorize_sterman() adds _cred->username.whole as User-Name. Change that to _cred->username.user and you should be done.
Hendrik
P.S. Please refrain from crossposting to serdev and serusers.