rlm_sql_ocioracle driver v. 0.1

Ge@@ru geaaru at gmail.com
Sun Mar 6 19:54:08 CET 2011


Hi,

in attachment patch to add rlm_sql_ocioracle driver to freeradius 2.1.x
tree (it seems work yet on 3.x tree).

This drivers permit to use function/procedure with CURSOR
(through :Ret_Cursor string)  like for example:

group_membership_query = "begin :Ret_Cursor :=   \
			pkRadius.group_membership_query('%{SQL-User-Name}'); end;"

TODO for next release:
- add support to oracle connection pool instead of open a new connection
for every socket on startup;
- enhancement on handle error (through error callback) on do query;
- add documentation.

Module need oracle instantclient library and ocilib library
(http://orclib.sourceforge.net/).

Good luck to rlm_sql_ocioracle driver!!

Geaaru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rlm_sql_ocioracle.diff
Type: text/x-patch
Size: 68562 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20110306/9b53239a/attachment.bin>


More information about the Freeradius-Devel mailing list