help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Help-gnu-radius] Adding Attributes - Part 2


From: Amy Lee
Subject: RE: [Help-gnu-radius] Adding Attributes - Part 2
Date: Tue, 17 Feb 2004 05:55:59 -0600

This answer worked perfectly for making my master realm function with
slipstream...

I have a second radius server(RADIUS2) - running for another client who
wants to use the slipstream service through the first customer.

The radauth on RADIUS2 shows the vendor attribute


-----Original Message-----
From: Bill Davidson [mailto:address@hidden
Sent: Thursday, January 08, 2004 2:02 PM
To: Amy Lee
Cc: address@hidden
Subject: Re: [Help-gnu-radius] Adding Attributes


Hi:

We are also using SlipStream, here is what I did:

In /usr/local/etc/raddb/dict I created a file "slipstream", which just
contains:

VENDOR  Slipstream  7000
ATTRIBUTE   Slipstream-Auth 1 string    Slipstream

Then in /usr/local/etc/raddb/dictionary I added:

$INCLUDE dict/slipstream

We use SQL authentication, so I added the following to
/usr/local/etc/raddb/sqlserver:

reply_attr_query    SELECT 'Slipstream-Auth', slip \
            FROM passwd \
            WHERE username='%u'

In the passwd table each user account is a row, and I adsded a column "slip"
which is either NULL or 'true'.

Everything works fine.

On January 8, 2004 12:54 pm, Amy Lee wrote:
> Hi there;
>
> I've been trying to add a new attribute to my dictionary file for the last
> few days.  I am wondering if I will have to write a function for the
> rewrite file.
>
> Here is what I have done.
>
> I have added to the dictionary the following:
> ATTRIBUTE       Slipstream-Auth         7000    string  - [LR-R-R]
>
> in my user file I have the following:
>
> alee    Password="alee1"
>         Slipstream-Auth = true,
>         Framed-Protocol = PPP,
>         Service-Type = Framed
>
>
> when I do a radauth to see if it's sending the information I get:
> server 127.0.0.1:1812
> send code 1 (RT_AUTHENTICATION_REQUEST)
>       send: User-Name = alee
>       send: Password = alee1
>       send: NAS-Port-Id = 0
> recv code 2 (RT_AUTHENTICATION_ACK)
>       recv: Framed-Protocol = PPP
>       recv: Service-Type = Framed-User
> expect 2
> got    2
> PASS
>
> It doesn't seem to be sending the Slipstream-Auth in the ack.
>
> Any help would be appreciated.
>
> -Amy Lee
>
>
>
> _______________________________________________
> Help-gnu-radius mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-gnu-radius

--
Bill Davidson
Systems Administrator
Supercity Internet Services






reply via email to

[Prev in Thread] Current Thread [Next in Thread]