On 12/18/2013 09:44 AM, eliran shlomo wrote:

> The attribute in the LDAP for RB-Context-Name has changed from safe to ngn.
> 
> but in the accounting that sent to the proxy the attribute value didn't
> changed.
> RB-Context-Name = "safe"
> 
> the hook is acting as expected the problem is that some of attribute
> values stay the same and some of them changed.

Hello Eliran,

the Hook you sent only changes Class attribute. In other words, only
$p->change_attr('Class', ...) is called but values of other attributes
are not touched.

The log you sent earlier shows that authentication and accounting
requests are processed by different Handlers. This is very likely one
reason why they change the attributes differently.

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