RE: user specific settings in users file overwritten by DEFAULTsettings?

2006-08-18 Thread Drew Weaver
I'm probably wrong but didn't it used to be that the fall-through
command was to tell the users file to continue processing if it didn't
find a match?

-Drew

-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
.org] On Behalf Of Alan DeKok
Sent: Thursday, August 17, 2006 1:37 PM
To: FreeRadius users mailing list
Subject: Re: user specific settings in users file overwritten by
DEFAULTsettings? 

Drew Weaver [EMAIL PROTECTED] wrote:
 Can anyone tell me why the radius server is ignoring the isdn entry in
 the users file and instead returning the DEFAULT entry?

  It's not.  The debug output you posted shows it IS matching the isdn
entry, but that it is ALSO matching the later DEFAULT entries.  So the
later entries over-ride the values you set earlier.

  The most likely solution is for you to remove the 'Fall-Through = 1'
from the isdn entry.  That way it won't continue.  See the man page.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

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


Re: user specific settings in users file overwritten by DEFAULTsettings?

2006-08-18 Thread Alan DeKok
Drew Weaver [EMAIL PROTECTED] wrote:
 I'm probably wrong but didn't it used to be that the fall-through
 command was to tell the users file to continue processing if it didn't
 find a match?

  Nope.  The reply items are looked at ONLY if there's a match, so
Fall-Through is looked at only if there's a match.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: user specific settings in users file overwritten by DEFAULTsettings?

2006-08-17 Thread Stefan Winter
Hi,

 Can anyone tell me why the radius server is ignoring the isdn entry in
 the users file and instead returning the DEFAULT entry?

All of your entries specify Fall-Through = 1 / Yes (which is the same, AFAIK).  
So, the entries of isdn get read, but then overwritten by the later DEFAULT 
matches. If you don't want that to happen, remove the Fall-Through line in 
the isdn user. Then processing will stop directly after isdn has matched, and 
its contents will be used.

Greetings,

Stefan Winter

-- 
Stefan WINTER

Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de 
la Recherche - Ingénieur de recherche

6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg


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