Update abfab-tr-idp
authorStefan Paetow <spaetow@users.noreply.github.com>
Fri, 6 Nov 2015 16:21:17 +0000 (16:21 +0000)
committerStefan Paetow <spaetow@users.noreply.github.com>
Fri, 6 Nov 2015 16:21:17 +0000 (16:21 +0000)
Add the 'new' tunneled attribute stuff to the ABFAB server too!

raddb/sites-available/abfab-tr-idp

index d4e53a9..30a671f 100644 (file)
@@ -52,6 +52,19 @@ authenticate {
 #  Once we KNOW that the user has been authenticated, there are
 #  additional steps we can take.
 post-auth {
+       #
+       #  For EAP-TTLS and PEAP, add the cached attributes to the reply.
+       #  The "session-state" attributes are automatically cached when
+       #  an Access-Challenge is sent, and automatically retrieved
+       #  when an Access-Request is received.
+       #
+       #  The session-state attributes are automatically deleted after
+       #  an Access-Reject or Access-Accept is sent.
+       #
+       update {
+               &reply: += &session-state:
+       }
+
        #  Create the CUI value and add the attribute to Access-Accept.
        #  Uncomment the line below if *returning* the CUI.
 #      cui