Framed-Address := 255.255.255.254
in the second default.

I guess it pays to read the man pages, I'm sorry I didn't realize where
the docs about operator usage were kept.

I am planning on using MySQL for the users entries.  I will try changing
the parsing order in the radius.conf file and see how that works.

Does anyone have a simple perl module/script for adding/changing/removing
users entries from a mysql table?

--
 Mark P. Hennessy                                             [EMAIL PROTECTED]

On Tue, 20 Aug 2002, Nick Davis wrote:

> Date: Tue, 20 Aug 2002 10:05:42 -0500
> From: Nick Davis <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: Override using DEFAULT
>
> If you put Fall through = Yes on each of your users and then put the DEFAULTS
> below them in the users file, the DEFAULT will override what you have set per
> user. You might want to check out "man 5 users" for the proper usage of "==",
> ":=" in this instance!
>
> If you have your users in mysql/postgresql? You could put the users in the sql
> table and then the Defaults in the users file and then have the users file
> parsed after the sql tables.
>
>
> Nick
>
> On Tuesday 20 August 2002 09:52, Mark Hennessy wrote:
> > For the purposes of maintaining as small a users database as possible, I
> > wanted to know if it was possible for a specific DEFAULT record's reply
> > attributes to override any conflicting reply attributes of an individual
> > user entry?
> >
> > Say I had the following user entries in the following format:
> >
> > foo
> >     Framed-Type = User,
> >     Framed-Address = 192.168.1.17
> >
> > bar
> >     Framed-Type = User,
> >     Framed-Address = 192.168.1.18
> >
> > Here are the defaults:
> >
> > DEFAULT     Auth-Type := System, Framed-Protocol == PPP, Huntgroup-Name ==
> > local Service-Type = Framed-User,
> >         Framed-MTU = 1500,
> >         Framed-Netmask = 255.255.255.255,
> >     Framed-Compression = Van-Jacobson-TCP-IP,
> >     Framed-Routing = None,
> >         Idle-Timeout = 1200,
> >         Session-Timeout = 129600
> >
> > DEFAULT     Auth-Type := System, Framed-Protocol == PPP, Huntgroup-Name ==
> > roaming Service-Type = Framed-User,
> >         Framed-MTU = 1500,
> >         Framed-Address = 255.255.255.254,
> >         Framed-Netmask = 255.255.255.255,
> >         Idle-Timeout = 600,
> >         Session-Timeout = 28800
> >
> > I would want foo coming in from the roaming huntgroup to lose their
> > individually defined address and reply using the reply attribute under the
> > default entry for the roaming huntgroup instead.
>
> --
> Nick Davis
> Associate Systems Administrator
> [EMAIL PROTECTED]
> Internet Exposure, Inc.
> http://www.iexposure.com
>
> (612)676-1946
> Web Development-Web Marketing-ISP Services
>
> -
> 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