Check EAP Type in Unlang/Post Auth

Arnab Roy arnabroy at mail.com
Wed Apr 26 12:40:11 CEST 2017


   Hi ,

   I am trying to configure an unlang condition in the post auth section
   of the virtual server which effectively needs to be able to do the
   following:

   //This is my way of trying to explain the requirements not the real
   unlang syntax :)
   if(eap-type == "PEAP"){

   VSA:=Blah

   }
   elseif(eap-type=="TLS")
   {
   VSA:=Blah
   }

   Which effectively tells the NAS that if a user is using User/pass dump
   them in VLAN A if User using certs dump them in vlan B.

   Is this possible if so can someone tell me what the syntax will look
   like/atrributes to check for.

   Thanks in advance.

   Arnab


More information about the Freeradius-Users mailing list