freeradius-1.1.1 + mschap + ldap with encrypted password

2006-08-02 Thread wekz
Hi all, I've configured freeradius-1.1.1 to do eap-tls and peap to authenticate windows wireless users against an ldap.The problem now is that I have to authenticate doing peap against an ldap which has userpassword encrypted ( and is a point that I can't change unless it is impossible to do ). I

Re: freeradius-1.1.1 + mschap + ldap with encrypted password

2006-08-02 Thread Phil Mayers
wekz wrote: The problem now is that I have to authenticate doing peap against an ldap which has userpassword encrypted ( and is a point that I can't change unless it is impossible to do ). Unless your password is encrypted as an NT or LM hash, it's impossible. If your LDAP server is an AD

Re: freeradius-1.1.1 + mschap + ldap with encrypted password

2006-08-02 Thread wekz
Ok that's what I imagined. There's no domain controller involved and no AD so I can't use peap. Maybe pap.Thanks Phil.2006/8/2, Phil Mayers [EMAIL PROTECTED] :wekz wrote: The problem now is that I have to authenticate doing peap against an ldap which has userpassword encrypted ( and is a point

Freeradius-1.1.1 with CRL configuration

2006-07-12 Thread sumi thra
Hi All,I want to configure the CRL in freeradius-1.1.1 version.Followed the procedures given in the config file, but the result is not as expected.The configuration in eap.conf are,1) Copy CA certificates and CRLs to same directory. I appended the crl into CA file2) Execute 'c_rehash CA certsCRLs

Re: Freeradius-1.1.1 with CRL configuration

2006-07-12 Thread K. Hoercher
Hi, In an somewhat related issue I found that c_rehash indeed only generates the hash-named symlink to the first certificate/crl in a pem file containing more than one of them. So, yes, you need to do what you did, but it is not sufficient. You could split the certificates, crls etc in

Re: Parse error freeradius-1.1.1

2006-06-29 Thread Lin Richardson
I think this is probably a topic for the dev list... Anyway, I finally got back to the office after a few days off... access to some Solaris boxen. I assume you meant for me to test this build on solaris10? I grabbed the CVS branch referenced below and did the standard ./configure make output

Re: Parse error freeradius-1.1.1

