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

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

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


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

This answer worked perfectly for this question - but now I'm wondering how
to set this up for my other clients that are realming off of my radius.  I
can see the vendor-specific acknowledgement from their radius server when
doing a radauth, but not from mine:  Any thoughts on what I didn't set up?
Or maybe I'm going about it all wrong - any direction would be greatly
appreciated.  -Amy

RADAUTH results from client radius
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: Vendor-Specific = V7000\001\006true
      recv: Service-Type = Framed-User
      recv: Framed-Protocol = PPP
expect 2
got    2
PASS


RADAUTH results from my radius
server 127.0.0.1:1812
send code 1 (RT_AUTHENTICATION_REQUEST)
      send: User-Name = address@hidden
      send: Password = alee1
      send: NAS-Port-Id = 0
recv code 2 (RT_AUTHENTICATION_ACK)
      recv: Service-Type = Framed-User
      recv: Framed-Protocol = PPP
expect 2
got    2
PASS


-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of
Bill Davidson
Sent: Thursday, January 08, 2004 2:28 PM
To: address@hidden
Subject: [Help-gnu-radius] re: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


_______________________________________________
Help-gnu-radius mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-gnu-radius





reply via email to

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