How to set request attribute in Exec-Program-Wait?

For example, I can set poolname like:

DEFAULT Service-Type == Framed-User, Pool-Name := "ippool-1"
....

I need set Pool-Name in external script, called on
Exec-Program-Wait for use in rlm_ippool.
but I can't - Exec-Program-Wait set value-pair Pool-Name in "ippool-1"
and rlm_ippool says "Could not find Pool-Name attribute".

# radiusd -xx
....
Exec-Program: /etc/raddb/scripts/radauth
Exec-Program-Wait: value-pairs: Pool-Name = "ippool-1"
Exec-Program: returned: 0
Login OK: [testuser] (from client 192.168.0.5 port 0)
modcall: entering group post-auth
rlm_ippool: Could not find Pool-Name attribute.
  modcall[post-auth]: module "ippool-1" returns noop
..


I try use ":=" instead "=" in. Result is the same.

Can I modify request attribute from Exec-Program-Wait script?


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

Reply via email to