xlat errors & filter logs

mimir erdem.mimiroglu at alcatel-lucent.com
Tue Apr 3 12:57:29 CEST 2012


Hello,

I am adding custom attributes and replicate or proxy them to other radius
servers.
But I also want to log this operation.

I test it via sql xlat. ( I will also use ldap xlat, I think they will be
same like "%ldap: ....." )

For example, I am waiting 20 digit number from my queries. But, if I get
NULL or sth different from 20 digit number, I want to log it to somewhere.

Is it possible?

DEFAULT Acct-Status-Type == Start
        Test-ID-1 = "%{sql:SELECT id from deneme limit 1}",
        Test-ID-2 = "%{sql:SELECT id from deneme limit 1}"

DEFAULT Acct-Status-Type == Stop
        Test-ID-1 = "%{sql:SELECT id from deneme limit 1}",
        Test-ID-2 = "%{sql:SELECT id from deneme limit 1}"

Thanks.


--
View this message in context: http://freeradius.1045715.n5.nabble.com/xlat-errors-filter-logs-tp5614816p5614816.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.


More information about the Freeradius-Users mailing list