Cache CUI, too
authorAlan T. DeKok <aland@freeradius.org>
Tue, 11 Feb 2014 15:13:27 +0000 (10:13 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 11 Feb 2014 15:13:27 +0000 (10:13 -0500)
src/modules/rlm_eap/libeap/eap_tls.c

index 3e2efbf..7b9a32f 100644 (file)
@@ -154,6 +154,9 @@ int eaptls_success(EAP_HANDLER *handler, int peap_flag)
                vp = paircopy2(request->packet->vps, PW_STRIPPED_USER_NAME);
                if (vp) pairadd(&vps, vp);
 
+               vp = paircopy2(request->reply->vps, PW_CHARGEABLE_USER_IDENTITY);
+               if (vp) pairadd(&vps, vp);
+               
                vp = paircopy2(request->reply->vps, PW_CACHED_SESSION_POLICY);
                if (vp) pairadd(&vps, vp);