Re: modules instantiation

2010-02-23 Thread Latha Krishnamurthi
This is very clear.Thanks. --- On Mon, 2/22/10, Doug Hardie bc...@lafn.org wrote: From: Doug Hardie bc...@lafn.org Subject: Re: modules instantiation To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Date: Monday, February 22, 2010, 10:56 PM I tried to correct

Re: modules instantiation

2010-02-22 Thread Latha Krishnamurthi
Thankyou will try that. --- On Fri, 2/19/10, Alan DeKok al...@deployingradius.com wrote: From: Alan DeKok al...@deployingradius.com Subject: Re: modules instantiation To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Date: Friday, February 19, 2010, 6:07 PM Latha

Re: modules instantiation

2010-02-22 Thread Doug Hardie
I tried to correct the wiki's description but was not able to do so. I can log in fine and it says I can edit the file. However, after making the changes save just gives a blank screen and the changes never appear in the text. In the modules2 file change: The xxx_instantiate module is

modules instantiation

2010-02-19 Thread Latha Krishnamurthi
  Hi,   I am using the free radius 2.1.3. I have a module rlm_xxx and have initialized it as thread safe. I have configured the start_servers as 3. The issue I am having is as follows.   I see that a new instance is getting created when the first one is busy handling a request. (I do this this

Re: modules instantiation

2010-02-19 Thread Doug Hardie
On 19 February 2010, at 15:24, Latha Krishnamurthi wrote: I am using the free radius 2.1.3. I have a module rlm_xxx and have initialized it as thread safe. I have configured the start_servers as 3. The issue I am having is as follows. I see that a new instance is getting created when

Re: modules instantiation

2010-02-19 Thread Latha Krishnamurthi
Hardie bc...@lafn.org Subject: Re: modules instantiation To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Date: Friday, February 19, 2010, 3:49 PM On 19 February 2010, at 15:24, Latha Krishnamurthi wrote: I am using the free radius 2.1.3. I have a module rlm_xxx and have

Re: modules instantiation

2010-02-19 Thread Alan DeKok
Latha Krishnamurthi wrote: I see that a new instance is getting created when the first one is busy handling a request. (I do this this by adding a sleep in the module and printing the threadid) I am expecting the xxx_instantiate function to get called each time a new instance is created

Re: modules instantiation

2010-02-19 Thread Doug Hardie
was not aware of. I suspect thats the way you need to go. Thanks in advance LK --- On Fri, 2/19/10, Doug Hardie bc...@lafn.org wrote: From: Doug Hardie bc...@lafn.org Subject: Re: modules instantiation To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Date

modules' instantiation failing (files)

2007-04-02 Thread Pedro Figueiredo
hi all, i need to send different lns configuration in a round-robin fashion. in order to do this, i added the following to modules: files rra { userfile = ${confdir}/users.rr1 acctusersfile = ${confdir}/acct_users preproxy_usersfile =

Re: modules' instantiation failing (files)

2007-04-02 Thread Alan DeKok
Pedro Figueiredo wrote: i need to send different lns configuration in a round-robin fashion. in order to do this, i added the following to modules: files rra { userfile = ${confdir}/users.rr1 It's usersfile, with an s. users + file. Alan DeKok. --

Re: modules' instantiation failing (files)

2007-04-02 Thread Pedro Figueiredo
On 2 Apr 2007, at 13:38, Alan DeKok wrote: Pedro Figueiredo wrote: i need to send different lns configuration in a round-robin fashion. in order to do this, i added the following to modules: files rra { userfile = ${confdir}/users.rr1 It's usersfile, with an s.

Re: modules' instantiation failing (files)

2007-04-02 Thread Alan DeKok
Pedro Figueiredo wrote: one suggestion for the future, though: can freeradius complain when it finds an unknown keyword? As always, patches are welcome. But part of the issue is philosophy: The configuration file format is very forgiving, which avoids a lot of problems. Occasionally it

Re: modules' instantiation failing (files)

2007-04-02 Thread Pedro Figueiredo
On 2 Apr 2007, at 14:51, Pedro Figueiredo wrote: On 2 Apr 2007, at 13:38, Alan DeKok wrote: Pedro Figueiredo wrote: i need to send different lns configuration in a round-robin fashion. in order to do this, i added the following to modules: files rra { userfile =

Re: modules' instantiation failing (files)

2007-04-02 Thread Alan DeKok
Pedro Figueiredo wrote: as you can see, it's off by one. any suggestions or ideas on why it's doing this? It's not off by one. Read it again. It prints out the configuration items BEFORE it prints out that it successfully instantiated the module. Alan DeKok. --