check username and password

Alan DeKok aland at deployingradius.com
Tue Aug 25 09:22:49 CEST 2009


shiva shankar wrote:
> hi
>  
> i added below code to get username,
>  
> VALUE_PAIR *vp;
>  vp = pairfind(request->packet->vps, PW_USER_NAME);
> 
>  printf("x equals %s \n", vp);
>  
> it is not printing anything

  We do *not* teach C programming on this list.  Buy a book, or take a
course.

  Alan DeKok.



More information about the Freeradius-Users mailing list