Compiling Freeradius v0.8.1 on FreeBSD v3.4

2003-02-01 Thread VPM Support
Hello: I'm trying to compile Freeradius v0.8.1 on a FreeBSD v3.4 system and its failing during the configure phase on the sem_init library functions. The specific error is: checking for library containing sem_init... no configure: error: -lsem not found. You may want to download it from

Exec-Program problem

2003-02-01 Thread Peter V. Saveliev
... I didn't found anything about this (bug? /dev/hands?) in the faq, maillist archive etc. One need to start a script, when a user logs on using radius. /etc/raddb/users: 8--- DEFAULT Acct-Status-Type == Start Exec-Program =

Re: Monthly usage limits -slowly but surely

2003-02-01 Thread Artur Hecker
hi Your point about commercial support is bang-on, though. The main reason I use free software is not because it's so much better than commercial software, and not because it's free. I use it because I can fix it when something goes wrong. When commercial software goes wrong, your only

Re: Exec-Program problem

2003-02-01 Thread Vitaliy Karlov
Peter V. Saveliev wrote: ... I didn't found anything about this (bug? /dev/hands?) in the faq, maillist archive etc. One need to start a script, when a user logs on using radius. /etc/raddb/users: 8--- DEFAULT Acct-Status-Type == Start

Re: Monthly usage limits -slowly but surely

2003-02-01 Thread Simon White
01-Feb-03 at 12:18, Artur Hecker ([EMAIL PROTECTED]) wrote : Your point about commercial support is bang-on, though. The main reason I use free software is not because it's so much better than commercial software, and not because it's free. I use it because I can fix it when something goes

Re: Compiling Freeradius v0.8.1 on FreeBSD v3.4

2003-02-01 Thread Alan DeKok
VPM Support [EMAIL PROTECTED] wrote: But when I run this same configuration on a FreeBSD v4.0 system everything compiles just fine. The problem is the FreeBSD v4.0 is not yet in production and won't be for some time to come Huh? FreeBSD 5.0 was just released. 3.4 is *ancient*, and even

Re: Compiling Freeradius v0.8.1 on FreeBSD v3.4

2003-02-01 Thread Evren Yurtesen
Well I think maybe he wanted to write 5.0 and wrote 4.0 instead, accidentally. :) On Sat, 1 Feb 2003, Alan DeKok wrote: VPM Support [EMAIL PROTECTED] wrote: But when I run this same configuration on a FreeBSD v4.0 system everything compiles just fine. The problem is the FreeBSD v4.0 is

i have a question^

2003-02-01 Thread falcon
how can i test starting exec-program-wait script using PostgreSQL after logging-off user? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

The famous rlm_sql_mysql question

2003-02-01 Thread Jim
Having compiled things properly (thanks, Alan!), the next step is to get freeradius talking to mysql. Got this on startup: rlm_sql (sql): Could not link driver rlm_sql_mysql: file not found blah blah blah Searched the archives and made sure everthing suggested was addressed. configure looks

MySQL Auth-Type

2003-02-01 Thread Michael Brininstool
I was able to get Freeradius to compile, no errors, on a FreeBSD-4.7 system. Our MySQL DB is running on an NT box. I built the tables like the books said to (someone on this list pointed out the 'op' filed must not be empty like the book said it could). I run radtest and get all the information

Re: The famous rlm_sql_mysql question

2003-02-01 Thread Daryl Tester
Jim wrote: I added /f/lib to the ld.so.conf file, put copies of all of the rlm*.a and rlm*.la files in /usr/local/lib. And run ldconfig? -- Regards, Daryl Tester, Software Wrangler and Bit Herder, IOCANE Pty. Ltd. - List info/subscribe/unsubscribe? See

Re: MySQL Auth-Type

2003-02-01 Thread Alan DeKok
Michael Brininstool [EMAIL PROTECTED] wrote: When I run in debug mode, I see the Auth-Type getting set to 'System' somehow. I have not figured out exactly how. The 'users' file sets that, through the 'files' module. Alan DeKok. - List info/subscribe/unsubscribe? See

Re: The famous rlm_sql_mysql question

2003-02-01 Thread Alan DeKok
Jim [EMAIL PROTECTED] wrote: Got this on startup: rlm_sql (sql): Could not link driver rlm_sql_mysql: file not found blah blah blah Static linking of the server doesn't work well with sub-modules. The MySQL driver is not actually built *into* the rlm_sql module. That should probably be

Re: The famous rlm_sql_mysql question

2003-02-01 Thread Jim
d'oh! Ok, it still doesn't work, and look: [ root@pdx-fp-rad0 - locate rlm_sql_mysql /f/lib/rlm_sql_mysql.a /f/lib/rlm_sql_mysql.la Maybe I'm missing a dependent library in ld. Upon which ones does rlm_sql_mysql depend? On Sun, 2 Feb 2003, Daryl Tester wrote: Jim wrote: I added /f/lib

Re: The famous rlm_sql_mysql question

2003-02-01 Thread Jim
On Sat, 1 Feb 2003, Alan DeKok wrote: Static linking of the server doesn't work well with sub-modules. The MySQL driver is not actually built *into* the rlm_sql module. That should probably be fixed. Ah! rm config.cache hmmm... I'm always sure to 'make clean' before a recompile -

Re: Exec-Program problem

2003-02-01 Thread Peter V. Saveliev
On Sat, 01 Feb 2003 13:30:38 +0200 Vitaliy Karlov [EMAIL PROTECTED] wrote: skip / May be you must write some like this? DEFAULT Auth-Type := Accept Exec-Program = /path/to/program.sh Or, In your case, that lines you must put in /etc/raddb/acct_user instead /etc/raddb/users skip /