unlang question
    Alan DeKok 
    aland at deployingradius.com
       
    Wed Nov 14 13:42:41 CET 2007
    
    
  
Norbert Wegener wrote:
> Something like
> if ("%{sqlnastype:SELECT Value from radcheck where UserName =
> '%{User-Name}' and otherconditions}" == 'bla' )
> works,
> whereas I have problems
> with:
> 
> if ("%{sqlnastype:SELECT Value from radcheck where UserName =
> '%{User-Name}' and  other conditions.. " is not null )
> 
> Am I doing something wrong or is "is not null" not (yet) implemented?
  Where does the "is not null" come from?  That looks to be SQL syntax,
which is *not* implemented.
  Maybe you mean:  "%{sql:SELECT ... where .. is not null }"
  i.e. the "is not null" appears inside of the %{}, which is inside of
the "".
  Alan DeKok.
    
    
More information about the Freeradius-Users
mailing list