Help with a custom Radius conf

classic Classic list List threaded Threaded
2 messages Options
| Threaded
Open this post in threaded view
|

Help with a custom Radius conf

Borrame Deleteme
In the enterprise where I'm working, a server with Radius failed last
week... The HD doesn't work again, and the config of the Radius server
wasn't in backup.

This server is used by an application that come with instrucctions about how
to config a dictonary in Radius server, and this is the instrucctions. The
program is called Walabi:

1.- Added the following 4 lines in vendor.ini
vendor-product = Walabi
dictionary = Walabi
ignore-ports = no
help-id = 2000

2.- Then add the following line in dictiona.dcm
@walabi.dct

3.- Create a file "walabi.dct" in your service folder of Steel-Belted
RADIUS. Add the following lines into the files and save it.
#######################################################################
# Walabi.dct - Walabi Management dictionary
#
# (See README.DCT for more details on the format of this file)
#######################################################################
#
# Use the Radius specification attributes in lieu of the Walabi ones
#
@radius.dct
VALUE Acct-Status-Type WBLOGIN 217
VALUE Acct-Status-Type WBLOGOUT 218
VALUE Acct-Status-Type WBWRITELOG 219
#
# Define Walabi VSA parameters
#
Chapter 9 : Setting up RADIUS server
Page 44
MACRO WB-VSA(t,s) 26 [vid=2004 type1=%t% len1=+2 data=%s%]
# Store and Forward Fax Attributes:
ATTRIBUTE WB-AUTH-TIMELEFT WB-VSA(1,integer)
ATTRIBUTE WB-AUTH-ACCUMBW WB-VSA(2,integer)
ATTRIBUTE WB-AUTH-BWQUOTA WB-VSA(3,integer)
ATTRIBUTE WB-AUTH-BWCOUNT WB-VSA(4,integer)
ATTRIBUTE WB-AUTH-ULLIMIT WB-VSA(5,integer)
ATTRIBUTE WB-AUTH-DLLIMIT WB-VSA(6,integer)
ATTRIBUTE WB-AUTH-LOGINTIME WB-VSA(7,integer)
ATTRIBUTE WB-AUTH-LOGOUTTIME WB-VSA(8,integer)
ATTRIBUTE WB-AUTH-TIMEDIFF WB-VSA(9,integer)
ATTRIBUTE WB-AUTH-BWUSAGE WB-VSA(10,integer)
#######################################################################
# Walabi.dct - Walabi Management dictionary
######################################################################

My cuestion is: Is enought to make a new dictionary.walabi file in
/usr/share/freeradius and order the atrributtes, while in dictionary.radius
I add the 4 new values?

What else I could need to do, for having this new dictionary working?

Regards and thank you!

Mikel

_________________________________________________________________
T1msn Hotmail Plus. Más espacio, más funcional
http://join.msn.com/?page=features/es&pgmarket=es-mx&xAPID=1817&DI=233&SU=http://www.t1msn.com.mx

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: Help with a custom Radius conf

Alan DeKok
"Borrame Deleteme" <[hidden email]> wrote:
> This server is used by an application that come with instrucctions about how
> to config a dictonary in Radius server, and this is the instrucctions. The
> program is called Walabi:
>
> 1.- Added the following 4 lines in vendor.ini

  FreeRADIUS doesn't use that file.

> My cuestion is: Is enought to make a new dictionary.walabi file in
> /usr/share/freeradius and order the atrributtes, while in dictionary.radius
> I add the 4 new values?

  You can put all attribute & values into dictionary.walabi.

> What else I could need to do, for having this new dictionary working?

  $INCLUDE it from the main "dictionary" file.

  Then, configure th eserver to use those attributes.

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