Could Perl called (like any other pre-compiled module such as chap,sql...) within an unlang script? The requirement is to query an external http server during the Auth process. Thanks, rg.
Could Perl be called (like any other pre-compiled module such as chap,sql...) within an unlang script? The requirement is to query an external http server during the Auth process. Thanks, rg.
Alan i've gone through it already. $ man unlang ..."If you need something more complicated than what is described here, we suggest using the Perl or Python modules rlm_perl, or rlm_python"..... However my question is related to calling Perl within unlang? I have an unlang script which does quite a number of checks.I need to another http check, thus wonder whether it would be possible to do it by calling Perl. Thanks, On Sat, Oct 18, 2008 at 4:19 PM, Alan DeKok <aland@deployingradius.com> wrote:
rsg wrote:
Could Perl be called (like any other pre-compiled module such as chap,sql...) within an unlang script?
$ man unlang
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
rsg wrote:
Alan i've gone through it already.
$ man unlang
..."If you need something more complicated than what is described here, we suggest using the Perl or Python modules rlm_perl, or rlm_python".....
However my question is related to calling Perl within unlang?
The "perl" module is... a module. The "man" page for "unlang" says that you can list module names along with the "if", "else", etc. commands. See the third paragraph of the "man" page, and the following text.
I have an unlang script which does quite a number of checks.I need to another http check, thus wonder whether it would be possible to do it by calling Perl.
The "man" page has examples of calling "chap" and "sql". "perl" is just another module. Alan DeKok.
participants (2)
-
Alan DeKok -
rsg