(RADIATOR) Using substrings in AcctColumnDef
Hugh Irvine
hugh at open.com.au
Sun Sep 7 18:14:42 CDT 2003
Hello Nick -
You could also write a PreClientHook to reduce the length of the
attribute.
There are some example hooks in the file "goodies/hooks.txt".
regards
Hugh
On Sunday, Sep 7, 2003, at 09:46 Australia/Melbourne, Nick M. Black
wrote:
> Hi,
>
> Configuration is Radiator 2.19 (old I know!) running under Linux, using
> FreeTDS to connect to a MS-SQL database for Platypus. I am trying to
> get
> a couple of Orinoco AP-1100s to work with Radiator. Authenticaion is
> working fine, but accounting isn't due to the length of the returned
> string in Acct-Session-ID being too long.
>
> I have tried using :
>
> AcctColumnDef AcctSessionID, %{Acct-Session-ID}, formatted,
> substring(%{Acct-Session-Id}, '=', -1})
>
> But I get a syntax error, and the accounting packet does not get
> inserted into the database.
>
> Any ideas ??
>
> --
> Nick Black
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>
>
NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list