<div dir="ltr">dear alan,<br> my code is correct .i know user-password not belongs to accounting packets.but its a requirment to have user-password in accounting packet.<br> and code is correct 100 %. so kindly u just suggest me how i can get plain text password in accounting stop packets.<br>
i am using ntradpind to send request<br> is ntradping encrypet it and send it to radius server if so then how i can decrypt it.<br><br>thanks in advance if you get me out of this....<br><br><div class="gmail_quote">
On Thu, Sep 11, 2008 at 12:19 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;">
Yawar Hadi wrote:<br>
> now when i send User-Password attrib in accounting<br>
> stop request,and get it value like<br>
<br>
User-Passwords don't belong in accounting packets.<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>
Why are you looking at the source code when you can run the server in<br>
debugging mode?<br>
<br>
And your C code really needs to check for errors. Without that,<br>
there's no guarantee if it's correct or not.<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>