Hello,
I would like to choose a detail filename from the acct_users file (based
on many parameters like Calling-Station-Id, NAS-IP-Address, ...) and use
that filename in the detail module. To be more precise: I want to have
only one detail instance, with a variable in the detailfile entry,
variable which should be set in the acct_users file.
The reason for that is to have a static radiusd.conf and have some
scripts that feed the users and acct_users files depending on clients
subscription.
I tried many things and didn't get anything to work. I do not use Realm
on this server, and everything is local (the server is used by another
proxy freeradius).
I tried these in my acct_users file:
DEFAULT Called-Station-Id==9100, Acct-Type:=csd.sfr
or DEFAULT Called-Station-Id==9100, Realm:=csd.sfr
or DEFAULT Called-Station-Id==9100
Realm:=csd.sfr
and in the detail file:
detailfile = /radacct/%{%{reply:Acct-Type}:-NOREALM}_%Y%m%d.log
or detailfile = /radacct/%{%{reply:Realm}:-NOREALM}_%Y%m%d.log
or detailfile = /radacct/%{%{Realm}:-NOREALM}_%Y%m%d.log
or detailfile = /radacct/%{%{Acct-Type}:-NOREALM}_%Y%m%d.log
and I only have a file with NOREALM prefix.
--
Christophe.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html