Issue with a new module and radiusd: symbol lookup error

2008-09-23 Thread Luca Adamo
Hi everybody, I'm using a self compiled version of FreeRADIUS 2.1.0 on a Linux x86 box running ubuntu 8.04 updated. I've been able to succesfully install and configure the server and to run some test using a D-Link access-point getting a regular Access- Accept. My troubles started when I

Re: Issue with a new module and radiusd: symbol lookup error

2008-09-23 Thread Alan DeKok
Luca Adamo wrote: My troubles started when I decided to implement a new module. My module has a structure similar to the sql module in fact it is used to query a MySQL database. I have been able to make this module connect to the database and to perform some operation on the reply packet

Re: Issue with a new module and radiusd: symbol lookup error

2008-09-23 Thread Luca Adamo
Il giorno 23/set/08, alle ore 14:36, Alan DeKok ha scritto: Source code questions usually belong on freeradius-devel. You don't need to edit the source code to change the SQL schema or queries. Just change the SQL schema and queries in the configuration files. That's why the queries are

Re: Issue with a new module and radiusd: symbol lookup error

2008-09-23 Thread Alan DeKok
Luca Adamo wrote: I'm also trying to put the source code of that function from sql.c to my module. I would suggest *not* re-writing the SQL module. Instead, look at rlm_sqlippool in git.freeradius.org. It leverages an existing SQL module to do additional queries. It means that you don't