Added a cleaned up version here: http://wiki.freeradius.org/Rlm_sql_oracle Aurélien, edit the page to credit yourself somewhere if you want... -Arran On Jul 6, 2011, at 11:44 AM, Fajar A. Nugraha wrote:
On Wed, Jul 6, 2011 at 4:39 PM, Aurélien Lafranchise <aurelien_lafranchise@snype.org> wrote:
I am a newbie to FreeRadius, I prefer some kind of validation/authorization before.
Wiki is basically a collaborative tool. I agree with Arran, just add it to the wiki. If someone else finds a wrong info somewhere, or finds that some workarounds are no longer needed, they can always edit your post later.
-- Fajar
2011/7/6 Arran Cudbard-Bell <a.cudbardb@freeradius.org>
Why don't you add it to the wiki ;) -Arran On Jul 6, 2011, at 10:59 AM, Aurélien Lafranchise wrote:
Hi all, As I said, here is the step by step when using Oracle Instant Client 11 : 1. Decompress the tar file. 2. In src/modules/rlm_sql/drivers/rlm_sql_oracle : 2.1. Do "autoconf" 2.2 .and then ./configure --with-oracle-lib-dir=/usr/lib/oracle/11.2/client64/lib --with-oracle-include-dir=/usr/lib/oracle/11.2/client64 2.3. then "make" and you should have a .libs directory with a file rlm_sql_oracle-2.1.11.so 3. cp .libs/ rlm_sql_oracle-2.1.11.so /usr/lib64/freeradius/ 4. ln -s /usr/lib64/freeradius/rlm_sql_oracle-2.1.11.so /usr/lib64/freeradius/rlm_sql_oracle.so 5.1 in /etc/raddb cnfigure sql.conf 5.2 radiusd.conf(uncomment $INCLUDE sql.conf) 5.3 site-available/default uncomment linewith sql in the wanted section 5.4 from the decopressed archive cp -r raddb/sql/oracle /etc/raddb/sql/ 6. Be sure that environnement variables for the user who launch radiusd to have export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib and export ORACLE_HOME=/usr/include/oracle/11.2/client64 6.1 if not put it in the /etc/init.d/radiusd file 7. Launch freeradius (radiusd -X for debug and if ok service radiusd start) Hope this will help other people and at least to correct the bug of the 2.1.11 release installation procedure. Thanks all
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Arran Cudbard-Bell a.cudbardb@freeradius.org RADIUS - Half the complexity of Diameter