linux - VSA in radiusrequest -


Am I using radiusclient-ng-0.5.6 in my directory? But my rediscover binary is still not working. Please help me.

Directory

  Vendor EC 20000 BEGIN- Vendor EC ATRIBUt ABC 1 7777 String Detachtec ABC 2 7778 String ED-Seller EC / Radiusclient -f / etc / radiusclient-ng /radiusclient.conf Username = aaa abc1 = aaaaa   

Error: April 21 22:47:53 Localhost LT-Radiocquent: Rc_avpair_parse: Unknown attribute abc1 < p>

I use the freeradius radiusclient library, but this is the same code as the first radiusclient-ng pu Was developed for the database, but the dictionary file format is the same, and does not support BEGIN-VENDOR ... END-VENDOR Syntax, so you have to use a slightly different format.

The general format of the vendor specific features has been stated in RFC:

  0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 1 + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Type | Length | Vendor-id + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + + + + + + + + + + Seller ID (cont) | Vendor type Seller length | + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + + + + + + + + + Specialty-specific ... + - + - + + + + + + + + + + + + + + + + + + + +   

It means only < Supports vendor types from code> 0 - 255 . The large number ( & gt; 255 ) has been used for internal server use and the specialty ID number (i.e. 7777 and 7778 vendor type There is a great way to expect.)

You defined your vendor using the line:

  Vendor EC 20000   

and now you have to specify the VSA using the following format:

  ATTRIBUTE abc1 7 string vendor = EC attribute ABC 2 8 string vendor = EC   

with these vendor type to 7 and 8 respectively Specifies.

If you are referencing the proper dictionary file, then properties are available to be used and can be passed in:

  ./ radiusclient -f /etc/radiusclient-ng/radiusclient.conf Username = aaa abc1 = aaaaaa abc2 = bbbbb    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -