Re: Issue with MSCHAP

2012-11-05 Thread Ryan Summey
Thank you for the help guys really appreciate it. Is there anyway to automate this? On Nov 5, 2012 12:54 AM, Fajar A. Nugraha l...@fajar.net wrote: On Mon, Nov 5, 2012 at 6:26 AM, Ryan Summey ryan.sum...@gmail.com wrote: What do i need to do to enable nt-hash rather than pap? That question

rlm_perl and threads

2012-11-05 Thread Edgar Fuß
Sorry if this sounds like a stupid question with an obvious answer, but I could not easily find this documented. If I have an rlm_perl script, is it possible that multiple instances of it are running concurrently due to FreeRADIUS' threading? - List info/subscribe/unsubscribe? See

Re: rlm_perl and threads

2012-11-05 Thread Phil Mayers
On 05/11/12 12:34, Edgar Fuß wrote: Sorry if this sounds like a stupid question with an obvious answer, but I could not easily find this documented. If I have an rlm_perl script, is it possible that multiple instances of it are running concurrently due to FreeRADIUS' threading? Yes. Likely,

Re: rlm_perl and threads

2012-11-05 Thread Edgar Fuß
Yes. Likely, even. Thanks. So will these then be two distinct Perl interpreters or two instances of the same Perl interpreter? From the Perl script's point of view, what will the two instances share? Can you hint me to any documentation covering this? - List info/subscribe/unsubscribe? See

Re: rlm_perl and threads

2012-11-05 Thread Phil Mayers
On 05/11/12 13:36, Edgar Fuß wrote: Yes. Likely, even. Thanks. So will these then be two distinct Perl interpreters or two instances of the same Perl interpreter? From the Perl script's point of view, what will the two instances share? Can you hint me to any documentation covering this? I'm

log error

2012-11-05 Thread Miha
Hi, I am looking at this log radius file. What could be causing this? BR; Miha Mon Nov 5 08:35:03 2012 : Error: Discarding duplicate request from client intraswitch port 46634 - ID: 134 due to unfinished request 11902 Mon Nov 5 08:35:03 2012 : Error: Discarding duplicate request from

Re: log error

2012-11-05 Thread Alan DeKok
Miha wrote: I am looking at this log radius file. What could be causing this? Your database is slow. Go fix that. Mon Nov 5 15:03:18 2012 : Error: rlm_sql (sql2): There are no DB handles to use! skipped 0, tried to connect 0 Mon Nov 5 15:03:19 2012 : Error: rlm_sql (sql2): There are no

Re: log error

2012-11-05 Thread alan buxey
Hi, I am looking at this log radius file. What could be causing this? slow or dead DB alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: log error

2012-11-05 Thread Arran Cudbard-Bell
All signs point to tumblebeasts in the rlm_sql module. -Arran BR; Miha Mon Nov 5 08:35:03 2012 : Error: Discarding duplicate request from client intraswitch port 46634 - ID: 134 due to unfinished request 11902 Mon Nov 5 08:35:03 2012 : Error: Discarding duplicate request from

Re: log error

2012-11-05 Thread Arran Cudbard-Bell
On 5 Nov 2012, at 14:27, Arran Cudbard-Bell a.cudba...@freeradius.org wrote: All signs point to tumblebeasts in the rlm_sql module. -Arran Apologies didn't mean to top post. -Arran - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: rlm_perl and threads

2012-11-05 Thread Sander Eerdekens
The old wiki used to contain more information on this. I'm currently in the process of making our rlm_perl module multithreaded as well. Some pointers: perl -V | grep -i multipl ... useithreads=define, usemultiplicity=define Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS check

Re: Issue with MSCHAP

2012-11-05 Thread Fajar A. Nugraha
On Mon, Nov 5, 2012 at 6:47 PM, Ryan Summey ryan.sum...@gmail.com wrote: Thank you for the help guys really appreciate it. Is there anyway to automate this? My best advice would be to read Advanced Bash-Scripting Guide, as well as Awk Introduction Tutorial – 7 Awk Print Examples (hint: use

Re: log error

2012-11-05 Thread Miha
On 11/5/2012 3:30 PM, Arran Cudbard-Bell wrote: On 5 Nov 2012, at 14:27, Arran Cudbard-Bell a.cudba...@freeradius.org wrote: All signs point to tumblebeasts in the rlm_sql module. -Arran Apologies didn't mean to top post. -Arran - List info/subscribe/unsubscribe? See