[RADIATOR] Macros in dictionary

Arya, Manish Kumar m.arya at yahoo.com
Tue Mar 15 03:04:00 CDT 2016


Hi Hugh, Yes it worked well :) thanks for your help 

Regards,-Manish
 

    On Tuesday, March 8, 2016 1:48 PM, Hugh Irvine <hugh at open.com.au> wrote:
 

 
Hello Manish -

Radiator does not support “MACRO” definitions in the dictionary.

However these definitions would look something like this in the Radiator dictionary:


# VSAs for OMS

VENDOR          OMS      1751

VENDORATTR      1751      OMS-User-Role-Profile              1      string
VENDORATTR      1751      OMS-User-Domain                    2      integer

VALUE    OMS-User-Domain  Global          14
VALUE    OMS-User-Domain  Restricted    15


Please test and let us know the results so we can add these definitions to the standard Radiator dictionary.

Note however that there is already the following in the Radiator dictionary, and you should replace it with the above.


#
# VSA's for Lucent
#
VENDOR          Lucent-Old 1751
VENDORATTR      1751    Lucent-Vendor-Specific          1      string

#


regards

Hugh


> On 8 Mar 2016, at 17:31, Arya, Manish Kumar <m.arya at yahoo.com> wrote:
> 
> Hi,
> 
>    I have received dictionary for OMS NMS and is has a macro definition. When I add it in dictionary file and reload radius I get error on macro line number.
> 
> MACRO    OMS-Attr(t,s)    26    [vid=1751 type1=%t% len1=+2 data=%s%]
> 
> ATTRIBUTE    OMS-User-Role-Profile      OMS-Attr(1, string)  R
> 
> ATTRIBUTE    OMS-User-Domain            OMS-Attr(2, integer) R
> VALUE    OMS-User-Domain  Global        14
> VALUE    OMS-User-Domain  Restricted    15
> 
> Error log:
> 
> Tue Mar  8 05:50:34 2016: DEBUG: Reading dictionary file '/etc/radiator/db/dictionary'
> Tue Mar  8 05:50:38 2016: ERR: Bad format in dictionary '/etc/radiator/db/dictionary' at line 5270: MACRO                                                                  OMS-Attr(t,s)    26    [vid=1751 type1=%t% len1=+2 data=%s%]
> 
> How can I make it work with radiator ?
> 
> Regards,
> -Manish
> 
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator


--

Hugh Irvine
hugh at open.com.au

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER, SIM, etc. 
Full source on Unix, Linux, Windows, MacOSX, Solaris, VMS, NetWare etc.


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open.com.au/pipermail/radiator/attachments/20160315/a8a05dc4/attachment.html 


More information about the radiator mailing list