2006-06-29 Thread Alan DeKok
Lin Richardson [EMAIL PROTECTED] wrote: rlm_detail.c:344: warning: passing arg 2 of `lrad_hash_table_finddata' makes pointer from integer without a cast I'll be fixing that in a few days. After that, we're probably good to go for 1.1.2. Alan DeKok. - List info/subscribe/unsubscribe? See

Re: Parse error freeradius-1.1.1

2006-06-26 Thread Margit Meyer
Hi all, There is a few problems in the autoconf tests in version 1.1.1. Please try 1.1.2. thanks for your tips. Now I managed to compile version 1.1.2. Here is the configure call I used: CFLAGS=$CFLAGS -DHEIMDAL_KRB5 -I/usr/include/heimdal ./configure --with-snmp=no

Re: Parse error freeradius-1.1.1

2006-06-23 Thread Nicolas Baradakis
Lin Richardson wrote: You are welcome to send me testing needs and I'll accommodate as I can. May not be same day service, but I'd be happy to do it. Thanks for the help. Could you try please the autotools upgrade in the CVS? $ cvs -d :pserver:[EMAIL PROTECTED]:/source login CVS password:

ldap client side credential caching in freeradius-1.1.1

2006-06-23 Thread bright spark
Hello Everybody,I would like to know whether freeradius supports ldap credential caching mechanism? According to the release notes, this support was added in dec'2000 and was removed in march'2003 because openldap latest version didnt support that. What happens if we use some other ldap servers or

freeradius-1.1.1 with ldap credential caching

2006-06-22 Thread bright spark
Hi,Any one know does freeradius-1.1.1 support ldap credential caching? If so, how do i configure it ?Please reply me.Thanks,Andulo Patel - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Parse error freeradius-1.1.1

2006-06-22 Thread Lin Richardson
Everything looks good so far. Thanks for the help.You are welcome to send me testing needs and I'll accommodate as I can. May not be same day service, but I'd be happy to do it.Regards,Lin On 6/21/06, Stephen Gran [EMAIL PROTECTED] wrote: On Wed, Jun 21, 2006 at 02:06:02PM -0600, Lin Richardson

Parse error freeradius-1.1.1

2006-06-21 Thread Margit Meyer
Hi all, I try to compile freeradius-1.1.1 on a Suse Linux 8 Enterprise Server with gcc-3.2.2 and get the following error message: In file included from eap_peap.h:25, from rlm_eap_peap.c:24: ../../libeap/eap_tls.h:138: parse error before SSL ./../libeap/eap_tls.h:138

Re: Parse error freeradius-1.1.1

2006-06-21 Thread Nicolas Baradakis
Margit Meyer wrote: I try to compile freeradius-1.1.1 on a Suse Linux 8 Enterprise Server with gcc-3.2.2 and get the following error message: In file included from eap_peap.h:25, from rlm_eap_peap.c:24: ../../libeap/eap_tls.h:138: parse error before SSL ./../libeap

Re: Parse error freeradius-1.1.1

2006-06-21 Thread Lin Richardson
]: *** [dict.lo] Error 1I am trying to move our enterprise RADIUS to freeradius from a comercial product, but I need a documented install process that works well. Any ideas? Thanks,LinOn 6/21/06, Nicolas Baradakis [EMAIL PROTECTED] wrote: Margit Meyer wrote: I try to compile freeradius-1.1.1 on a Suse

Re: Parse error freeradius-1.1.1

2006-06-21 Thread Alan DeKok
Lin Richardson [EMAIL PROTECTED] wrote: I'm currious. I have tried compiling 1.1.2 on Solaris 10, OpenBSD 3.9, and Debian Sid. The ONLY way I have been able to get it working is with the deb packages. The Debian people actively maintain updated packages for FreeRADIUS. Plus, it's difficult

Re: Parse error freeradius-1.1.1

2006-06-21 Thread Stephen Gran
On Wed, Jun 21, 2006 at 10:28:12AM -0600, Lin Richardson said: RE version 1.1.2 I'm currious. I have tried compiling 1.1.2 on Solaris 10, OpenBSD 3.9, and Debian Sid. The ONLY way I have been able to get it working is with the deb packages. I have read exchanges regarding autoconf and

Re: Parse error freeradius-1.1.1

2006-06-21 Thread Lin Richardson
This was helpful!I progressed beyond the error noted previously by adding #undef HAVE_CLOSEFROM to the src/include/autoconf.h.in file.The build now ends in an error (under Solaris 10) that is similar to the error I hit with my attempts under Debian Sid. ...gcc -g -O2 -D_REENTRANT

Re: Parse error freeradius-1.1.1

2006-06-21 Thread Lin Richardson
After looking more carefully at the make output, I noticed that the build failed because the rlm_perl.lo had not been built, and the xarch=v8 was what it complained about when it tried to build it. I did some digging and ended up replacing the -x arch=v8 flag with -mcpu=v8 -mtune=ultrasparc in the

Re: Parse error freeradius-1.1.1

2006-06-21 Thread Alan DeKok
Lin Richardson [EMAIL PROTECTED] wrote: The build now ends in an error (under Solaris 10) that is similar to the error I hit with my attempts under Debian Sid. If you're not going to use rlm_perl, just delete that directory. Alan Dekok. - List info/subscribe/unsubscribe? See

Re: Parse error freeradius-1.1.1

2006-06-21 Thread Stephen Gran
On Wed, Jun 21, 2006 at 02:06:02PM -0600, Lin Richardson said: After looking more carefully at the make output, I noticed that the build failed because the rlm_perl.lo had not been built, and the xarch=v8 was what it complained about when it tried to build it. I did some digging and ended up

Re: Freeradius 1.1.1: 'sqlippools' concurrency problems

2006-06-15 Thread Robles Rodriguez,Alejandro
Alan DeKok [EMAIL PROTECTED] wrote: A simple solution would be to go to the bottom of rlm_sqlippool.c, and change it from RLM_TYPE_THREAD_SAFE to RLM_TYPE_THREAD_UNSAFE. Then re-compile re-install. That would be the case if I only had one single radiusd running, however as already mentioned

Re: Freeradius 1.1.1: 'sqlippools' concurrency problems

2006-06-15 Thread Alan DeKok
Robles Rodriguez,Alejandro [EMAIL PROTECTED] wrote: That would be the case if I only had one single radiusd running, however as already mentioned this solution encompasses a number of radius servers each with its own mysql server adn the same storage (NDB cluster) behind the scenes i.e.

Re: Freeradius 1.1.1: 'radclient' incorrect Authenticator

2006-06-13 Thread Robles Rodriguez,Alejandro
Alan DeKok [EMAIL PROTECTED] wrote: I'm using freeradius 1.1.1 and trying to performance test it using as client the 'radclient' utility program. I have been experiencing some problems when load testing it since freeradius was responding in some cases responding to the client with old (already

Freeradius 1.1.1: 'sqlippools' concurrency problems

2006-06-13 Thread Robles Rodriguez,Alejandro
Hi, I'm performance-testing freeradius with rlm_sqlippools support (an MySQL 5.0 Cluster) and have set up my SQLs in 'sqlipool.sqls' file as follows (regarding IP address allocation): -- sqlippool.sqls -- # # This series of queries allocates an IP number #

Re: Freeradius 1.1.1: 'radclient' incorrect Authenticator

2006-06-13 Thread Alan DeKok
Robles Rodriguez,Alejandro [EMAIL PROTECTED] wrote: I have traced (ethereal) the requests I'm sending and only 256 are actually unique. Thereafter they are repeated over and over throughout the requests provided in the input file. It seems like the IDs are being reused. Yes, the ID's are

Re: Freeradius 1.1.1: 'sqlippools' concurrency problems

2006-06-13 Thread Alan DeKok
Robles Rodriguez,Alejandro [EMAIL PROTECTED] wrote: Has anyone noticed this behavior with similar SQL setup on MySQL or similar Relational Database with similar isolation level and locking mechanisms? If so do you have any advice on how to prevent the above described problem? A simple

Freeradius 1.1.1: 'radclient' incorrect Authenticator value

2006-06-12 Thread Robles Rodriguez,Alejandro
Hi, I'm using freeradius 1.1.1 and trying to performance test it using as client the 'radclient' utility program. I have been experiencing some problems when load testing it since freeradius was responding in some cases responding to the client with old (already sent) responses when in fact

Re: Freeradius 1.1.1: 'radclient' incorrect Authenticator value

2006-06-12 Thread Alan DeKok
Robles Rodriguez,Alejandro [EMAIL PROTECTED] wrote: I'm using freeradius 1.1.1 and trying to performance test it using as client the 'radclient' utility program. I have been experiencing some problems when load testing it since freeradius was responding in some cases responding to the client

RE: Re: freeradius 1.1.1 and mysql issues

2006-06-01 Thread simon
Hi, I have tried reordering the elements in the radiusd.conf file so that the database is tried first, and then commented out the section to check the users file, and I am still having the same issues. Here is the output again: Ready to process requests. rad_recv: Access-Request packet from

RE: Re: freeradius 1.1.1 and mysql issues

2006-06-01 Thread Seferovic Edvin
modcall[authorize]: module sql returns ok for request 0 modcall: leaving group authorize (returns updated) for request 0 rad_check_password: Found Auth-Type Local auth: type Local auth: No User-Password or CHAP-Password attribute in the request auth: Failed to validate the user. Login

RE: RE: Re: freeradius 1.1.1 and mysql issues

2006-06-01 Thread simon
There is a password in the database (in the radcheck table) associated with the username. I am also supplying both the username and password on my laptop as I am trying to connect. I currently have the Auth-Type being set (:=) to Local in the radgroupcheck table. I believe this should all be

Re: Re: freeradius 1.1.1 and mysql issues

2006-06-01 Thread A . L . M . Buxey
Hi, I have tried reordering the elements in the radiusd.conf file so that the database is tried first, and then commented out the section to check the users file, and I am still having the same issues. Here is the output again: modcall: leaving group authorize (returns updated) for

Re: freeradius 1.1.1 and mysql issues

2006-06-01 Thread Alan DeKok
[EMAIL PROTECTED] wrote: I have tried reordering the elements in the radiusd.conf file so that the database is tried first, and then commented out the section to check the users file, and I am still having the same issues. Re-ordering radiusd.conf won't help. The problem is the broken

freeradius 1.1.1 and mysql issues

2006-05-31 Thread simon
Hi, I am having some issues getting users authenticated using a mysql database. Right now I simply have one user entered into the database, for testing purposes. If I use either NTRadPing from a remote machine or radtest on the actual server using the credentials in the database I get an

Re: freeradius 1.1.1 and mysql issues

2006-05-31 Thread A . L . M . Buxey
hi, you say it works okay with NTRadPing and that when you use an entry in users file it works...however in the log you supplied its still matching an entry in the users file - and the server is then happy to use that matching entry rather than one in the DB. the log you posted also shows that

Re: FreeRadius 1.1.1 and run-away CPU

2006-05-24 Thread Stefan Winter
Hi, Are you proxying requests? If so, try the patch from bug #331. Is this patch going into 1.1.2? Stefan -- Stefan WINTER Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche Ingenieur Forschung Entwicklung 6, rue Richard Coudenhove-Kalergi L-1359

FreeRadius 1.1.1 and run-away CPU

2006-05-23 Thread Aaron Burruss
Hi all. Im running freeraduius 1.1.1 on a FreeBSD 5.4 server. Im using the mysql module (mysql 4.0.24), and everything seems to be working fine but at random times, the CPU becomes pegged by the radiusd process, and it will stop accepting requests from my clients. This does not (seem

Re: FreeRadius 1.1.1 and run-away CPU

2006-05-23 Thread Alan DeKok
Aaron Burruss [EMAIL PROTECTED] wrote: I'm running freeraduius 1.1.1 on a FreeBSD 5.4 server. I'm using the mysql module (mysql 4.0.24), and everything seems to be working fine... but at random times, the CPU becomes pegged by the radiusd process, and it will stop accepting requests from my

RE: FreeRadius 1.1.1 and run-away CPU

2006-05-23 Thread Aaron Burruss
] On Behalf Of Alan DeKok Sent: Tuesday, May 23, 2006 10:49 AM To: FreeRadius users mailing list Subject: Re: FreeRadius 1.1.1 and run-away CPU Aaron Burruss [EMAIL PROTECTED] wrote: I'm running freeraduius 1.1.1 on a FreeBSD 5.4 server. I'm using the mysql module (mysql 4.0.24), and everything

Trouble with Freeradius 1.1.1 built with FreeBSD ports on 4.11

2006-05-21 Thread Mark Hennessy
I have just built Freeradius 1.1.1 with ports on a FreeBSD machine that was previously running 0.9.3. I had to get rid of the old ltdl libs and headers before Freeradius 1.1.1 was able to built fully (it would die at rlm_eap before I did that). Now, whenever I try to start it, I get as far

Re: Trouble with Freeradius 1.1.1 built with FreeBSD ports on 4.11

2006-05-21 Thread Chris Knipe
Hi Mark, sql: postauth_table = radpostauth sql: postauth_query = sql: safe-characters = @abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: / Bus error I went through the same thing not to long ago. Compile FreeRadius without thread support (--without-threads), and make sure

Re: Trouble with Freeradius 1.1.1 built with FreeBSD ports on 4.11

2006-05-21 Thread Mark Hennessy
Hi Mark, sql: postauth_table = radpostauth sql: postauth_query = sql: safe-characters = @abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: / Bus error I went through the same thing not to long ago. Compile FreeRadius without thread support (--without-threads), and make

Re: Trouble with Freeradius 1.1.1 built with FreeBSD ports on 4.11

2006-05-21 Thread Mike Jakubik
Chris Knipe wrote: Hi Mark, sql: postauth_table = radpostauth sql: postauth_query = sql: safe-characters = @abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: / Bus error I went through the same thing not to long ago. Compile FreeRadius without thread support

Segmentation fault when launching freeradius 1.1.1 with sql authorization on debian 1:3.3.5-13

2006-05-13 Thread Antoine Cavalié
Hi all, radiusd doesn't want to start when I uncomment sql form radiusd.conf authorize section. What I did is : download and freeradius 1.1.1 ./configure make make install radiusd -X works radtest xx yy localhost 0 testing123 works Create mysql database and tables from doc/mysql.sql edit

Re: Segmentation fault when launching freeradius 1.1.1 with sql authorization on debian 1:3.3.5-13

2006-05-13 Thread Sean
Make sure that you have the MySQL development module installed and configure FreeRadius with experimental extensions. My tutorial might help at http://swarmhotspots.com/faq Sean On Sat, 2006-05-13 at 12:01 +0200, [EMAIL PROTECTED] wrote: Segmentation fault when launching freeradius 1.1.1

Re: Segmentation fault when launching freeradius 1.1.1 with sql authorization on debian 1:3.3.5-13

2006-05-13 Thread Nicolas Baradakis
En réponse à Antoine Cavalié : radiusd doesn't want to start when I uncomment sql form radiusd.conf authorize section. What I did is : download and freeradius 1.1.1 ./configure make make install Please read the FAQ, and look for: How do I build a Debian package from sources? http

Re: Solaris 8/SPARC - MySQL 5.0 NDB Cluster - Freeradius 1.1.1 with rlm_sqlippool module: 'radiusd' segmentation fault

2006-05-11 Thread Alan DeKok
Robles Rodriguez,Alejandro [EMAIL PROTECTED] wrote: Well, I'm wondering if this is in a clustered configuration i.e. multiple nodes handling the load and cooperating (sharing data such as IP pools). Sharing data is harder. You're better off splitting the IP pools by server. The clients

Rm: Mysql 5.0 with freeradius 1.1.1

2006-05-11 Thread elimachi
Dear list: I´m taking up again my work with freradius since two years ago. Now I´m working over a RHE AS linux distribution box and working with a Mysql 5.0. In this version the password hashing algorithm has changed and differ from Mysql 3.x or 4.x. Then I´d like to know if freeradius engine

Re: Rm: Mysql 5.0 with freeradius 1.1.1

2006-05-11 Thread Dennis Skinner
[EMAIL PROTECTED] wrote: Dear list: I´m taking up again my work with freradius since two years ago. Now I´m working over a RHE AS linux distribution box and working with a Mysql 5.0. In this version the password hashing algorithm has changed and differ from Mysql 3.x or 4.x. Then I´d

enabling syslog service in freeradius-1.1.1

2006-05-10 Thread sumi thra
Hi All,How to send the freeradius server logs to remote syslog server??Is it a compile time option? or we need to specify in config script to build with syslog option. or starting the server with radiusd -l syslog is enough ? How do i go ahead? Please reply me if you have any idea.Thanks,Sumi -

Solaris 8/SPARC - MySQL 5.0 NDB Cluster - Freeradius 1.1.1 withrlm_sqlippool module: 'radiusd' segmentation fault

2006-05-10 Thread Robles Rodriguez,Alejandro
binaries from MySQL): (a) Solaris 8 on SPARC (selected due to the fact that these machines were pretty much idle at my company similar tests were run on x86 PCs based on Fedora Linux Core 4). (b) MySQL 5.0.21 (MAX version) 32 bit SPARC binary distribution. (c) Freeradius 1.1.1 (originally with 1.1.0

Re: Solaris 8/SPARC - MySQL 5.0 NDB Cluster - Freeradius 1.1.1 withrlm_sqlippool module: 'radiusd' segmentation fault

2006-05-10 Thread Alan DeKok
Robles Rodriguez,Alejandro [EMAIL PROTECTED] wrote: I have for the past 4 weeks been trying to evaluate if FreeRadius can be used as a AAA in an UMTS network with a large amount of subscribers for the GPRS Data services. I believe others are doing this today. FreeRADIUS scales very well.

Re: Solaris 8/SPARC - MySQL 5.0 NDB Cluster - Freeradius 1.1.1 with rlm_sqlippool module: 'radiusd' segmentation fault

2006-05-10 Thread Robles Rodriguez,Alejandro
Title: Re: Solaris 8/SPARC - MySQL 5.0 NDB Cluster - Freeradius 1.1.1 with rlm_sqlippool module: 'radiusd' segmentation fault Alan DeKok [EMAIL PROTECTED] wrote: I have for the past 4 weeks been trying to evaluate if FreeRadius can be used as a AAA in an UMTS network with a large amount

enabling syslog service in freeradius-1.1.1

2006-05-09 Thread sumi thra
Hi All,How to send the freeradius server logs to remote syslog server??Is it a compile time option? or we need to specify in config script to build with syslog option.or starting the server with radiusd -l syslog is enough ? How do i go ahead? Please reply me if you have any idea.Thanks,Sumi -

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-09 Thread Alan DeKok
Bjarni Hardarson [EMAIL PROTECTED] wrote: Now the server segfaults at the first Access-Request with EAP. That isn't vey helpful. Attached the output from valgrind. (not the whole thing this time :) It looks like it's now too aggressive about destroying handles. Ok, how do you reproduce

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-09 Thread Alan DeKok
Bjarni Hardarson [EMAIL PROTECTED] wrote: ... After a bit of looking, it appears there are other problems. Here's a patch that may help. No idea if it solves this problem, but the current code looks buggy. Alan DeKok. Index: src/modules/rlm_eap/mem.c

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-09 Thread Bjarni Hardarson
Alan DeKok wrote: After a bit of looking, it appears there are other problems. Here's a patch that may help. No idea if it solves this problem, but the current code looks buggy. That fixed it :) Been stressing the server for 20 minutes now. Doing EAP-PEAP, EAP-TTLS and EAP-MD5 at 30

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-09 Thread Alan DeKok
Bjarni Hardarson [EMAIL PROTECTED] wrote: That fixed it :) whew That was nice. I've committed the fixes. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-08 Thread Stuart Auchterlonie
On Fri, 2006-05-05 at 14:00 -0400, Alan DeKok wrote: Bjarni Hardarson [EMAIL PROTECTED] wrote: Think i have the same problem. I normally use EAP-PEAP but i couldnt get the server to segfault in valgrind with that. Think it was openssl that grinded it to a halt. Tried with EAP-MD5 instead

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-08 Thread Alan DeKok
Stuart Auchterlonie [EMAIL PROTECTED] wrote: If you ignore the 'unitialized value' errors in the valgrind log then you come to the real errors, 'Invalid Write', 'Invalid Read' to/from memory areas that aren't part of the server or were previously freed. Ah, OK. That looks like it's a bug

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-08 Thread Bjarni Hardarson
Alan DeKok wrote: Ah, OK. That looks like it's a bug that's been there a while. It only happens when TLS is being used inside of PEAP, apparently. I got the output from valgrind using EAP-MD5. Try this patch. If it works, I'll add it into 1.1.2 Tried the patch but the build fails

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-08 Thread Alan DeKok
Bjarni Hardarson [EMAIL PROTECTED] wrote: Tried the patch but the build fails with the following errors. Sorry, sent the wrong patch. Alan DeKok Index: src/modules/rlm_eap/eap.h === RCS file:

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-08 Thread Alan DeKok
Alan DeKok [EMAIL PROTECTED] wrote: Sorry, sent the wrong patch. With a lock bug. Dang. I'll get it right one of these days. OK, This should work. Alan DeKok. Index: src/modules/rlm_eap/eap.h === RCS file:

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-08 Thread Bjarni Hardarson
Alan DeKok wrote: With a lock bug. Dang. I'll get it right one of these days. Now the server segfaults at the first Access-Request with EAP. Attached the output from valgrind. (not the whole thing this time :) Bjarni Hardarson ==18068== ==18068== Invalid read of size 4 ==18068==

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-06 Thread Bjarni Hardarson
Alan DeKok wrote: The only difference I can see is that I'm using gcc version 4. I have another machine with 3.2, I'll see if I can try that. Nope. Doesn't seem to make any difference. Tried with 1.0.5 and it handled the load just fine. I will try to get FC4 and run the same stress

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-05 Thread Alan DeKok
Bjarni Hardarson [EMAIL PROTECTED] wrote: Think i have the same problem. I normally use EAP-PEAP but i couldnt get the server to segfault in valgrind with that. Think it was openssl that grinded it to a halt. Tried with EAP-MD5 instead and it produced the desired result. I'm running FC4

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-05 Thread Bjarni Hardarson
Alan DeKok wrote: I'm running FC4 on one of my machines, and I don't see the same problem with the CVS head of 1.1 (i.e. 1.1.1 + a few patches that shouldn't affect this). I forgot to mention that i am not running FC4. Sorry about that. Here is my info from /proc/version Linux version

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-05 Thread Alan DeKok
Bjarni Hardarson [EMAIL PROTECTED] wrote: I built the server binary from the released 1.1.1 source. ./configure --with-edir --enable-developer The only difference I can see is that I'm using gcc version 4. I have another machine with 3.2, I'll see if I can try that. Maybe it's a gcc bug?

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-05 Thread Alan DeKok
Alan DeKok [EMAIL PROTECTED] wrote: The only difference I can see is that I'm using gcc version 4. I have another machine with 3.2, I'll see if I can try that. Nope. Doesn't seem to make any difference. Alan DeKok. - List info/subscribe/unsubscribe? See

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-05-03 Thread Bjarni Hardarson
Alan DeKok wrote: Nikolas Thoman [EMAIL PROTECTED] wrote: Any help in diagnosing the reason why I'm encountering a fault in malloc would be much appreciated. It usually happens because something else in the code is over-writing a buffer, or writing to free'd memory. Run the server under

Freeradius 1.1.1 with openldap 2.0.X

2006-04-13 Thread Rohaizam Abu Bakar
Tried to upgrade current machine with: FreeBSB 4.11 OpenLDAP 2.0.X Freeradius 1.0.4 To Freeradius 1.1.1 using ports But it tried to install openldap 2.2.X as well... I want to usedexisting openldap (2.0.X) It is possible to force freeradius ports installation to use existing openldap

FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-04-12 Thread Nikolas Thoman
I am running FreeRADIUS 1.1.1 on a Fedora Core 4 server (kernel 2.6.11-1.1369_FC4smp) to authenticate using EAP-SIM.After ~400 successful auths at 20 requests/second the radiusd service encounters a segmentation fault. The output of the gdb dump is as follows:Program received signal

Re: FreeRADIUS 1.1.1 Segmentation fault on Fedora 4

2006-04-12 Thread Alan DeKok
Nikolas Thoman [EMAIL PROTECTED] wrote: Any help in diagnosing the reason why I'm encountering a fault in malloc would be much appreciated. It usually happens because something else in the code is over-writing a buffer, or writing to free'd memory. Run the server under valgrind to see

sql database in freeradius-1.1.1 ???

2006-04-11 Thread ho
Hi, am i right that the database schemes under e.g. src/modules/rlm_sql/drivers/rlm_sql_mysql/db_mysql.sql are lost in version 1.1.1, which i've downloaded 2 says ago? I've tried a find, but didn't have a match. Can i use the sameschema i've downloaded with version 1.0.4? Best regards

Re: Compiling freeradius 1.1.1 in FreeBSD 6.0 with mysql support

2006-04-06 Thread Nicolas Baradakis
Mark Hennessy wrote: checking for mysql_init in -lmysqlclient_r (using mysql_config)... no checking for mysql_init in -lmysqlclient_r... no FreeRADIUS requires the thread-safe version of the MySQL client library, unless you configure it with the option --without-threads. It's not seeing

Re: Compiling freeradius 1.1.1 in FreeBSD 6.0 with mysql support

2006-04-06 Thread Guy Fraser
On Wed, 2006-05-04 at 13:08 -0400, Alan DeKok wrote: Mark Hennessy [EMAIL PROTECTED] wrote: I'm trying to build freeradius 1.1.1 on a FreeBSD 6.0 system with MySQL 4.1.15 Doesn't the ports system work? That exactly what I was thinking. The port was updated on Mar. 28 checking

Re: freeradius 1.1.1

2006-04-05 Thread Wolfram Greinert
, the FreeRadius Wiki say HP/UX is a supported platform :-) I try to compile freeradius 1.1.1 on HP-UX 11i with HP's cc but I have no success :-( My question: have anybody successful compiled freeradius 1.1.1 on HP-UX 11i with the HP compiler and can I use HP's TCB for user authentification

Compiling freeradius 1.1.1 in FreeBSD 6.0 with mysql support

2006-04-05 Thread Mark Hennessy
I'm trying to build freeradius 1.1.1 on a FreeBSD 6.0 system with MySQL 4.1.15 I'm using the following configure commandline: ./configure --with-mysql-lib=/usr/local/mysql/lib/mysql --with-mysql-include=/usr/local/mysql/include/mysql --prefix=/usr/local/adm/freeradius-1.1.1 I'd include the full

RE: Compiling freeradius 1.1.1 in FreeBSD 6.0 with mysql support

2006-04-05 Thread Mark Hennessy
I'm sorry, I did indeed use the following commandline: ./configure --with-mysql-lib-dir=/usr/local/mysql/lib/mysql --with-mysql-include-dir=/usr/local/mysql/include/mysql --prefix=/usr/local/adm/freeradius-1.1.1 and got the same results below. -- Mark Hennessy -Original Message- From

Re: Compiling freeradius 1.1.1 in FreeBSD 6.0 with mysql support

2006-04-05 Thread Alan DeKok
Mark Hennessy [EMAIL PROTECTED] wrote: I'm trying to build freeradius 1.1.1 on a FreeBSD 6.0 system with MySQL 4.1.15 Doesn't the ports system work? checking for mysql_init in -lmysqlclient_r (using mysql_config)... no See the config.log for details. Maybe libmysqlclient_r needs

RE: Compiling freeradius 1.1.1 in FreeBSD 6.0 with mysql support

2006-04-05 Thread Mark Hennessy
/usr/local/src/freeradius-1.1.1/src/modules/rlm_sql/drivers/rlm_sql_mysql/con fig.log: ... /usr/bin/ld: cannot find -lmysqlclient_r ... Why would that happen if everything is where I tell configure it should be? -- Mark Hennessy -Original Message- From: [EMAIL PROTECTED] .org

Re: Install freeradius 1.1.1 get error

2006-04-04 Thread monish ar
On 4/4/06, 杨呈飞 [EMAIL PROTECTED] wrote: After ./configure �Cprefix=/usr/local/freeradius make make install I get: /home/test/freeradius-1.1.1/install-sh -c -c .libs/libradius-1.1.1.so /usr/local/freeradius/libradius-1.1.1.so (cd /usr/local/freeradius rm -f libradius.so ln -s

freeradius 1.1.1

2006-04-04 Thread Wolfram Greinert
Hello, the FreeRadius Wiki say HP/UX is a supported platform :-) I try to compile freeradius 1.1.1 on HP-UX 11i with HP's cc but I have no success :-( My question: have anybody successful compiled freeradius 1.1.1 on HP-UX 11i with the HP compiler and can I use HP's TCB for user authentification

Re: freeradius 1.1.1

2006-04-04 Thread Peter Nixon
:34, Wolfram Greinert wrote: Hello, the FreeRadius Wiki say HP/UX is a supported platform :-) I try to compile freeradius 1.1.1 on HP-UX 11i with HP's cc but I have no success :-( My question: have anybody successful compiled freeradius 1.1.1 on HP-UX 11i with the HP compiler and can I use HP's

freeradius 1.1.1 does not make on 64 bit intel platfrom

2006-03-29 Thread Ashwin Gobind
Hi all. I am trying to install freeradius 1.1.1 on a 64 bit intel platform. I get the ffg error : rm -fr .libs/rlm_counter.la .libs/rlm_counter.* .libs/rlm_counter-1.1.1.* gcc -shared rlm_counter.lo -Wl,--rpath -Wl,/usr/software/freeradius-1.1.1/src/lib/.libs -Wl,--rpath -Wl,/usr/local/lib

Re: Compile errors in Freeradius-1.1.1

2006-03-29 Thread Nicolas Baradakis
Alan Baker wrote: I am currently trying to compile the new version of FreeRadius 1.1.1. I've used the same configure statement just like in 1.1.0 and for some reason I am receiving a few build errors. Please help. Please no HTML to the list. /home/johnny5/freeradius-1.1.1/libtool --mode

Expiration Date using Freeradius 1.1.1 and mysql

2006-03-29 Thread Atkins, Dwane P
Good morning all, I would like to be able to begin and expire accounts on certain dates, but I would like to be able to do it by input information into the radius database that I have created using mysql. Also, I appreciate the help you all have given. If I have one bit of

Re: Expiration Date using Freeradius 1.1.1 and mysql

2006-03-29 Thread Alan DeKok
Atkins, Dwane P [EMAIL PROTECTED] wrote: I would like to be able to begin and expire accounts on certain dates, but I would like to be able to do it by input information into the radius database that I have created using mysql. Use the Expiration attribute. See the README's. Alan DeKok.

Re: Expiration Date using Freeradius 1.1.1 and mysql

2006-03-29 Thread Atkins, Dwane P
I appreciate the input, I am looking for the README that will tell me how to use the Expiration attribute in the Users file, but how does one correlate it to the mysql database? Is there field in the radius database tables? Can I do a bulk add with dates that will allow me to do this?

Compile errors in Freeradius-1.1.1

2006-03-28 Thread Alan
I am currently trying to compile the new version of FreeRadius 1.1.1. I've used the same configure statement just like in 1.1.0 and for some reason I am receiving a few build errors. Please help. ~Alan OS: Red Hat Enterprise v.3 (2.4.21-4.EL 32bit) Configure Statement

Re: Compile errors in Freeradius-1.1.1

2006-03-28 Thread Guy Davies
with issues in libeap (not the same as yours). Rgds, Guy On 28/03/06, Alan [EMAIL PROTECTED] wrote: I am currently trying to compile the new version of FreeRadius 1.1.1. I've used the same configure statement just like in 1.1.0 and for some reason I am receiving a few build errors. Please help

Re: Compile errors in Freeradius-1.1.1

2006-03-28 Thread Alan DeKok
Alan [EMAIL PROTECTED] wrote: I am currently trying to compile the new version of FreeRadius 1.1.1. I've used the same configure statement just like in 1.1.0 and for some reason I am receiving a few build errors. Please help. It's a bug in the Makefile, discussed here in the past week