Re: modules instantiation

2010-02-23 Thread Latha Krishnamurthi
This is very clear.Thanks. --- On Mon, 2/22/10, Doug Hardie wrote: From: Doug Hardie Subject: Re: modules instantiation To: "FreeRadius users mailing list" Date: Monday, February 22, 2010, 10:56 PM I tried to correct the wiki's description but was not able to do so.  I c

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 called

Re: modules instantiation

2010-02-22 Thread Latha Krishnamurthi
Thankyou will try that. --- On Fri, 2/19/10, Alan DeKok wrote: From: Alan DeKok Subject: Re: modules instantiation To: "FreeRadius users mailing list" Date: Friday, February 19, 2010, 6:07 PM Latha Krishnamurthi wrote: > I see that a new instance is getting created when the

Re: modules instantiation

2010-02-19 Thread Doug Hardie
ion for each thread, I have no > place to store the instance specific data ? I need to have a global pool and > lock it with mutex ?? (looks like rlm_ldap does something similar ?) Alan responded with something I was not aware of. I suspect thats the way you need to go. > > Tha

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

Re: modules instantiation

2010-02-19 Thread Latha Krishnamurthi
_ldap does something similar ?)   Thanks in advance LK   --- On Fri, 2/19/10, Doug Hardie wrote: From: Doug Hardie Subject: Re: modules instantiation To: "FreeRadius users mailing list" Date: Friday, February 19, 2010, 3:49 PM On 19 February 2010, at 15:24, Latha Krishnamurthi wrote

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 w

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 b

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. -- http://deployingrad

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 { >>>

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 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

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.

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 =