dynamic VLAN assignment w/ mschapv2 against AD and LDAP

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Fri Jan 21 00:17:44 CET 2011


Hi,
> Where should I put the perl script? I already have a perl module for
> another virtual server to use radscript.
> 
> I also tried unlang in post-auth, like
> if ( %{User-Name} =~ /\@/ && fooEmployeeStatus =~ /active/i ) {
>                 update outer.reply {
>                                 Service-Type = "Framed-User"
>                                 Tunnel-Type = "VLAN"
>                                 Tunnel-Medium-Type = "IEEE-802"
>                                 Tunnel-Private-Group-Id = "facstaff"
>                 }
>         }


if ( "%{User-Name}" =~ /\@/ && fooEmployeeStatus =~ /active/i ) {

encase in quotes....dont have bare as per debug error

alan



More information about the Freeradius-Users mailing list