Exec-Program based on LDAP Attribute
Alan DeKok
aland at deployingradius.com
Wed Sep 26 17:15:50 CEST 2007
John Wever wrote:
> DEFAULT Acct-Status-Type == Start, CustomAttrib == true
That *matches* the Custom Attribute. Is that what you want?
> Exec-Program = "/path/to/script.sh %u %{Framed-IP-Address}
> %{CustomAttrib}"
>
> I've tried setting the ItemType of the CustomAttrib to checkItem and
> replyItem, but neither method worked. My script needs access to the
> username and the Framed-IP-Address.
>
> Any suggestions?
Read doc/variables.txt to see how to refer to attributes in the reply
or check item list.
Alan DeKok.
More information about the Freeradius-Users
mailing list