My perl script is trying to access the TLS-client* and TLS-cert* attributes(by enabling run time TLS variable in sites-available/default) but when I test the scenario using eapol_test the reply message has fields blank.
The statement does not give any output and just gets bypassed in the debug output. However if I change the right hand side with a string, it gets printed in the debug.
Tue Aug 9 04:42:58 2011 : Info: +- entering group post-auth {...}
Tue Aug 9 04:42:58 2011 : Info: ++[exec] returns noop
Tue Aug 9 04:42:58 2011 : Info: expand: %{TLS-Cert-Serial} ->
Tue Aug 9 04:42:58 2011 : Info: expand: %{TLS-Cert-Expiration} ->
Tue Aug 9 04:42:58 2011 : Info: expand: %{TLS-Cert-Subject} ->
Tue Aug 9 04:42:58 2011 : Info: expand: %{TLS-Cert-Issuer} ->
Tue Aug 9 04:42:58 2011 : Info: expand: %{TLS-Cert-Common-Name} ->
Tue Aug 9 04:42:58 2011 : Info: expand: %{TLS-Client-Cert-Serial} ->
Tue Aug 9 04:42:58 2011 : Info: expand: %{TLS-Client-Cert-Expiration} ->
Tue Aug 9 04:42:58 2011 : Info: expand: %{TLS-Client-Cert-Subject} ->
Tue Aug 9 04:42:58 2011 : Info: expand: %{TLS-Client-Cert-Issuer} ->
Tue Aug 9 04:42:58 2011 : Info: expand: %{TLS-Client-Cert-Common-Name} ->
Tue Aug 9 04:42:58 2011 : Info: ++[reply] returns noop
Sending Access-Accept of id 7 to 67.87.22.149 port 54254
MS-MPPE-Recv-Key = 0x5c16515f5ed9b861dfbcf1516753c0e50d853786722d3b890e9d7d8ed52142de
MS-MPPE-Send-Key = 0x965411384d787ffe3f4f7cee9bbe33df08e9f98075c7a0ba8a1289edbecf2b0a
EAP-Message = 0x03070004
Message-Authenticator = 0x00000000000000000000000000000000
User-Name = "anonymous"
Reply-Message = ""
Reply-Message = ""
Reply-Message = ""
Reply-Message = ""
Reply-Message = ""
Reply-Message = ""
Reply-Message = ""
Reply-Message = ""
Reply-Message = ""
Reply-Message = ""
Tue Aug 9 04:42:58 2011 : Info: Finished request 7.