On 11.12.2014 14.05, Bengi Sağlam wrote:
> However in the log I realised that inner handler missing
> attribute '%{Calling-Station-Id}' and that is why my user is rejected.
> When I hard coded my query as "SELECT 'whatever' AS PASSWORD,
> 'bengi@bengi' AS NAME FROM DEVICES WHERE MAC='04_46_65_66_D6_0D' , my
> user is being authenticated successfully. So my question is how can I
> use attributes,which comes from the Access-Request packet, in the inner
> handler?
Instead of '%{Calling-Station-Id}', which tries to take the attribute
from the inner request object, try '%{OuterRequest:Calling-Station-Id}'.
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