How to log sites-available/default variables

mdii mdii.alias at gmail.com
Tue May 19 11:01:19 CEST 2015


>
> Hi,
> >* Hi,
> *> >* In my sites-available/default file I set a post-proxy variable that is
> *>* added to the proxy-reply:
> *> >* > post-proxy {
> *>* >
> *>*      update reply {
> *>* >            Filter-Id := `/usr/sbin/ldap_get_group_info.sh %{User-Name}`
> *>* >       }
> *>* >
> *>* }
> *>* >
> *> >* I'm trying to add the Filter-Id value into the auth-detail-<date> file, is
> *>* it possible?
> *
> everything gets logged - but i reckon you are calling the detail module BEFORE you've done
> this update reply call.....
>
> alan
>
>
Thanks for your answer Alan,

How exactly it's logged? How can I add the Filter-Id information to the log?

My auth-detail-20150518 log file looks like:

    Mon May 18 06:46:16 2015
    Packet-Type = Access-Request
    User-Name = "user at domain.com"
    Acct-Session-Id = "1431935176I23fkb"
    NAS-IP-Address = 127.0.0.1
    NAS-Identifier = "Localhost"
    NAS-Port = 0
    Calling-Station-Id = "1115551212"
    Message-Authenticator = 0x2a9e87211fd9ce73f6e6faf739da0732

I've tried to play with the "Log" section in the radius.conf file but it
didn't change nothing. I imagine it could be in the modules/detail.log but
I couldn't find any info of how to set this up...


thanks again,
Marc

<freeradius-users%40lists.freeradius.org?Subject=Re%3A%20How%20to%20log%20sites-available/default%20variables&In-Reply-To=%3C20150519063917.GB955%40lboro.ac.uk%3E>


More information about the Freeradius-Users mailing list