I'm back at trying to get freeradius working under Tru64. This time using 1.0.5. I have an older cvs version working, but I can't remember what I did to make it work. :-( The working version I have is marked 1.1.0-pre0 built on Feb 17, 2005. First, in src/main/radiusd.c I have commented out the OSFC2 define. I do this because I'm not running C2, but it is always found and enabled, which kills the make. Then, I run configure with these options: CFLAGS="-I/usr/local/ssl/include -I/usr/local/include" LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/lib" LIBS="-lssl -lcrypto -lsecurity" ./configure \ --disable-shared \ --enable-ltdl-install=no \ --with-openssl-includes=/usr/local/ssl/include \ --with-openssl-libraries=/usr/local/ssl/lib \ --without-mysql --disable-mysql radiusd seems to compile, but with many warnings. However, when I run it, it immediately seg faults and dumps core. Unfortunately, I am not a programmer, so I don't know how to begin troubleshooting this and try to help get freeradius working under Tru64. I remember being told that none of the development team uses Tru64. So, it's possible this will never work "right". But, I'm willing to help out in whatever limited capacity I can, including CPU/shell account. Any useful suggestions are welcome. --- Tim Winders Associate Dean of Information Technology South Plains College Levelland, TX 79336 Problem replying to my email? Click the "Sign" button in the OE toolbar or, better yet, get your own FREE Personal E-Mail Digital ID: http://www.thawte.com/email/index.html
Hi, Is it possible to replace clients.conf with an SQL table? I assume that is what the NAS table is for in the schema, but I have seen no mention of it being used, or any documentation, for it on the web. If it is possible could you please provide me with an example setup. Cheers, Ben
Hi, Am I to take it that it is not possible to use SQL for the clients.conf file? And if that it the case could someone please explain what the nas table is for in the database schema? Cheers, Ben On Wed, 2005-09-14 at 22:42 +0100, Ben Dowling wrote:
Hi,
Is it possible to replace clients.conf with an SQL table? I assume that is what the NAS table is for in the schema, but I have seen no mention of it being used, or any documentation, for it on the web.
If it is possible could you please provide me with an example setup.
Cheers, Ben
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Am I to take it that it is not possible to use SQL for the clients.conf file? And if that it the case could someone please explain what the nas table is for in the database schema?
It's possible. You do need at least one entry in "clients.conf", though. I suggest "127.0.0.1" Then, read "sql.conf", and set "readclients=yes" Alan DeKok.
On Thu, 2005-15-09 at 15:08 -0400, Alan DeKok wrote:
Am I to take it that it is not possible to use SQL for the clients.conf file? And if that it the case could someone please explain what the nas table is for in the database schema?
It's possible. You do need at least one entry in "clients.conf", though. I suggest "127.0.0.1"
Then, read "sql.conf", and set "readclients=yes"
Alan DeKok.
Cool. I am working with FreeBSD and the updates for 1.0.5 are not in the cvsup repository yet, so my comment is in regards to 1.0.4, but may apply to 1.0.5. I to a look at the postgresql stuff and it appears as though the schema will need a little tweak in order to be compitible with "rlm_sql.c"'s requirements. A "SERIAL" column named Id will need to be added. This will make it compatible : -- SQL clients table CREATE TABLE nas ( id SERIAL PRIMARY KEY, nasname VARCHAR(128), shortname VARCHAR(32) NOT NULL, type VARCHAR(30), ports int4, secret VARCHAR(60) NOT NULL, community VARCHAR(50), description TEXT ); This is not required, but this info used to be in the nas table in the postgresql schema. -- additional nas info table included in previous nas table CREATE TABLE nas ( id int4 NOT NULL, ipaddr INET PRIMARY KEY, snmp VARCHAR(10), naslocation VARCHAR(32) );
On Wed, 2005-09-14 at 22:42 +0100, Ben Dowling wrote:
Hi,
Is it possible to replace clients.conf with an SQL table? I assume that is what the NAS table is for in the schema, but I have seen no mention of it being used, or any documentation, for it on the web.
If it is possible could you please provide me with an example setup.
Cheers, Ben
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (4)
-
Alan DeKok -
Ben Dowling -
Guy Fraser -
Tim Winders