Re: Removing Modules which are not needed

2003-11-07 Thread Kostas Kalevras
On Fri, 7 Nov 2003, Arindam Roy wrote: > Hi to all, > My query is that how can I disable certain modules? Like I want to > disable pap. When I give ./configure --without-pap it configures, and > after make and > make install I edit the radiusd.conf file. Here I comment the

Removing Modules which are not needed

2003-11-07 Thread Arindam Roy
Hi to all, My query is that how can I disable certain modules? Like I want to disable pap. When I give ./configure --without-pap it configures, and after make and make install I edit the radiusd.conf file. Here I comment the lines for pap support. But when I run with radiusd -X it stops

Re: Radiusd can not load the modules. ??

2003-10-28 Thread Alan DeKok
ipping the loading of modules... ... > main: debug_level = 0 > read_config_files: entering modules setup > Module: Library search path is /usr/local/lib > Listening on IP address *, ports 1812/udp and It looks like you've edited the configuration file to delete all of the

Radiusd can not load the modules. ??

2003-10-27 Thread hulusi onder
hi everybody; i have one last problem before seeing the whole systme working promptly. here is the problem. the freeradius (snpshot20021028) i am running on Redhat 8.0 seems working OK, however when i look at the logs i can see that it is skipping the loading of modules... i have checked out all

Re: modules not been compiled

2003-09-24 Thread Kostas Kalevras
On Wed, 24 Sep 2003, Rohaizam Abu Bakar wrote: > I found about rlm_ldap ... due to liblber... installed openldap and seems OK... > > but for rlm_counter, rlm_ippool... due to libgdbm.. do i need to install one?? YES -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] Na

Re: modules not been compiled

