On Tue, 20 Aug 2002, 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. > > -- > Mark P. Hennessy [EMAIL PROTECTED]
Just use the := operator instead of = -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 10 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
