In our case, we have a dictionary with the following entry:

VENDOR          FOO             1234

ATTRIBUTE       FOO-Priv                1       octets  FOO


and the users are set up as:

foouser1 Auth-Type := Local, User-Password == "foouser1"
   Service-Type == Login-User,
   FOO-Priv = 0x8007ffff

Obviously using Auth-Type local isn't secure but this is just an 
example.  We use this to test our routers ability to use Radius for 
keeping users and permissions vis a vis the router.  The octet 
0x8007ffff would allow foouser1 to do specific tasks on the router, etc.

Hope this helps a bit?

Max
On Thursday, October 10, 2002, at 01:10 AM, Jukka Lehti wrote:

> Hi all,
>
> I must be probably too stupid or complete blind sice I
> just can't find any info how to use Vendor-Specific
> attributes with radclient and radiusd. I have this
> simple test dictionary:
>
> VENDOR Testing 1234
> ATTRIBUTE Foo 1 integer         Testing
> ATTRIBUTE Bar 2 integer         Testing
>
> How I shall send those with radclient?
>
> echo
> "User-Name=un,User-Password=pw,Vendor-Specific=1234 |
> radclient 10.0.0.1 auth secret
>
> doesn't work at all. And I couldn't add
> Vendor-Specific attributes to server reply either. Is
> there any examples available, since this didn't work:
>
> un Auth-Type := Local, User-Password == "pw"
>         Reply-Message = "Hello, World!",
>         Vendor-Specific = "Testing,Foo=123"
>
>
> Thanks.
>
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com
>
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
>


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

Reply via email to