<div dir="ltr">thanks ALan,<br><br> now when i send User-Password attrib in accounting stop request,and get it value like<br><br> pair=pairfind(request->vps,PW_User_Password);<br> strcpy(pass,pair->strvalue;<br>
printf(pass);<br><br> it show pass= "\322N\341U*"<br><br>but i am sending it like User-Password="yawar" from NTRADPing client;<br>how to get plain text password in accounting stop request <br>
thanks ALan once again<br><br><div class="gmail_quote">On Wed, Sep 10, 2008 at 7:03 PM, Alan DeKok <span dir="ltr"><<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Yawar Hadi wrote:<br>
> i have a little problem with user-password attrib.<br>
> i get the usr password as plain-text in my authorize function of<br>
> rlm_sql module .when get it from request......<br>
> but i want to get it from request in accounting function of rlm_Sql<br>
> module. its encrypted why........<br>
<br>
</div> Because it doesn't exist. "request->password" is probably NULL.<br>
<font color="#888888"><br>
Alan DeKok.<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best regards <br><br>Yawar Hadi Noshahi<br> QAU Islamabad <br>(+92-0300-5504798)<br>
</div>