Leighton Man wrote:
> I've upgraded to 2.1.3 but, sorry, I'm really struggling with the concepts.
> I can't do "if Ldap-Group" because there is no container in Active Directory 
> above staff and student to query.
> 
> What I think I need is:
> 
> if ladp_staff returns "ok" {
>       update reply{
>         ..................
>       }
> elsif ladp_student returns "ok" {
>       update reply{
>         ..................
>       }
> else {
>       Auth-Type := Reject
> }
> 
> ,where ldap_staff and ldap_student are instances of the ldap module
> I simply can't get the syntax right.

  see "man unlang".  The syntax and examples are documented.


   ...
   ldap_staff
   if (ok) {
      update reply {
       ...
      }
   }
   else {
     ldap_student
     if (ok) {
        update reply {
         ...
        }
     }
     else {
          reject
     }
   }

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to