Friday, September 27, 2002, 9:26:16 PM Alan wrote:
> You shouldn't use Group-Name, as that attribute is already used for
> Unix groups. Over-loading it with two different meanings will make it
> NOT work.
> Pick another name: My-Group, or something like that. If necessary,
> add that attribute to the dictionary.
It does not work anyway :(
passwd raddb_group {
filename = /etc/raddb/group
format = "My-Group:::*,User-Name"
hashsize = 50
ignorenislike = yes
allowmultiplekeys = no
}
my users:
--------------------------------------------------------------
10:DEFAULT My-Group == "slow", Pool-Name := "ippool-1-slow"
11: Fall-Through = 1
12:
13:DEFAULT My-Group == "fast", Pool-Name := "ippool-1-fast"
14: Fall-Through = 1
15:
...
28:
29:DEFAULT Service-Type == Framed-User
30: Framed-MTU = 1500,
31: Exec-Program-Wait = "/etc/raddb/scripts/radauth",
32: Service-Type = Framed-User
---------------------------------------------------------------
radiusd -xx output is:
.....
rlm_passwd: Added My-Group: fast
modcall[authorize]: module "raddb_group" returns ok
modcall[authorize]: module "mschap" returns ok
users: Matched DEFAULT at 29
modcall[authorize]: module "files" returns ok
.....
My-Group set to fast.
i guess match have to be at 13 and 29, but matched at 29 only :(
What's wrong?
Mike.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html