Password attrib problem

Alan DeKok aland at deployingradius.com
Thu Sep 11 09:19:25 CEST 2008


Yawar Hadi wrote:
>                    now when i send User-Password attrib in accounting
> stop request,and get it value like

  User-Passwords don't belong in accounting packets.

>                      pair=pairfind(request->vps,PW_User_Password);
>                      strcpy(pass,pair->strvalue;
>                      printf(pass);
> 
>               it show pass= "\322N\341U*"

  Why are you looking at the source code when you can run the server in
debugging mode?

  And your C code really needs to check for errors.  Without that,
there's no guarantee if it's correct or not.

  Alan DeKok.



More information about the Freeradius-Users mailing list