unlang question

Arran Cudbard-Bell A.Cudbard-Bell at sussex.ac.uk
Thu Jul 5 16:24:37 CEST 2007


Alan DeKok wrote:
> Arran Cudbard-Bell wrote:
>   
>> So return codes work properly again now ?  Or do they semi work from 
>> before ?
>>     
>
>   
>   What also works now is:
>
> 	  if (notfound) {
> 		...
>   	}
>
>   
Yes so using return codes in unlang statements now works , which is what 
i was wondering.

so

module_foo
if(fail){
    module_bar
}

Though I suppose you could just use failover

failover {
    load-balance {
       sql1
       sql2
       sql3
    }
emergency_users
}


-- 
Arran Cudbard-Bell (A.Cudbard-Bell at sussex.ac.uk)
Authentication, Authorisation and Accounting Officer
Infrastructure Services | ENG1 E1-1-08 
University Of Sussex, Brighton
EXT:01273 873900 | INT: 3900




More information about the Freeradius-Devel mailing list