Gary Prosser wrote:
> Hi
> I have 3 ldap instances (one for each of staff, student, faculty users
> on different hosts). In authorise section I want FR to call eg ldap2
> only if ldap1 returns fail or notfound.
>
> How can I refer to an instance of the ldap module within a conditional
> statement?
$ man unlang
> authorise {
> preprocess
> ldap1 if(fail || notfound){
Almost. Every *different* thing needs to be on a different line:
ldap1
if (fail || notfound {
That's it. Everything else you had was OK.
> ldap2
> }
> files
> }
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html