<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi,<br><br>In example.pl perl script $RAD_REQUEST{'User-Name'} returns the username of the EAP request message. How can I get the password of the<br>EAP request? $RAD_REQUEST{'User-Password'} won't return the password.<br><br><br><br>rad_recv: Access-Request packet from host 24.26.79.31 port 50168, id=207, length=185<br> User-Name = "test"<br> NAS-IP-Address = 10.0.0.31<br> NAS-Identifier = "belair"<br> NAS-Port = 0<br> Called-Station-Id = "00-0D-67-12-15-80:SSO_BelAir-PMIP-8021x"<br> Calling-Station-Id = "00-26-4A-FC-EB-B2"<br> Framed-MTU = 1400<br> NAS-Port-Type = Wireless-802.11<br> Connect-Info = "CONNECT 11Mbps 802.11b"<br> EAP-Message = 0x020100060319<br> State = 0xce81437fce8047c9464d6ff62d386d00<br> Message-Authenticator = 0x5feafac09a6cce51d36958efc628f397<br>+- entering group authorize {...}<br>++[preprocess] returns ok<br>++[chap] returns noop<br>++[mschap] returns noop<br>[suffix] No '@' in User-Name = "test", looking up realm NULL<br>[suffix] No such realm "NULL"<br>++[suffix] returns noop<br>[eap] EAP packet type response id 1 length 6<br>[eap] No EAP Start, assuming it's an on-going EAP conversation<br>++[eap] returns updated<br>++[unix] returns notfound<br>[files] users: Matched entry DEFAULT at line 209<br>++[files] returns ok<br><font style="" color="#FF0000">User-Name=test</font><br><font style="" color="#FF0000">User-password=</font><br>rlm_perl: RAD_REQUEST: NAS-Port-Type = Wireless-802.11<br>rlm_perl: RAD_REQUEST: State = 0xce81437fce8047c9464d6ff62d386d00<br>rlm_perl: RAD_REQUEST: Calling-Station-Id = 00-26-4A-FC-EB-B2<br>rlm_perl: RAD_REQUEST: Called-Station-Id = 00-0D-67-12-15-80:SSO_BelAir-PMIP-8021x<br>rlm_perl: RAD_REQUEST: Message-Authenticator = 0x5feafac09a6cce51d36958efc628f397<br>rlm_perl: RAD_REQUEST: User-Name = test<br>rlm_perl: RAD_REQUEST: NAS-Identifier = belair<br>rlm_perl: RAD_REQUEST: EAP-Message = 0x020100060319<br>rlm_perl: RAD_REQUEST: Connect-Info = CONNECT 11Mbps 802.11b<br>rlm_perl: RAD_REQUEST: EAP-Type = NAK<br>rlm_perl: RAD_REQUEST: NAS-IP-Address = 10.0.0.31<br>rlm_perl: RAD_REQUEST: NAS-Port = 0<br>rlm_perl: RAD_REQUEST: Framed-MTU = 1400<br>rlm_perl: Added pair NAS-Port-Type = Wireless-802.11<br>rlm_perl: Added pair State = 0xce81437fce8047c9464d6ff62d386d00<br>rlm_perl: Added pair Calling-Station-Id = 00-26-4A-FC-EB-B2<br>rlm_perl: Added pair Called-Station-Id = 00-0D-67-12-15-80:SSO_BelAir-PMIP-8021x<br>rlm_perl: Added pair Message-Authenticator = 0x5feafac09a6cce51d36958efc628f397<br>rlm_perl: Added pair User-Name = test<br>rlm_perl: Added pair NAS-Identifier = belair<br>rlm_perl: Added pair EAP-Message = 0x020100060319<br>rlm_perl: Added pair Connect-Info = CONNECT 11Mbps 802.11b<br>rlm_perl: Added pair EAP-Type = NAK<br>rlm_perl: Added pair NAS-IP-Address = 10.0.0.31<br>rlm_perl: Added pair NAS-Port = 0<br>rlm_perl: Added pair Framed-MTU = 1400<br>rlm_perl: Added pair Auth-Type = EAP<br>++[perl] returns ok<br>++[expiration] returns noop<br>++[logintime] returns noop<br>[pap] WARNING! No "known good" password found for the user. Authentication may fail because of this.<br>++[pap] returns noop<br>Found Auth-Type = EAP<br>+- entering group authenticate {...}<br>[eap] Request found, released from the list<br>[eap] EAP NAK<br>[eap] EAP-NAK asked for EAP-Type/peap<br>[eap] processing type tls<br>[tls] Initiate<br>[tls] Start returned 1<br>++[eap] returns handled<br><br> </div></body>
</html>