Blank usernames

2006-11-19 Thread Marat Rysbekov

Good day, everyone.

I'm trying to setup FreeRadius 1.1.3 to assing IP-addresses based on
what NAS the authorization request came from, no matter what
username or password was supplied.

Some of my configuration:

huntgroups
...
Alpha  NAS-IP-Address == 192.168.10.1

BetaNAS-IP-Address == 192.168.20.1
...

users
...
DEFAULTAuth-Type := Accept, Huntgroup-Name == Alpha, Pool-Name := PoolA

DEFAULTAuth-Type := Accept, Huntgroup-Name == Beta, Pool-Name := PoolB
...

I specify the IP-pools in radiusd.conf, and it works fine, except
for one thing:
I get no Access-Accept reply whenever the username is left blank (any non-empty
username is accepted by the server).

So, my question: is there a way to make FreeRadius use the DEFAULT entries
when the username is not supplied at all?

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


Re: Blank usernames

2006-11-19 Thread Alan DeKok
Marat Rysbekov wrote:
 I specify the IP-pools in radiusd.conf, and it works fine, except
 for one thing:
 I get no Access-Accept reply whenever the username is left blank (any
 non-empty
 username is accepted by the server).

  And radiusd -X says...?

 So, my question: is there a way to make FreeRadius use the DEFAULT entries
 when the username is not supplied at all?

  See what it's doing now *first*, before trying to change it's
configuration to do something else.

  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