variables in 1.1.7
    Alan DeKok 
    aland at deployingradius.com
       
    Fri Nov 16 18:28:35 CET 2007
    
    
  
Norbert Wegener wrote:
...
> rlm_ldap: Adding mobile as Huntgroup-Name == "VL-SBS-AD02-0001"
  You can't add the Huntgroup-Name attribute.  It's like "Group", which
means Unix group, and do lookups in a unix group.  Huntgroup-Name means
do lookups in a huntgroup.
  Create and use another attribute for this.
> sql.conf:
>        authorize_check_query = "call firstif
> ('0','%{SQL-User-Name}','%{Huntgroup-Name}',  '%{NAS-IP-Address}','=','2')"
> 
> I would have expected the %{Huntgroup-Name} to be "VL-SBS-AD02-0001",
> but this is not true.
> 
> Is the desired assignment possible at all in 1.1.7 ?
  Yes.
sql.conf becomes:
	... %{My-Other-Attribute:-%{Huntgroup-Name}}
  Alan DeKok.
    
    
More information about the Freeradius-Users
mailing list