22 Jan
2008
22 Jan
'08
5:14 a.m.
Arran Cudbard-Bell wrote:
If you require a string identifier for your NAS, you can use the Client-Shortname attribute in the request list. This just reflects the shortname assigned to the NAS using rlm_sql or in client definitions.
if(!"%{NAS-Identifier}"){ update request { NAS-Identifier = "%{client-shortname}" } }
For 2.0.1-pre, this should be: if (!NAS-Identifier) { update request { NAS-Identifier = "%{client:shortname}" } } I think it's time to release 2.0.1. There have been a few good bug fixes, and the ability to *not* double-quote everything is a big step forwards. Alan DeKok.