Re: Using external program for authentication

2004-12-04 Thread Nick 'TARANTUL' Novikov
Alan DeKok wrote: But in this case freeradius will fork process on every request. Yes. It's not good, fork very slow. Can freeradius fork external script at startup and send attributes to him through pipe w/o forking ? (as in openradius) -- TARANTUL - List info/subscribe/unsubscribe?

Re: freeradius oracle crash

2004-11-26 Thread Nick 'TARANTUL' Novikov
Alan DeKok wrote: Try editing src/modules/rlm_sql/rlm_sql.c. Look at the end of the file, for ...THREAD_SAFE. Set it to ...THREAD_UNSAFE. Re-compile re-install. It should help. It looks like the Oracle code isn't thread-safe. I patch sources as describe in

freeradius oracle crash

2004-11-22 Thread Nick 'TARANTUL' Novikov
I build freeradius-1.0.1 with rlm_sql_oracle. (Oracle 10g) After some time radius daemon crashed (segfault) Backtrace core file produced this output: #0 0x40154c97 in mallopt () from /lib/libc.so.6 #1 0x40153ef3 in malloc () from /lib/libc.so.6 #2 0x40b4dc1a in sltstidinit () from

rlm_python with cx_Oracle

2004-11-17 Thread Nick 'TARANTUL' Novikov
Hello! I have some troubles with import cx_Oracle python module. After add import string to I see this in debug: Module: Loaded python python: mod_instantiate = freeradius python: func_instantiate = instantiate python: mod_authorize = freeradius python: func_authorize = authorize python:

add new attribute

2004-10-27 Thread Nick 'TARANTUL' Novikov
Hello! I want add new attribute, if one (may be more) of present attribute have specified value. For example, if NAS-Port-Type=Virtual, I want add attribute Group=pppoe. How I can do it? -- TARANTUL - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html