September 2011
Beginner to intermediate
344 pages
8h 6m
English
In this section we shall make use of attributes.
Unlang can be used in various sections inside a virtual server definition. Previously we have used it in the authorize section. You should not use unlang inside the authenticate section as per instruction of the FreeRADIUS authors. We will use unlang in the post-auth section to determine if Auth-Type = PAP was used and give feedback if it was indeed used to authenticate a user.
sites-available/default virtual server under the FreeRADIUS configuration directory and add the following inside the post-auth section, at the top of the section:if(control:Auth-Type == 'PAP'){ update reply { Reply-Message := "We are using %{control:Auth-Type} ...Read now
Unlock full access