Proxy help
Ivan Kalik
tnt at kalik.net
Wed Jul 2 01:05:57 CEST 2008
>OK, I think I have this figured out. Does this seem like a reasonable
>solution? From sites-enabled/default:
>
>pre-proxy {
> # Save our relevant attributes in the 'control' list before
> # we send our request to the proxy. We will retrieve them later.
> update control {
> Service-Type := "%{reply:Service-Type}"
> Reply-Message := "%{reply:Reply-Message}"
> }
>}
>
>post-auth {
> update reply {
> Service-Type := "%{control:Service-Type}"
> Reply-Message := "%{control:Reply-Message}"
> }
>}
>
I don't think that you need pre-proxy entries. Service -Type should be
in the request list, so you can update reply from there. And
Reply-Message can probably be derived from the Service-Type?
Ivan Kalik
Kalik Informatika ISP
More information about the Freeradius-Users
mailing list