2003-09-24 Thread Rohaizam Abu Bakar
:  libgdbm.configure: warning: FAILURE: rlm_krb5 requires:  krb5.configure: warning: FAILURE: rlm_sql_postgresql requires:  libpq-fe.h libpq. - Original Message - From: Rohaizam Abu Bakar To: [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 4:34 PM Subject: modules

modules not been compiled

2003-09-24 Thread Rohaizam Abu Bakar
  I'm compiling freeradius 0.9.0 in new machine (FreeBSD 4.8) but  there are a few modules not been compiled especially rlm_ldap. But from last compilation.. seems OK...     I need rlm_counter,rlm_ippool & rlm_ldap.  List of modules not been compiled.      rlm_checkval rl

Re: src/lib/smbdes.c and src/modules/rlm_smb/smbdes.c

2003-09-19 Thread Alan DeKok
Nicolas Baradakis <[EMAIL PROTECTED]> wrote: > I was wondering if there were other doublons in the source, so I ran > the following command > $ find . -name \*.c -exec basename '{}' \; | sort | uniq -d > smbdes.c > md4.c That's a duplicate. > log.c > session.c > smbencrypt.c > valuepair.c Th

Re: src/lib/smbdes.c and src/modules/rlm_smb/smbdes.c

2003-09-19 Thread Nicolas Baradakis
ource files with the same name and with little > > > differences. Is it in accordance with the expected behaviour ? [...] > > And the modules/rlm_smb file supplies two extra functions... Maybe > > modules/rlm_smb should be calling the code in libradius? > > Yes. [..

Re: src/lib/smbdes.c and src/modules/rlm_smb/smbdes.c

2003-09-11 Thread Alan DeKok
"Paul Hampson" <[EMAIL PROTECTED]> wrote: > And the modules/rlm_smb file supplies two extra functions... Maybe > modules/rlm_smb should be calling the code in libradius? Yes. > Hmm. rlm_mschap and rlm_eap_leap use lib/smbdes.c... And > rlm_x99_token may do, as well.

RE: src/lib/smbdes.c and src/modules/rlm_smb/smbdes.c

2003-09-11 Thread Paul Hampson
in lib uppercases code in lrad_lmpwdhash which is otherwise equivalent to E_P16 and lrad_mschap ensures the win_password is exactly 16 bytes long and is otherwise equivalent to E_P24. The code in smbencrypt.c takes care of these extra checks... And the modules/rlm_smb file supplies two extra f

src/lib/smbdes.c and src/modules/rlm_smb/smbdes.c

2003-09-11 Thread Nicolas Baradakis
Maybe it's a anecdotic question, but... I noted there's 2 source files with the same name and with little differences. Is it in accordance with the expected behaviour ? -- Nicolas Baradakis - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: Setting internal attribute Group from SQL modules

2003-08-28 Thread Ali Gunduz
Hi, Thanks for answers.. I'll try Sql-Group.. I do not use radgroupreply due to some access problems. I don't have total control over this DB, hence some people might change this table and I might not be aware of that. So it's better to keep this kind of configuration in users file.. Ali Gunduz

RE: Setting internal attribute Group from SQL modules

2003-08-27 Thread Paul Hampson
> From: Ali Gunduz > Sent: Wednesday, 27 August 2003 6:23 PM > We have a problem with getting the group name into Group attribute from > SQL and then checking it in users file. > user <-> group matching info is stored in Postgresql. > > A sample entry (Id field not show) is like below > usernam

Re: Setting internal attribute Group from SQL modules

2003-08-27 Thread Kostas Kalevras
On Wed, 27 Aug 2003, Ali Gunduz wrote: > Hi, > > We have a problem with getting the group name into Group attribute from > SQL and then checking it in users file. > > authorize module setup is like this: > > authorize { > preprocess > chap > mschap > suffix > sql_pgsq

Setting internal attribute Group from SQL modules

2003-08-27 Thread Ali Gunduz
Hi, We have a problem with getting the group name into Group attribute from SQL and then checking it in users file. authorize module setup is like this: authorize { preprocess chap mschap suffix sql_pgsql files } user <-> group matching info is st

cannot compile with --with-experimental-modules in freebsd 4.8

2003-08-21 Thread apellido jr., wilfredo p
sir, im trying to send my log but since the message is bigger than 65536 bytes - its refused. my mail bounce. if you have spare time to see my log here's the website. thanks configure: http://203.177.22.150:8080/configure.txt make http://203.177.22.150:8080/make.txt make install: htt

RE: cannot compile with --with-experimental-modules in freebsd 4.8

2003-08-21 Thread Paul Hampson
> From: apellido jr., wilfredo p > Sent: Friday, 22 August 2003 2:23 AM >im trying to install the latest cvs of > freeradius (freeradius-snapshot-20030820)in freebsd > 4.8, without experimental modules the radius almost > work but since we are thinking of prepaid i

Re: cannot compile with --with-experimental-modules in freebsd 4.8

2003-08-21 Thread Alan DeKok
"apellido jr., wilfredo p" <[EMAIL PROTECTED]> wrote: >im trying to install the latest cvs of > freeradius (freeradius-snapshot-20030820)in freebsd > 4.8, without experimental modules the radius almost > work but since we are thinking of prepaid inte

cannot compile with --with-experimental-modules in freebsd 4.8

2003-08-21 Thread apellido jr., wilfredo p
hello, im trying to install the latest cvs of freeradius (freeradius-snapshot-20030820)in freebsd 4.8, without experimental modules the radius almost work but since we are thinking of prepaid internet ( 10 hrs , 20 hrs and unlimited where consumable for one month) im trying to install

RE: Experimental modules

2003-08-04 Thread Ed H
I am having the same problem installing --with-experimental-modules for version 0.9.0. Has this been fixed, or is there a workaround? Ed This means the 'experimental module' cannot be configured without the user specifically going to that directory and changing the execution perm

Re: Experimental modules

2003-07-28 Thread SIMICRO ML
Alex Chen wrote: This means the 'experimental module' cannot be configured without the user specifically going to that directory and changing the execution permission bit, right? Is the '--with-experimental-modules' flag working in the 'configure' script or not? I

RE: Experimental modules

2003-07-28 Thread Alex Chen
This means the 'experimental module' cannot be configured without the user specifically going to that directory and changing the execution permission bit, right? Is the '--with-experimental-modules' flag working in the 'configure' script or not? In my previous post

Re: Experimental modules

2003-07-28 Thread Alan DeKok
"Alex Chen" <[EMAIL PROTECTED]> wrote: > The config file in src/modules/rlm_sqlcounter/configure does not > have the execution permission bit set in my system. > > Is it set in the CVS system? No. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: Experimental modules

2003-07-26 Thread Alex Chen
The config file in src/modules/rlm_sqlcounter/configure does not have the execution permission bit set in my system. Is it set in the CVS system? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Alex Chen > Sent: Saturday, July 26, 2003 1

Experimental modules

2003-07-26 Thread Alex Chen
I was trying to use the rlm_sqlcounter module and followed the document 'rlm_sqlcounter' in the doc subdirectory. I used the flag --with-experimental-modules but the result was quite surprising. If I used 'configure' without any flags before running 'make' and &#x

Re: GPL and Modules

2003-07-21 Thread Alan DeKok
Steve Stearns <[EMAIL PROTECTED]> wrote: > I searched through the mailing lists archives and saw some occasions > where people asked about the GPL license and releasing a commercial > product. I'm currently contemplating this and I'm wondering how this > would eff

GPL and Modules

2003-07-21 Thread Steve Stearns
I searched through the mailing lists archives and saw some occasions where people asked about the GPL license and releasing a commercial product. I'm currently contemplating this and I'm wondering how this would effect custom developed modules. I'd like to be able to write some

Re: 0.8.1 , src/modules/rlm_sql/drivers/rlm_sql_postgresql/sql_postgresql.c

2003-07-16 Thread Peter Nixon
d implicitly > `extern' and later `static' > sql_postgresql.c:228: warning: previous declaration of `sql_num_fields' > make[10]: *** [sql_postgresql.o] Error 1 > #--- > > > Mentioned file is: > src/modules/rlm_sql/drivers/rlm_sql_postgresql/sql_postgresql.c > > Line 115

Re: 0.8.1 , src/modules/rlm_sql/drivers/rlm_sql_postgresql/sql_postgresql.c

2003-07-16 Thread Alan DeKok
"Ali Gunduz" <[EMAIL PROTECTED]> wrote: > I'm having these errors while compiling 0.8.1 with postgresql support. It's a bug in 0.8.1, which is fixed in 0.9.0. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

0.8.1 , src/modules/rlm_sql/drivers/rlm_sql_postgresql/sql_postgresql.c

2003-07-16 Thread Ali Gunduz
ql.c:228: warning: previous declaration of `sql_num_fields' make[10]: *** [sql_postgresql.o] Error 1 #--- Mentioned file is: src/modules/rlm_sql/drivers/rlm_sql_postgresql/sql_postgresql.c Line 115 of this file is: radlog(L_DBG, "rlm_sql_postgresql: Postgresql check_error: s, returning

Re: bugfix for src/modules/rlm_x99_token

2003-07-16 Thread Frank Cusack
0.9): Index: x99_rlm.c === RCS file: /source/radiusd/src/modules/rlm_x99_token/x99_rlm.c,v retrieving revision 1.37 diff -u -r1.37 x99_rlm.c --- x99_rlm.c 13 Nov 2002 04:21:59 - 1.37 +++ x99_rlm.c 16 Jul 2003 07:21:08 - @@ -306,6 +306,9 @@ /* The State attribute will be prese

bugfix for src/modules/rlm_x99_token

2003-07-15 Thread Steffen Ullrich
patch should fix this. diff -ruw freeradius-0.8.1/src/modules/rlm_x99_token/x99_rlm.c freeradius-0.8.1-patched/src/modules/rlm_x99_token/x99_rlm.c --- freeradius-0.8.1/src/modules/rlm_x99_token/x99_rlm.c2002-11-13 05:21:59.0 +0100 +++ freeradius-0.8.1-patched/src/modules

Freeradius doesnt start with experimental-modules on.

2003-07-01 Thread Suresh Pinnamaneni
yes ur rt i am getting the same error i am using the CVS of 25-06 lemme check if there is any CVS after that...Suresh.P, Vijayawada - 520 010. India. Ph : +91-866-485230 +91-866-483111 Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

RE: Freeradius doesnt start with experimental-modules on.

2003-07-01 Thread Jonathan Ruano
If I dont remember wrong, there was a "dont know how to make static" error during compilation process, right? Guess this was already fixed. Grab a recent CVS copy. Jonathan. -- Jonathan Ruano - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Freeradius doesnt start with experimental-modules on.

2003-07-01 Thread Suresh Pinnamaneni
I tried to install the freeradius with the experimental-modules on... but it doesnt do the initial setup itself can anyone help mein this regardsSuresh.P, Vijayawada - 520 010. India. Ph : +91-866-485230 +91-866-483111 Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

freeradius doesnt configure with-experimental-modules

2003-07-01 Thread Suresh Pinnamaneni
I tried to install the freeradius with the experimental-modules on... but it doesnt do the initial setup itself can anyone help mein this regardsSuresh.P, Vijayawada - 520 010. India. Ph : +91-866-485230 +91-866-483111 Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

freeradius doesnt configure with-experimental-modules

2003-07-01 Thread Suresh Pinnamaneni
I tried to install the freeradius with the experimental-modules on... but it doesnt do the initial setup itself can anyone help mein this regardsSuresh.P, Vijayawada - 520 010. India. Ph : +91-866-485230 +91-866-483111 Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

Re: how to use different accounting modules for different realms

2003-06-11 Thread Franklin Trumpy
hose DEFAULT entries need to be in your 'acct_users' file. You should be able to forego the third, "empty" DEFAULT entry, too. The documentation for the four -Type modules are all basically the same file. I'll submit a patch for them if/when I have time. They could use s

Re: how to use different accounting modules for different realms

2003-06-10 Thread Dave Mason
", Acct-Type := REALM2 DEFAULT radiusd.conf ---- modules { detail { default config for detail } detail detail1 { config for detail1 } detail detail2 { config for detail2 } } accounting { acct_unique detail Acct-Type R

Re: how to use different accounting modules for different realms

2003-06-09 Thread Franklin Trumpy
On Mon, 9 Jun 2003, Dave Mason wrote: > I need to process accounting data with different modules > based on the realm in the User-Name. If I recall correctly, the CVS head includes support for Acct-Type. It's not in 0.8.1, however. Grab the latest snapshot and look in doc/Acct-Type

how to use different accounting modules for different realms

2003-06-09 Thread Dave Mason
Hi, This may have been answered before, but I took a quick look aroundand didnt see it. I need to process accounting data with different modules based on the realm in the User-Name. That is, any accounting request from realm A.com would go to detail, requests from B.com would go somewhere

Re: Separating zones by ou using LDAP modules/logs?

2003-03-31 Thread Kostas Kalevras
On Mon, 31 Mar 2003, Benjamin Smith wrote: > Dear all, > > I'm using (and loving!) FreeRadius on LDAP. We had a bit of a situation last > w/e where we had to merge another ISP's user base into our LDAP setup, and > both companies are using the same dialup numbers. > > I setup a different ou in LDA

Separating zones by ou using LDAP modules/logs?

2003-03-31 Thread Benjamin Smith
Dear all, I'm using (and loving!) FreeRadius on LDAP. We had a bit of a situation last w/e where we had to merge another ISP's user base into our LDAP setup, and both companies are using the same dialup numbers. I setup a different ou in LDAP to keep the two companies, changed the rootdn in

Re: building modules outside the FreeRadius tree

2003-01-13 Thread Mike Varley
(according to GDB) request->packet == NULL. > > however, when I compile the exact same code under the freeradius > sturcture, everything works fine. > > I know I'm doing something outside the scope of the FreeRADIUS project, > but if anyone could shed some light on wh

building modules outside the FreeRadius tree

2003-01-13 Thread Mike Varley
on why this might be happening, or some details on how the modules are built and linked etc... with libtool, it would be greatly appreciated. Thanks in advance. MV -- ~~~ Mike Varley -= SOMA Networks =- Tel: 416.977.1414 x1578 email: [EMAIL PROTECTED]

Using different modules to check simultanous use

2003-01-04 Thread Wisam Najim
Hi All, I am using freeRADIUS to authorize VPN customers based on domain name (realm) or called station Id (DNIS). In authorization I am using autztype to distinguish between the two types and load the appropriate sql module for each. I want to know if there is something similar to autztype that I

Re: Modules: rlm_pap.c

2002-10-22 Thread Kostas Kalevras
On Tue, 22 Oct 2002 [EMAIL PROTECTED] wrote: > Hi! > > Something strange in rlm_pap.c code...in pap_instantiate() > pthread_mutex_init() is called only when "crypt" configured > as encryption scheme, but in pap_detach() pthread_mutex_destroy() > is called without any checking. This cause radiusd

Modules: rlm_pap.c

2002-10-22 Thread delphi
Hi! Something strange in rlm_pap.c code...in pap_instantiate() pthread_mutex_init() is called only when "crypt" configured as encryption scheme, but in pap_detach() pthread_mutex_destroy() is called without any checking. This cause radiusd to not exit properly when pap module is used and configur

Re: Re[6]: Modules cleanup

2002-10-21 Thread Alan DeKok
> Now it's working fine...for KILL and TERM. Except SIGKILL can't be caught. But that's another story... > BTW, I notice that this is work correctly only when compiling with > --with-threads. Previously, when I compiled --with-threads=no there > was problems authenticating users with sql modul

Re: Modules cleanup

2002-10-19 Thread Alan DeKok
[EMAIL PROTECTED] wrote: > I'm slightly change modules.c and modules.h in order to make > module_list_free() public accessible. And I place call to > this function in radiusd.c sig_fatal() function. That won't work. If it does, then it works by accident.Signal call handling functions shoul

Modules cleanup

2002-10-19 Thread delphi
Hi! I'm slightly change modules.c and modules.h in order to make module_list_free() public accessible. And I place call to this function in radiusd.c sig_fatal() function. At now after killing radiusd there is correct cleanup of rlm_sql module at least (so connection to sql server is correctly clo

Re: mysql modules

2002-09-07 Thread Artur Hecker
sorry, i have no idea about administrating a sun > How can I get and install the libz? no idea how you do it under sun (solaris?). but libmysqlclient.a needs at least the functions compress and uncompress which are in the libz.a > The compilier is gcc 3.2 binary distribution which > downloads

Re: mysql modules

2002-09-06 Thread ho k
Hi --- Artur Hecker <[EMAIL PROTECTED]> wrote: > hi > > > > checking for compress in -lz... no > > install the libz. > How can I get and install the libz? > > > # gcc SQL.c -L/usr/local/mysql/lib -lmysqlclient > > > > However, I can't be success. > > > > #Undefined first referenced

Re: mysql modules

2002-09-06 Thread Artur Hecker
hi > checking for compress in -lz... no install the libz. > # gcc SQL.c -L/usr/local/mysql/lib -lmysqlclient > > However, I can't be success. > > #Undefined first referenced > symbol in file > socket/usr/local/mysql/lib/libmysqlclient.a > (libmysql.o) > getp

Re: mysql modules

2002-09-05 Thread ho k
Hi I have the same problem, and here is the output of configure error: #configuring in ./drivers/rlm_sql_mysql running /bin/sh ./configure --with-mysql-include-dir=/usr/local/mysql/include --with-mysql -lib-dir=/usr/local/mysql/lib --cache-file=../.././config.cache --srcdir=. loading cache ../

Re: mysql modules

2002-09-05 Thread ho k
Hi The same warning was shown after including --with-mysql-lib-dir=/usr/local/mysql/lib in command line May any symbolic link be creat just like as for include "ln -s ../include mysql". I use solaris2.7, gcc3.2 and mysql binary packet installed in /usr/local/mysql Any suggestion? Thanks K -

Re: mysql modules

2002-09-05 Thread Ador Dauz
The way I read your error is you did not include the library option please include it... --with-mysql-lib-dir=/usr/local/mysql/lib > #./configure > --with-mysql-include-dir=/usr/local/mysql/include > > I got the warning as: > checking for compress in -lz... no > checking for mysql/mysql.h... ye

Re: mysql modules

2002-09-05 Thread Artur Hecker
ho k wrote: > I got the warning as: > > configuring in ./drivers/rlm_sql_mysql > running /bin/sh ./configure > --with-mysql-include-dir=/usr/local/mysql/include - > -cache-file=../.././config.cache --srcdir=. > loading cache ../.././config.cache > checking for gcc... (cached) gcc > checking whe

Re: mysql modules

2002-09-05 Thread Artur Hecker
hi thanks, i resolved this problem. the part with the headers was my own error. i had some very restrictive rights set on the directory. so, now configure finds everything by its own. the second part of the problem were the libraries. here again, the configure script was doing ok ;-) in fact, m

Re: mysql modules

2002-09-05 Thread ho k
Hi After creating the link inside the directory of /usr/local/mysql/include #ln -s ../include mysql, then #./configure --with-mysql-include-dir=/usr/local/mysql/include I got the warning as: configuring in ./drivers/rlm_sql_mysql running /bin/sh ./configure --with-mysql-include-dir=/usr/l

Re: mysql modules

2002-09-04 Thread Ador Dauz
On Thursday 05 September 2002 06:52, you wrote: > :-) > : > > It *is* using the path you give it. That's not the problem. > > well, it does add "mysql" to it. > > > The problem is that the MySQL header files are *normally* in > > , as evidenced by the fact that this issue hasn't been > > a pr

Re: mysql modules

2002-09-04 Thread Artur Hecker
:-) > It *is* using the path you give it. That's not the problem. well, it does add "mysql" to it. > The problem is that the MySQL header files are *normally* in > , as evidenced by the fact that this issue hasn't been > a problem for at least the past year. So if you're running into a

Re: mysql modules

2002-09-04 Thread Alan DeKok
Artur Hecker <[EMAIL PROTECTED]> wrote: > > Everyone installs things in different places, and expects the poor > > 'configure' script to figure it all out . > > no, i don't expect it to find it. but i _do_ expect it to use the path > i've just given to it as command-line parameter. in that case

Re: mysql modules

2002-09-04 Thread Artur Hecker
hi alan :) > > it is definitive, however, in my case the headers are installed in > > /usr/local/mysql/include (the mysql.h file is in this directory) > > Everyone installs things in different places, and expects the poor > 'configure' script to figure it all out . no, i don't expect it to fi

Re: mysql modules

2002-09-04 Thread Alan DeKok
Artur Hecker <[EMAIL PROTECTED]> wrote: > it is definitive, however, in my case the headers are installed in > /usr/local/mysql/include (the mysql.h file is in this directory) Everyone installs things in different places, and expects the poor 'configure' script to figure it all out . > why doe

Re: mysql modules

2002-09-04 Thread Artur Hecker
pretty definitive. So why did you bother trying to configure it is definitive, however, in my case the headers are installed in /usr/local/mysql/include (the mysql.h file is in this directory) but if i do: ./configure --with-mysql-include-dir=/usr/local/mysql/include (i use the snapshot from the FTP sit

Re: mysql modules

2002-09-04 Thread Alan DeKok
=?iso-8859-1?q?ho=20k?= <[EMAIL PROTECTED]> wrote: > configure: warning: mysql headers not found. Use > --with-mysql-include-dir=. > configure: warning: sql submodule 'mysql' disabled That's pretty definitive. So why did you bother trying to configure mysql in the server at run time, when not

mysql modules

2002-09-04 Thread ho k
as well as MySql has been installed in /usr/local/mysql Here is the warning in configuring rlm_sql_mysql: * #configuring in rc/modules/rlm_sql/drivers/rlm_sql_mysql running /bin/sh ./configure --with-mysql-lib-dir=/usr/local/mysql/lib --with-mysql-include

Re: Pass variables between modules

2002-07-22 Thread 3APA3A
Dear [EMAIL PROTECTED], --Monday, July 22, 2002, 6:26:38 PM, you wrote to [EMAIL PROTECTED]: dcur> What manner is best for doing this? dcur> I suppose that first module should set dcur> some attributes in request, and second remove it... But how I should Not in request but in configured item

Pass variables between modules

2002-07-22 Thread dendy
Hi, all! I need my own modules for freeradius, and want to pass some values, produced by first module at authorization step, to second module which act later. What manner is best for doing this? I suppose that first module should set some attributes in request, and second remove it... But how I

RE: Problem with PAP modules in FreeRadius 0.6!

2002-07-13 Thread Deramus, Chris
Title: RE: Problem with PAP modules in FreeRadius 0.6! Kostas, Did exactly what you said, and still having no luck. I believe it's a problem with my Linux install though, there's a lot of non-freeradius stuff located in /usr/local/lib and when I run ldconfig I get about 50 or s

How to use different modules

2002-07-11 Thread Jorge Lanza
words and the users. Which module is call for that stuff? I have read the debug information and I think it's the rlm_realm. How can I use other modules? I want to check who it works with MySQL, and then trying any other module that comes with the distribution? TA. P.D.: Please some info

RE: Problem with PAP modules in FreeRadius 0.6!

2002-07-11 Thread Kostas Kalevras
You can just do a cvs update (see http://www.freeradius.org/development.html#cvs) and move the rlm_pap.c file to your old one and then do a make;make install in src/modules/rlm_pap. That sould do the trick. -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical

RE: Problem with PAP modules in FreeRadius 0.6!

2002-07-11 Thread Deramus, Chris
Title: RE: Problem with PAP modules in FreeRadius 0.6! Kostas, I'm sorry I haven't done a CVS update yet. I should just go to ftp://ftp.freeradius.org/pub/radius/CVS-snapshots/ and download the latest snapshot. Do I do a configure, make, and make install like when installing f

Re: Problem with PAP modules in FreeRadius 0.6!

2002-07-11 Thread Kostas Kalevras
On Thu, 11 Jul 2002, Deramus, Chris wrote: > I believe I have found a problem with the PAP module in FreeRadius 0.6. In > our environment, we have a production box, running FreeRadius 0.5 and a > development box running 0.6 > > We're using MySQL for user authorization and PAP for password > authe

Problem with PAP modules in FreeRadius 0.6!

2002-07-11 Thread Deramus, Chris
Title: Problem with PAP modules in FreeRadius 0.6! I believe I have found a problem with the PAP module in FreeRadius 0.6. In our environment, we have a production box, running FreeRadius 0.5 and a development box running 0.6 We're using MySQL for user authorization and PAP for pas

CRAM modules

2002-07-08 Thread 3APA3A
Dear freeradius-users, I've wrote a module for CRAM authentication (currently it supports CRAM-MD5 and APOP, I can also add CRAM-MD4 and CRAM-SHA1). It may be used to authenticate POP/IMAP/SMTP/FTP servers (there is no currently any standard to perform this kind of authentication vi

Re: Compiling/installing freeradius with specific modules

2002-06-12 Thread Chris Parker
At 03:06 PM 6/12/2002 +0100, Josh Howlett wrote: >Hi all, > >Is it possible to configure freeradius to only compile and install >certain specified modules? Or do you have to compile the lot, and then >remove the modules you don't use? You can disable them through arguments t

Compiling/installing freeradius with specific modules

2002-06-12 Thread Josh Howlett
Hi all, Is it possible to configure freeradius to only compile and install certain specified modules? Or do you have to compile the lot, and then remove the modules you don't use? cheers, josh. Josh Howlett, Networking &

Re: two radius servers with rlm_counter modules

2002-05-23 Thread Kostas Kalevras
On Thu, 23 May 2002, Kenneth Lee wrote: > But is it possible to start the counter when the user firstly login? > Thanks a lot! > > Kenneth The only time that the counter is changed is when we receive an accounting-stop for that user. We only reset counters, not start them and the reset is a glob

Re: two radius servers with rlm_counter modules

2002-05-23 Thread Kenneth Lee
But is it possible to start the counter when the user firstly login? Thanks a lot! Kenneth On Thu, 23 May 2002, Kostas Kalevras wrote: > > > 3. For the reset attribute for counter module, for example, I set it to 1 > > week. Then the when will the counter start counting? Start counting when > >

Re: two radius servers with rlm_counter modules

2002-05-23 Thread Kostas Kalevras
On Wed, 22 May 2002, Kenneth Lee wrote: > > Hi, all! > > I would like to implement two radius servers (for redundancy) that are > running rlm_counter to limit the time for users to login. > > But, I have several questions about this implementation: > > 1. How can I synchronize the accounting info

two radius servers with rlm_counter modules

2002-05-22 Thread Daniel Yeung
Dear Kenneth 1. The rlm_counter is wrote using gdbm interface to access data file "db.counter". You may write code to synchronize. You may also try "rsync" (http://rsync.samba.org), scp to update the data file. 3. The reset action is done at the beginning of each login session When user logi

two radius servers with rlm_counter modules

2002-05-21 Thread Kenneth Lee
Hi, all! I would like to implement two radius servers (for redundancy) that are running rlm_counter to limit the time for users to login. But, I have several questions about this implementation: 1. How can I synchronize the accounting information between servers? 2. How can I avoid simultaneou

Re: Load Balancing modules

2002-05-21 Thread Alan DeKok
Kostas Kalevras <[EMAIL PROTECTED]> wrote: > OK, here is the smallest module ever for > freeradius. rlm_loadbl. Just take a number from rand() and do num % > divisor where divisor is configurable. Then add that number to a new > attribute Load-Balancer. Or, you can modify rlm_preprocess to add

Re: Load Balancing modules

2002-05-14 Thread Simon Allard
Awsome :) Thank you! :D > > At 01:57 PM 5/14/2002 +1200, Simon Allard wrote: > > > > >Is there a way to load balance modules? > > > > > >I can see how to do a failover, but I want to be able to load balance over > > >multiple ldap servers. Is

Re: Load Balancing modules

2002-05-14 Thread Kostas Kalevras
On Tue, 14 May 2002, Chris Parker wrote: > At 01:57 PM 5/14/2002 +1200, Simon Allard wrote: > > >Is there a way to load balance modules? > > > >I can see how to do a failover, but I want to be able to load balance over > >multiple ldap servers. Is that at all possi

Re: Load Balancing modules

2002-05-14 Thread Chris Parker
At 01:57 PM 5/14/2002 +1200, Simon Allard wrote: >Is there a way to load balance modules? > >I can see how to do a failover, but I want to be able to load balance over >multiple ldap servers. Is that at all possible with the current code base? Not at the moment, no. As Alan says:

Load Balancing modules

2002-05-13 Thread Simon Allard
Is there a way to load balance modules? I can see how to do a failover, but I want to be able to load balance over multiple ldap servers. Is that at all possible with the current code base? - Simon Simon Allard (Senior Tool Monkey) IHUG Ph (09) 358-5067 Email: [EMAIL PROTECTED] I'm o

Re: Modules

2002-05-07 Thread Alan DeKok
Simon Allard <[EMAIL PROTECTED]> wrote: > Are there any plans to have a post authentication module section? That would be a good idea. > What about a post-proxy (Just before you send the radius packet back to > the NAS)? Yes, too. Ideally, you could control the flow of packet authenticat

Re: Modules

2002-05-07 Thread Chris Parker
At 03:17 PM 5/7/2002 +1200, Simon Allard wrote: >Are there any plans to have a post authentication module section? >What about a post-proxy (Just before you send the radius packet back to >the NAS)? What would you do with it. >By the looks of the code it would take a bit to implement, but I can

Modules

2002-05-06 Thread Simon Allard
Are there any plans to have a post authentication module section? What about a post-proxy (Just before you send the radius packet back to the NAS)? By the looks of the code it would take a bit to implement, but I can see alot of potential with it. For example with the ippool stuff. From what I

Re: Latest batch of CVS snapshots not building many modules?

2002-05-04 Thread Chris A. Kalin
> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 30, 2002 06:01 PM Subject: Re: Latest batch of CVS snapshots not building many modules? > At 12:11 PM 4/29/2002 -0500, Chris A. Kalin wrote: > >I was just curious if there's a way I can tell configure to build all > >av

Re: Latest batch of CVS snapshots not building many modules?

2002-05-01 Thread Chris Parker
At 12:11 PM 4/29/2002 -0500, Chris A. Kalin wrote: >I was just curious if there's a way I can tell configure to build all >available modules dynamically and place them into the $blah/lib directory. > >With 0.5 and previous, I could type ./configure --with-pam --with-mysql and

Latest batch of CVS snapshots not building many modules?

2002-04-30 Thread Chris A. Kalin
I was just curious if there's a way I can tell configure to build all available modules dynamically and place them into the $blah/lib directory. With 0.5 and previous, I could type ./configure --with-pam --with-mysql and get most of the reasonable modules along for the ride, such as rlm_d

Re: "SQL" modules aren't allowed ...

2002-03-07 Thread aw spada
radius > rlm_sql: Connected new DB handle, #0 > rlm_sql: Connected new DB handle, #1 > rlm_sql: Connected new DB handle, #2 > rlm_sql: Connected new DB handle, #3 > rlm_sql: Connected new DB handle, #4 > Module: Instantiated sql (sql) > radiusd.conf: "SQL" modules

Re: "SQL" modules aren't allowed ...

2002-03-06 Thread Alan DeKok
Michael Vasilenko <[EMAIL PROTECTED]> wrote: > Then what about > > DEFAULT Auth-Type := SQL > in 'users' > > How can I set default auth to SQL in this case? You don't. You're not authenticating against SQL, you're authenticating against the password stored in the SQL database. As

Re: "SQL" modules aren't allowed ...

2002-03-06 Thread Michael Vasilenko
AD> Michael Vasilenko <[EMAIL PROTECTED]> wrote: AD> > Module: Instantiated sql (sql) AD> > radiusd.conf: "SQL" modules aren't allowed in 'authenticate' sections -- AD> > they have no such method. AD> > AD> > What is that mea

Re: "SQL" modules aren't allowed ...

2002-03-05 Thread Alan DeKok
Michael Vasilenko <[EMAIL PROTECTED]> wrote: > Module: Instantiated sql (sql) > radiusd.conf: "SQL" modules aren't allowed in 'authenticate' sections -- > they have no such method. > > What is that means? Remove 'sql' from 'authent

  1   2   >