in doc/rlm_passwd we read:

 If  the request contains a User-Name attribute with value 'vlad', and
 the    passwd    file   (/etc/group)   contains   following   record:
 wheel:*:0:root,vlad,test   Group-Name  attribute  will  be  added  to
 configuration items list with value of "wheel".

where  and how I can use configuration items in users file?

i try something like:

radiusd.conf:

----------------------------------------------------------
passwd raddb_group {
  filename = /etc/raddb/group
  format = "Group-Name:::*,User-Name"
  hashsize = 50
  ignorenislike = yes
  allowmultiplekeys = no
}

authorize {
...
  raddb_group
...
}
----------------------------------------------------------


users:
----------------------------------------------------------
1: DEFAULT  Group-Name == "slow" Pool-Name := "slowpool"
2:   Fall-Through = 1
3:
4: DEFAULT  Service-Type == Framed-User
5:        Framed-MTU = 1500,
6:        Exec-Program-Wait = "/etc/raddb/scripts/radauth",
7:        Service-Type = Framed-User
----------------------------------------------------------

but
....
rlm_passwd: Added Group: fast
  modcall[authorize]: module "raddb_group" returns ok
...
    users: Matched DEFAULT at 4
  modcall[authorize]: module "files" returns ok


so configuration item is not checked in users.
How i can use such items for check?

Mike


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

Reply via email to