2 Sep
2009
2 Sep
'09
5 a.m.
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 }