radiusd -X SQL suggests "not found" however user attributes are in the radcheck table?

Fajar A. Nugraha list at fajar.net
Wed Aug 1 13:28:30 CEST 2012


On Wed, Aug 1, 2012 at 6:17 PM, Kaya Saman <kayasaman at gmail.com> wrote:
> Upon putting your suggestion in I get:
>
> Bare %{...} is invalid in condition at: %{User-Name})
> ....../default[62]: Errors parsing authorize section.
>
> The actual statement looks like so now with the above error in-place:
>
> if (%{User-Name}) {

Try

if ("%{User-Name}") {


... though I'm not sure why an update block by itself (without "if")
didn't work. AFAIK it should.

-- 
Fajar


More information about the Freeradius-Users mailing list