Is all this explained anywhere?<div><br><br><div class="gmail_quote">On Fri, Aug 7, 2009 at 12:03 PM, Alan Buxey <span dir="ltr"><<a href="mailto:A.L.M.Buxey@lboro.ac.uk">A.L.M.Buxey@lboro.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<div class="im"><br>
> And here is mu unlang section:<br>
><br>
> DEFAULT User-Name =~ "^([aA-zZ]+)-([aA-zZ]+)$", Cleartext-Password :=<br>
> "csetestp"<br>
> Alc-Subsc-ID-Str := "%{NAS-Port-Id}",<br>
> Alc-Subsc-Prof-Str := "%{1}",<br>
> Alc-SLA-Prof-Str := "%{2}",<br>
> Alc-MSAP-Serv-Id := "100",<br>
> Alc-MSAP-Policy := "msaps",<br>
> Alc-Default-Router := 20.0.0.1,<br>
> Framed-IP-Netmask := 255.255.0.0,<br>
> Session-Timeout := 600,<br>
> if (Alc-Subsc-Prof-Str == basic) {<br>
> Framed-IP-Address := 21.0.0.1,<br>
> }<br>
<br>
</div>and what makes you think you can do this (ie put unlang into a random<br>
file)?<br>
<br>
unlang sits nicely in a virtual-server config or within a module<br>
<font color="#888888"><br>
alan<br>
</font><div><div></div><div class="h5"><br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br></div>