On 08/10/2018 11.49, alexander.hartma...@t-systems.com wrote:

On the new servers the OSC-Client-Identifier isn't populated by the PreHandlerHook named 'tacacs_client_identifier' from goodies/hooks.txt.

Please check if this is a bug, thanks!

This seems to be a bug in the sample hook. Radius::Client::findAddress has been documented to use binary address, not string, for a long time but it has worked with the both. This did change in 4.21 which caused the hook to break.

Doing this before calling findAddress should fix it and also work with older versions.

$client_addr = Radius::Util::inet_pton($client_addr);

Thanks for letting us know about this,
Heikki

--
Heikki Vatiainen <h...@open.com.au>

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, TACACS+, PAM, Active Directory,
EAP, TLS, TTLS, PEAP, WiMAX, RSA, Vasco, Yubikey, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, etc.
_______________________________________________
radiator mailing list
radiator@lists.open.com.au
https://lists.open.com.au/mailman/listinfo/radiator

Reply via email to