@Alexandre, I have one more question. I am looking at this post post-auth { } section. I can see that the values are not added to attributes in access-accept. For example: Module: Checking post-auth {...} for more modules to load /etc/raddb/sites-enabled/default[460]: ERROR: Failed to find IP address for %{request:NAS-IP-Address} /etc/raddb/sites-enabled/default[456]: Errors parsing post-auth section. if I look in access-reqest section (I have comment %{request:NAS-IP-Address}): Ready to process requests. rad_recv: Access-Request packet from host xxx.xxx.xxx.xxx port 40239, id=140, length=206 Acct-Multi-Session-Id = "1317025759333" Cisco-Attr-130 = 0x683332332d63616c6c696e672d656e74657270726973652d69643d656e74504258 Calling-Station-Id = "81609000" NAS-Identifier = "intraswitch" NAS-IP-Address = xxx.xxx.xxx.xxx 3GPP2-Prepaid-acct-Capability = 0x010600000002 3GPP2-Session-Termination-Capability = 1 h323-conf-id = "h323-conf-id=1317025759333" Vendor-Specific = 0x00000009 Event-Timestamp = "Sep 26 2011 10:29:19 CEST" User-Name = "081609000" User-Password = "1122" I can see that the ip from NAS is send. If I have this line written (NAS-IP-Address = %{request:NAS-IP-Address}) the radius will not start. Should this be add the any other section then post-auth {...}? BR, MIha On 9/24/2011 2:43 PM, Alexandre Chapellon wrote:
Le 23/09/2011 22:01, Miha a écrit :
Hi @Alexandre,
here is a copy from me default file:
post-auth { # Get an address from the IP Pool. # main_pool update reply { 3GPP2-Prepaid-acct-Capability = %{request:3GPP2-Prepaid-acct-Capability}
}
update reply { Acct-Multi-Session-Id = %{request:Acct-Multi-Session-Id}
} IIRC I use double quotedvariables in my config. Anyway, this is odd it happens for the second attributes and not the first one.
I have also try this way, but still the same:
update reply { 3GPP2-Prepaid-acct-Capability = %{request:3GPP2-Prepaid-acct-Capability} Acct-Multi-Session-Id = %{request:Acct-Multi-Session-Id}
} This sounds better. I do not see any problem with quotes.
Thank you!
Br, Miha
-- View this message in context:http://freeradius.1045715.n5.nabble.com/Access-Accept-tp4832711p4834972.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? Seehttp://www.freeradius.org/list/users.html
Alexandre Chapellon
Ingénierie des systèmes open sources et réseaux. Follow me on twitter: @alxgomz <http://www.twitter.com/alxgomz>
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html