Hi folks!

Compiling FreeRADIUS with FreeTDS support works fine. But I can't get it to
actually work!

With last night's snapshot (freeradius-snapshot-20020430) and FreeTDS 0.53
MySQL works fine, but as soon as I switch the 'driver' line in sql.conf to
"rlm_sql_freetds" radiusd -xx returns:

Module: Loaded SQL
 sql: driver = "rlm_sql_freetds"
 sql: server = "localhost"
 sql: port = ""
 sql: login = "root"
 sql: password = "x"
 sql: radius_db = "radius"
 sql: acct_table = "radacct"
 sql: acct_table2 = "radacct"
 sql: authcheck_table = "radcheck"
 sql: authreply_table = "radreply"
 sql: groupcheck_table = "radgroupcheck"
 sql: groupreply_table = "radgroupreply"
 sql: usergroup_table = "usergroup"
 sql: nas_table = "nas"
 sql: dict_table = "dictionary"
 sql: sqltrace = no
 sql: sqltracefile = "/var/log/radius/sqltrace.sql"
 sql: deletestalesessions = yes
 sql: num_sql_socks = 5
 sql: sql_user_name = "%{User-Name}"
...
sql: connect_failure_retry_delay = 60
rlm_sql: Could not link driver rlm_sql_freetds: file not found
rlm_sql: Make sure it (and all its dependent libraries!) are in the search
path of your system's ld.
radiusd.conf[4]: sql: Module instantiation failed.

The file rlm_sql_freetds.so is located in /lib/ (exactly as
rlm_sql_mysql.so). So why doesn't radiusd find it?

I haven't actually got a MS SQL server running right now, so the module
can't access a db of course, but it doesn't even seem to get that far...

What am I missing? Any idas?

Thanx,
Chris

--
Christoph R. Hartel
Linux System Administrator

eMind GmbH               |  phone:  +49 671 794613 - 0
Rosenheimer Strasse 2-4  |  fax:    +49 671 794613 - 50
D-55543 Bad Kreuznach    |  mobile: +49 163 6666 723
www.emindgroup.com       |  email:  [EMAIL PROTECTED]


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to