<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks for the clarification... I was able to do as suggested. &nbsp;However, &nbsp;I am finding that evaluating check items in Handlers using Vendor VSAs &nbsp;are a hit or miss.<div><br></div><div>I have in my config...</div><div><br></div><div>&lt;Handler Client-Identifier = ONCAMPUS, Aruba-Port-Identifier = &lt;controller-address&gt;:0/11&gt; &nbsp;-----&gt; &nbsp;This works fine !</div><div><br></div><div>&lt;Handler TunnelledByPeap=1, Client-Identifier=ONCAMPUS, Realm=uwo.ca&gt; &nbsp;--------&gt; This works fine !</div><div><br></div><div>&lt;Handler TunnelledByPeap=1, Client-Identifier=ONCAMPUS, Realm=uwo.ca, Aruba-Essid-Name=&lt;ssid of choice&gt; -------&gt; &nbsp;FAILS !!!</div><div><br></div><div>My dictionary file has all the Aruba VSA's defined..</div><div><br></div><div>other testing shows that it works with Some VSA's but not all...</div><div><br></div><div>I am running tests on a Windows server /w Radiator ver. 4.51 and Linux server /w Radiator ver 4.12</div><div><br></div><div>Any thoughts???</div><div><br></div><div>Thanks</div><div>M</div><div><br><div><div>On 2013-10-21, at 2:54 PM, Heikki Vatiainen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 10/21/2013 06:44 PM, Michael Hulko wrote:<br><blockquote type="cite">Sorry for the noob type question...but is it possible to evaluate a perl<br></blockquote><blockquote type="cite">expression WITHOUT wrapping the perl code in a Hook?<br></blockquote><br>Hello Michael,<br><br>I do not there is support for evaluate.<br><br><blockquote type="cite">such as for example:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">&lt;Handler TunnelledByPEAP=1&gt;<br></blockquote><blockquote type="cite">Identifier xxxx<br></blockquote><blockquote type="cite">Authby NTLM<br></blockquote><blockquote type="cite">PostAuthHook file:"%D/xxx.hook"<br></blockquote><blockquote type="cite">AddToReply User-Vlan = $vlan = 620+int(rand(9));<br></blockquote><blockquote type="cite">&lt;/Handler&gt;<br></blockquote><br>For this particular example, I would calculate $vlan with PostAuthHook,<br>add it to $p (request) as e.g. X-rand-vlan and then do something like:<br>AddToReply User-Vlan=%{X-rand-vlan}<br><br>That would still give some hint that User-Vlan value is something special.<br><br>Thanks,<br>Heikki<br><br>-- <br>Heikki Vatiainen &lt;<a href="mailto:hvn@open.com.au">hvn@open.com.au</a>&gt;<br><br>Radiator: the most portable, flexible and configurable RADIUS server<br>anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,<br>Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,<br>TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,<br>DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,<br>NetWare etc.<br>_______________________________________________<br>radiator mailing list<br><a href="mailto:radiator@open.com.au">radiator@open.com.au</a><br>http://www.open.com.au/mailman/listinfo/radiator<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font face="Verdana" size="2"><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">Michael Hulko<br>Network Analyst<br><br>Western University Canada<br>Network Operations Centre<br>Information Technology Services<br>1393 Western Road, SSB 3300CC<br>London, Ontario&nbsp; N6G 1G9<br><br>tel: 519-661-2111 x81390<br>e-mail: <a href="mailto:mihulko@uwo.ca">mihulko@uwo.ca</a> &lt;<a href="mailto:mihulko@uwo.ca">mailto:mihulko@uwo.ca</a>&gt;</font></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></span>
</div>
<br></div></body></html>