Hi Shankar
Yes, of course.
code:

char                     USER_NAME[128];
VALUE_PAIR      *vp_iterator;
vp_iterator = request->packet->vps;
while (vp_iterator)
{
      if (strcmp (vp_iterator->name, "User-Name") == 0)
            strcpy (USER_NAME, vp_iterator->strvalue);
      vp_iterator = vp_iterator->next;
}
This method also works for vendor specific attributes like Cisco-AVPAIR and ... .
Regards
Ali

On 9/12/06, Shankar Ganesh C <[EMAIL PROTECTED]> wrote:
Hi Ali,
 
Could you let me know how did u capture the vendor specfic attributes in the rlm_module ?
like the one you have described earlier
getenv(USER_NAME) , getnev(Cisco_AVP) ?
 
Rgds,
Shankar ganesh
-----Original Message-----
From: freeradius-users-bounces+shankarganesh=[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ]On Behalf Of Ali Majdzadeh
Sent: Tuesday, September 12, 2006 5:10 PM
To: FreeRadius users mailing list
Subject: Question about rlm modules

Hi all
What is(are) the coresponding function pointer(s) for start and stop packets in an rlm module? (Something like xxx_authenticate)
Should I define my own custome funtion pointers? Then, How can I test them?

Best Regards
Ali

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to