Compiling for use with Oracle

Brian Atkins batkins at tlcdelivers.com
Fri Feb 16 17:06:13 CET 2007


After removing the rlm_perl directory and rebuilding freeradius (no 
errors), I am getting:

# radius.exe -X
...
Module: Library search path is /usr/local/lib
radiusd.conf[10] Failed to link to module 'rlm_sql': Permission denied
radiusd.conf[1850] Unknown module "sql".
radiusd.conf[1779] Failed to parse authorize section.

Ok, so it 'sees' the module, but can initialize it due to permissions. 
But I don't see anything wrong with the permissions (keep in mind this 
is Cygwin on Windows):

Administrator at tempsvr /usr/local/sbin
$ ls -l /usr/local/lib/rlm_sql*
lrwxrwxrwx 1 Administrator None     10 Feb 12 10:09 
/usr/local/lib/rlm_sql-1.1.4.la -> rlm_sql.la
-rwxr-xr-x 1 Administrator None 113214 Feb 12 10:09 /usr/local/lib/rlm_sql.a
-rwxr-xr-x 1 Administrator None    812 Feb 12 10:09 
/usr/local/lib/rlm_sql.la
lrwxrwxrwx 1 Administrator None     14 Feb 12 10:09 
/usr/local/lib/rlm_sql_log-1.1.4.la -> rlm_sql_log.la
-rwxr-xr-x 1 Administrator None  38354 Feb 12 10:09 
/usr/local/lib/rlm_sql_log.a
-rwxr-xr-x 1 Administrator None    799 Feb 12 10:09 
/usr/local/lib/rlm_sql_log.la
-rwxrwxrwx 1 Administrator None  67982 Feb 12 10:09 
/usr/local/lib/rlm_sql_oracle.a
-rwxrwxrwx 1 Administrator None    802 Feb 12 10:09 
/usr/local/lib/rlm_sql_oracle.la
lrwxrwxrwx 1 Administrator None     17 Feb 12 10:09 
/usr/local/lib/rlm_sqlcounter-1.1.4.la -> rlm_sqlcounter.la
-rwxr-xr-x 1 Administrator None  45752 Feb 12 10:09 
/usr/local/lib/rlm_sqlcounter.a
-rwxr-xr-x 1 Administrator None    808 Feb 12 10:09 
/usr/local/lib/rlm_sqlcounter.la

Administrator at imd-lstempsvr /usr/local/sbin
$ id
uid=500(Administrator) gid=513(None) 
groups=0(root),513(None),544(Administrators),545(Users),1003(ORA_DBA)

What am I overlooking? Group perhaps?

Brian



More information about the Freeradius-Users mailing list