Auth by NAS-Identifier using unlang
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Mon Aug 5 22:14:29 CEST 2013
>
>
> Running radiusd -X I get:
>
> :
> ++? if (Local-Group != NAS-Identifier )
> (Attribute Local-Group was not found)
> ? Evaluating (Local-Group != NAS-Identifier ) -> FALSE
> ++? if (Local-Group != NAS-Identifier ) -> FALSE
> :
>
> And it's clear Local-Group is always empty. :-(
Yeah you've inserted it into the reply list, and you're looking for it in the request list....
abc Cleartext-Password:="xyz", Local-Group := 'NAS-Identifier'
if (control:Local-Group != 'NAS-Identifier')
-Arran
Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team
More information about the Freeradius-Users
mailing list