how to add attributes

DilipSimha.N.M nmdsimha at gmail.com
Mon Apr 17 12:00:54 CEST 2006


hello,

what's the way to add user-defined attribute into reply-items?(name,value)

i tried by adding 2 attributes in the dictionary file in raddb, with the 
index of 998 and 999.
*file:* /usr/local/etc/raddb/dictionary

ATTRIBUTE  aa     998    string
ATTRIBUTE  bb     999    string

But it didn't work.
(i tried it by making my own dictionary file and included it in standard 
dictionary file)

*file:* /usr/local/share/freeradius/dictionary.netd

VENDOR  netd    1459
                                                                                

#
#   These attributes contain the access-level value.
#
ATTRIBUTE   netd-temp-str   1   string netd
ATTRIBUTE   netd-temp-int   1   integer netd
                                                                                

#   Read-only access to manageable (not security) parameters
VALUE   netd-temp-int   4   3

*file:* /usr/local/share/freeradius/dictionary
 added this at the last.

$INCLUDE dictionary.netd

But it didn't work.

I don't want to use vendor-specific attribute, because i have more than 
2 attributes to be sent to the radius client.

somebody plz explain the correct process of doing this.

--DilipSimha

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060417/9b6bcaf4/attachment.html>


More information about the Freeradius-Users mailing list