On 12/23/2013 07:27 PM, Michael wrote:

> for a proof of concept, i can set an error message this way:
> 
> first by changing the AuthRADIUS.pm source:

It appears you have Radiator 4.11 or earlier. One of the changes between
4.11 and 4.12 is how the Reply-Message from upstream is handled:

http://www.open.com.au/radiator/history.html

  Altered AuthBy RADIUS and AuthBy RADSEC handleReply so that in the
  event of an Access-Reject from a proxied request, AuthLog* can log
  the actual Reply-Message from the reply instead of 'Proxied'.
  Requested by David Zych.

This change is similar to what your proof of concept does.

> and then, i can set the error message in the ReplyHook with:
> $p->change_attr('Reply-Message', 'DefaultSimultaneousUse error');

With the current version this should be enough. The change made in
AuthRADIUS.pm should take care of the rest.

Thanks,
Heikki

-- 
Heikki Vatiainen <[email protected]>

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.
_______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator

Reply via email to