On 12/12/12 22:04, [email protected] wrote:
Hello,

If someone can advise me...
How to share information between the authorize() function and the 
authenticate() function within a perl or python script ?

Just set an attribute:

authorize {
  update request {
    Tmp-String-0 := "%{some:expansion}"
  }
  ...
}
authenticate {
  Auth-Type XXX {
    if (Tmp-String-0 == "a") {
      module_a
    }
    else {
      module_b
    }
  }
}

...re-work as appropriate for your use-case.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to