Re: 1.1.5 double free or corruption

2007-04-10 Thread ChristosH
I'm getting a similar error, except mine's 0x09fc4f10. Apparently this has to do with the Perl library (and means we'll have to recompile) but I have no idea how to upgrade that. I'm on CentOS 4.4 and have run the auto-updater, am on the CentOS Plus repository and have MySQL installed. Thor

Re: double free or corruption errors with 2.0.0-pre0

2007-04-10 Thread ChristosH
I think you need to step back and relax, Mat. If a developer can't get the situation reproduced or even debug info on it, they'll be helpless. Do also realize this is an open source free utility that doesn't come with any guaranteed support. Was this a problem for you in 1.1.4? I know for me it

Re: 1.1.5 double free or corruption

2007-04-10 Thread ChristosH
Roberto Greiner wrote: MALLOC_CHECK_=0 Now, is that done in the configure (./configure --MALLOC_CHECK_=0), at the make (MALLOC_CHECK_=0) or at the runtime? -- View this message in context: http://www.nabble.com/1.1.5-double-free-or-corruption-tf3378130.html#a9925976 Sent from the

Re: glibc double free or corruption still happening

2007-04-14 Thread ChristosH
I've installed FR 1.1.6 onto a clean CentOS 4.4 box and got this error, double free or corruption + some hex value. My CentOS /usr/src directory is empty, so I can't build an RPM as suggested in that link. Can I get yum to fill that up? Any ideas as to how to get this working? I've also tried

Re: glibc double free or corruption still happening

2007-04-14 Thread ChristosH
blocks. ==504== Reachable blocks (those to which a pointer was found) are not shown. ==504== To see them, rerun with: --leak-check=full --show-reachable=yes Alan DeKok-4 wrote: ChristosH wrote: I've installed FR 1.1.6 onto a clean CentOS 4.4 box and got this error, double free or corruption

Re: SQL help from someone who groks c, please?

2007-02-08 Thread ChristosH
Phil Mayers wrote: Dan Mahoney, System Admin wrote: My suggestion is that you use a custom schema and queries for your database - probably a stored procedure. Pass the NAS-IP-Address into these queries, and return different values based on the nas. Effectively you move the code that

Re: nas table in rlm_sql module - usage

2007-02-09 Thread ChristosH
Gaddis, Jeremy L.-2 wrote: On Fri, 9 Feb 2007, TZieleniewski wrote: so clients.conf can be empty and all settings can be contained in nas table? Is there some spot where we can get definitions for each column (like where each definition maps to in the clients.conf file)? Does it work out

Re: Re: nas table in rlm_sql module - usage

2007-02-09 Thread ChristosH
Is there anything I have to config so it doesn't touch the config files? How do I move the server onto pure SQL for the NAS list? Can the clients.conf file be totally empty? tzieleniewski wrote: What I managed to figure out is that nasname is a source for a name to ip resolving. So

Re: Re: Re: nas table in rlm_sql module - usage

2007-02-13 Thread ChristosH
SQL refuses to start when I comment out the INCLUDE line with clients.conf. Is there anything else I have to change so that it knows to look to SQL for a table of acceptable NAS's and to get it to run other than commenting out this INCLUDE statement? tzieleniewski wrote: Yes I checked it.

CHAP Modification

2007-02-24 Thread ChristosH
I'm trying to edit the way the CHAP module fetches passwords before hasing them due to a limitation in 2 different types of hardware we have. One set of devices takes a HEX password stored on the device, converts it to binary, and then calculates the MD5 CHAP challenge to send to the server. The

Re: [SOLVED] CHAP Modification

2007-02-27 Thread ChristosH
Okay, in the radius.c file they call a function rad_chap_encode() that uses the password attribute. Is that what I'm looking for? It's a VALUE_PAIR type, so could I check and modify the password-length and password-strvalue in that function? Or should I back out and modify it in the auth.c

Re: [SOLVED] CHAP Modification

2007-03-01 Thread ChristosH
Alan DeKok-4 wrote: My point was that it may be possible in rlm_pap to normalize the password... just like it does for other types of passwords. If rlm_pap won't help, then I *strongly* suggest you write your own module. It's easier to integrate a module into a new release of

Re: [SOLVED] CHAP Modification

2007-03-02 Thread ChristosH
Alan DeKok-4 wrote: Um... rlm_example? Or the files in doc/? It's not like the module system is that complicated. A C file, a tiny Makefile, and you're pretty much done. Or would I just include the chappatch.c file in the same directory, include the header file chappatch.h into

NAS Table in SQL

2007-03-07 Thread ChristosH
Does subnetting in the NAS table work when using SQL? If I wanted to allow any address from my internal network, 111.111.%.% for example, can I store the nasname as 111.111.0.0/16 like I do in the users table? Or does it have to be in the form 255.255.0.0? -- View this message in context:

Re: [SOLVED] CHAP Modification

2007-03-07 Thread ChristosH
Thanks, problem resovled. Alan DeKok-4 wrote: ChristosH wrote: Now, how do I make sure that my new module is included? Is everything in the modules folder complied in with FreeRadius every time you make it? No, but the top-level Make.inc contains the list of modules to build