On 03/01/2011 01:10 AM, Jeffrey Lee wrote: > another issue I'm facing with Colubris-AVPair is... > > i'm hardcoding the return-list attributes in the radius.cfg file. the > way HP WLAN controller works is, it may require some placeholders to > be coded and the placeholders that is understood by the HP WLAN > controller uses special characters like %, e.g., %E, %m... but > somehow, when I run radiator, these special characters get translated > by radiator on runtime. how do I code them to avoid radiator > processing these special characters?
The reference manual doc/ref.pdf section "5.18.8 AddToReply" says that the attribute values are subject to special character expansion. > below is how I've coded in radius.cfg file.. > > AddToReply > Colubris-AVPAIR="login-url=https://192.168.10.100/login.asp?cip=%c&ssid=%E&mac=%m&loginurl=%l",\ > > Colubris-AVPAIR="welcome-url=https://192.168.10.100/welcome.asp?oriurl=%o" To get a % sign, you should use %%. For example, cip=%%c Best regards, Heikki -- Heikki Vatiainen <h...@open.com.au> Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc. _______________________________________________ radiator mailing list radiator@open.com.au http://www.open.com.au/mailman/listinfo/radiator