Adding Attribute
I want to add an attribute in rlm_sql.c, Acct-Link-Count from dictionary.rfc2866. I dun know how to use vendor specific attribute, can any body help me how to do this??? We are already using Acct-Status-Type and other attributes but that was done by my senior and he isn't here any more. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Adding-Attribute-tp5713657.html Sent from the FreeRadius - User mailing list archive at Nabble.com.
On 12/06/12 10:48, Awais wrote:
I want to add an attribute in rlm_sql.c, Acct-Link-Count from
What does this mean? You don't need to add attributes into the source code. You just change the SQL queries in the config file.
dictionary.rfc2866. I dun know how to use vendor specific attribute, can any body help me how to do this???
"use" where? how? You need to ask better questions. Be specific.
I want to use an integer value which i send from ntradping and get this value in rlm_sql.c, but my boss said me that do not use a new attribute, use from vendor specific dictionary, rfc2866. if i send value like 12345 if ((pair = pairfind(request->packet->vps,Acct_link_count)) == 12345) { } -- View this message in context: http://freeradius.1045715.n5.nabble.com/Adding-Attribute-tp5713657p5713659.h... Sent from the FreeRadius - User mailing list archive at Nabble.com.
On 12/06/12 11:48, Awais wrote:
I want to use an integer value which i send from ntradping and get this value in rlm_sql.c, but my boss said me that do not use a new attribute, use from vendor specific dictionary, rfc2866.
I don't understand, because what you are saying does not make sense. Please explain what you are trying to achieve, NOT how you have decided to do it.
On 06/12/2012 12:48 PM, Awais wrote:
I want to use an integer value which i send from ntradping and get this value in rlm_sql.c, but my boss said me that do not use a new attribute, use from vendor specific dictionary, rfc2866.
why do you need to customize it in the source code? Have you checked that this is really needed? If someone really has hacked it into the source, you can easily find the changes and adept them.. But no support here ;) -- Jens Weibler IT-Services Hochschule Darmstadt www.h-da.de University of Applied Sciences Fachbereich Informatik www.fbi.h-da.de Schöfferstr. 8b D-64295 Darmstadt Tel +49 6151 16-8425 Fax +49 6151 16-8935 jens.weibler@h-da.de
participants (3)
-
Awais -
Jens Weibler -
Phil Mayers