rlm_perl hashes

Alan DeKok aland at deployingradius.com
Sat Aug 31 16:32:38 CEST 2013


Mehdi Ravanbakhsh wrote:
> If i remove SQL module in default (site enable) in any section then
> "%RAD_CHECK"  hashes is still available in rlm_perl  ?

  Yes.  The modules are completely independent.

> In my plan i need to transfer all policy mechanism to my database
> (PostgreSQL) function but we have some limitation in xlat , so i need to
> pass all value pairs from request to SQL function and get
> all  reply value pairs in function return . in this case my function
> read all check value pairs  directly from database so i think no need
> SQL module any more ...

  Uh.... the SQL module *connects* to the SQL database.  Without the SQL
module, you can't access your stored procedures.

> So can i transfer all SQL module Task to SQL  function in my database ?

  Programming.  Read the Postgres documentation to see how to use it's
embedded language.

  Alan DeKok.


More information about the Freeradius-Users mailing list