Bluehost.com Web Hosting $6.95

attribute value matching in users file

This is a discussion on attribute value matching in users file within the FreeRADIUS Users forums, part of the Networking and Network Related category; Hello, I'm having a bit of trouble matching attribute values in the users config file. I'm running freeradius ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-21-2005
Chris Carver
 
Posts: n/a
Default attribute value matching in users file

Hello,

I'm having a bit of trouble matching attribute values in the users
config file. I'm running freeradius 1.0.2. I have several DEFAULT
entries starting with a series of checks. The problem is, on the last
DEFAULT entry the attribute gets added regardless of whether the match
is true or not. Following is the users file. redirectPort80 is an
attribute tied to an ldap attribute through the ldap_attrs file.

# requests from the nas for tollfree users dialing up
DEFAULT Autz-Type := Tollfree, Called-Station-ID == "9999999999"
Port-Limit = 1,
Idle-Timeout = 900,
Framed-Protocol = PPP,
Service-Type = Framed-User,
Fall-Through = yes

# requests from the nas for regular (not tollfree) users dialing up
DEFAULT Autz-Type := NoTollfree
Port-Limit = 1,
Idle-Timeout = 1800,
Framed-Protocol = PPP,
Service-Type = Framed-User,
Fall-Through = yes

DEFAULT redirectPort80 == true
Framed-Route = "10.32.0.5"

Then I use radclient to test the file. When I send a request with
radclient that has no redirectPort80 attribute at all, Framed-Route is
still added. The really weird thing is, when I change that line in the
users file to "redirectPort80 == false" while issuing the same radclient
command Framed-Route is STILL added proving that the check isn't being
used at all. It seems to be simply adding the Framed-Route attribute
every time.

Does anyone have any ideas? This is really baffling to me.

Thanks in advance,

Chris Carver

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:21 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0