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.