filling in missing attributes
Alan DeKok
aland at deployingradius.com
Tue Jan 22 11:14:53 CET 2008
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.
More information about the Freeradius-Users
mailing list