<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Alan,
<blockquote cite="mid:20140523110500.GD18973@lboro.ac.uk"
type="cite">
radiusd -X <br>
</blockquote>
<br>
Here it is the output starting with eap module:<br>
<br>
(3) # Executing group from file
/usr/local/etc/raddb/sites-enabled/default<br>
(3) authenticate {<br>
(3) eap : Expiring EAP session with state 0x5a52ce915851d4f0<br>
(3) eap : Finished EAP session with state 0x5a52ce915851d4f0<br>
(3) eap : Previous EAP request found for state 0x5a52ce915851d4f0,
released from the list<br>
(3) eap : Peer sent MSCHAPv2 (26)<br>
(3) eap : EAP MSCHAPv2 (26)<br>
(3) eap : Calling eap_mschapv2 to process EAP data<br>
(3) eap : Freeing handler<br>
(3) [eap] = ok<br>
(3) } # authenticate = ok<br>
(3) # Executing section post-auth from file
/usr/local/etc/raddb/sites-enabled/default<br>
(3) post-auth {<br>
(3) switch &Huntgroup-Name {<br>
(3) case hVPN {<br>
(3) <b> update reply {</b><b><br>
</b><b>(3) EXPAND %{Class}</b><b><br>
</b><b>(3) --></b><b><br>
</b><b>(3) Class = 0x</b><br>
(3) } # update reply = noop<br>
(3) } # case hVPN = noop<br>
(3) } # switch &Huntgroup-Name = noop<br>
(3) sql : EXPAND .query<br>
(3) sql : --> .query<br>
(3) sql : Using query template 'query'<br>
rlm_sql (sql): Reserved connection (4)<br>
(3) sql : EXPAND %{User-Name}<br>
(3) sql : --> alex<br>
(3) sql : SQL-User-Name set to 'alex'<br>
(3) sql : EXPAND INSERT INTO radpostauth (username, pass, reply,
authdate) VALUES ( '%{SQL-User-Name}',
'%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}',
'%S')<br>
(3) sql : --> INSERT INTO radpostauth (username, pass, reply,
authdate) VALUES ( 'alex', '', 'Access-Accept', '2014-05-23
19:18:39')<br>
rlm_sql (sql): Executing query: 'INSERT INTO radpostauth (username,
pass, reply, authdate) VALUES ( 'alex', '', 'Access-Accept',
'2014-05-23 19:18:39')'<br>
rlm_sql (sql): Released connection (4)<br>
(3) [sql] = ok<br>
(3) [exec] = noop<br>
(3) remove_reply_message_if_eap remove_reply_message_if_eap {<br>
(3) if (reply:EAP-Message && reply:Reply-Message)<br>
(3) if (reply:EAP-Message && reply:Reply-Message) ->
FALSE<br>
(3) else else {<br>
(3) [noop] = noop<br>
(3) } # else else = noop<br>
(3) } # remove_reply_message_if_eap remove_reply_message_if_eap =
noop<br>
(3) } # post-auth = ok<br>
Sending Access-Accept Id 35 from 192.168.10.191:1812 to
192.168.10.201:37584<br>
MS-MPPE-Encryption-Policy = Encryption-Allowed<br>
MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed<br>
MS-MPPE-Send-Key = 0xf8d37a9bb5a0ba0255cdf0b35460fedb<br>
MS-MPPE-Recv-Key = 0xe07010b108e1d452513af46337a818aa<br>
EAP-Message = 0x03030004<br>
Message-Authenticator = 0x00000000000000000000000000000000<br>
User-Name = 'alex'<br>
<b> Class = 0x</b><br>
(3) Finished request<br>
<br>
This is a result when I do:<br>
post-auth {<br>
update reply {<br>
Class = "%{Class}"<br>
}<br>
}<br>
</body>
</html>