Hi,<div><br></div><div>I have a setup with freeradius where it is launching an external script to authenticate users.</div><div><br></div><div>When doing PAP authentication against the radius server I receive the <span class="Apple-style-span" style="font-family: Arial; font-size: 10px; ">%{User-Password} <span class="Apple-style-span" style="font-family: arial; font-size: 13px; ">and pass it to my script.</span></span></div>
<div><br></div><div>However when using a cisco wireless lan controller it seems not to pass User-Password as the text, it encodes it in another format.</div><div><br></div><div>I'm wondering if anyone knows what format this is.</div>
<div><br></div><div>From a radiusd -X I get the following when it works</div><div><br></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">rad_recv: Access-Request packet from host <a href="http://10.10.76.3:32769">10.10.76.3:32769</a>, id=12, length=119</p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        User-Name = "<a href="mailto:cisco@cisco.com">cisco@cisco.com</a>"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        User-Password = "password"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        Service-Type = Login-User</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        NAS-IP-Address = <a href="http://10.10.76.2">10.10.76.2</a></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        NAS-Identifier = "Franciscan-2"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        Airespace-Wlan-Id = 1</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        Calling-Station-Id = "<a href="http://10.10.76.135">10.10.76.135</a>"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        Called-Station-Id = "<a href="http://10.10.76.3">10.10.76.3</a>"</p><div><br></div><div>So it passes my script the password in plain text</div>
<div><br></div><div>and when I use the Cisco WLC it fails and I get</div><div><br></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">rad_recv: Access-Request packet from host <a href="http://10.10.76.2:32769">10.10.76.2:32769</a>, id=12, length=119</p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        User-Name = "<a href="mailto:cisco@cisco.com">cisco@cisco.com</a>"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        User-Password = "]\313\347C\223\240\350\351\275!\307L\300\210"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        Service-Type = Login-User</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        NAS-IP-Address = <a href="http://10.10.76.2">10.10.76.2</a></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        NAS-Identifier = "Franciscan-2"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        Airespace-Wlan-Id = 1</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        Calling-Station-Id = "<a href="http://10.10.76.135">10.10.76.135</a>"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Arial">        Called-Station-Id = "<a href="http://10.10.76.2">10.10.76.2</a>"</p><div><span class="Apple-style-span" style="font-size: 10px;"><br></span></div>
</div><div><br></div><div>My script obviously gets passed <span class="Apple-style-span" style="font-family: Arial; font-size: 10px; ">"]\313\347C\223\240\350\351\275!\307L\300\210"</span></div><div><br></div><div>
Does anyone know what format this is? Or how I can convert it to get the password in plain text format?</div><div><br></div><div>thanks,</div><div><br></div><div>niall</div></div>