Re: FreeRadius 1.1.6 Segmentation Fault with LDAP

2007-06-26 Thread Alan DeKok
Robert E. Toense wrote:
 I am attempting to setup FreeRadius 1.1.6 to do PEAP authentication to
 an LDAP backend on another server.  PEAP is working just fine to local
 Radius passwords.  However, I get a segmentation fault whenever I try to
 use LDAP.  Output from radiusd -X follows (sensitive information sanitized).

  The LDAP_DEPRECATED fix will be in 1.1.7.

  Alan DeKok.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: FreeRadius 1.1.6 Segmentation Fault with LDAP

2007-06-26 Thread Robert E. Toense
Joe and Alan,

Thanks!!!  That solved that problem.  I can move on!

It's good to also know that it will be addressed in the next version.

Robert

Joe Vieira wrote:
 You need to compile with ldap depricated option.
 Joe 

 -Original Message-
 From: Robert E. Toense [EMAIL PROTECTED]
 To: freeradius-users@lists.freeradius.org 
 freeradius-users@lists.freeradius.org
 Sent: 6/25/2007 6:03 PM
 Subject: FreeRadius 1.1.6 Segmentation Fault with LDAP

 I am attempting to setup FreeRadius 1.1.6 to do PEAP authentication to
 an LDAP backend on another server.  PEAP is working just fine to local
 Radius passwords.  However, I get a segmentation fault whenever I try to
 use LDAP.  Output from radiusd -X follows (sensitive information sanitized).

 OpenLDAP 2.3.30 is also installed.  This is a Fedora Core 5 system.

 I see no network traffic between the Radius server and the LDAP server.

 Any hints?

 Robert


 
 rlm_ldap: - authorize
 rlm_ldap: performing user authorization for username
 radius_xlat:  '(uid=username)'
 radius_xlat:  'ou=,dc=,dc=,dc=DDD'
 rlm_ldap: ldap_get_conn: Checking Id: 0
 rlm_ldap: ldap_get_conn: Got Id: 0
 rlm_ldap: attempting LDAP reconnection
 rlm_ldap: (re)connect to lappgen.nist.gov:636, authentication 0
 Segmentation fault


 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
   

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: FreeRadius 1.1.6 Segmentation Fault with LDAP

2007-06-25 Thread Joe Vieira
You need to compile with ldap depricated option.
Joe 

-Original Message-
From: Robert E. Toense [EMAIL PROTECTED]
To: freeradius-users@lists.freeradius.org 
freeradius-users@lists.freeradius.org
Sent: 6/25/2007 6:03 PM
Subject: FreeRadius 1.1.6 Segmentation Fault with LDAP

I am attempting to setup FreeRadius 1.1.6 to do PEAP authentication to
an LDAP backend on another server.  PEAP is working just fine to local
Radius passwords.  However, I get a segmentation fault whenever I try to
use LDAP.  Output from radiusd -X follows (sensitive information sanitized).

OpenLDAP 2.3.30 is also installed.  This is a Fedora Core 5 system.

I see no network traffic between the Radius server and the LDAP server.

Any hints?

Robert



rlm_ldap: - authorize
rlm_ldap: performing user authorization for username
radius_xlat:  '(uid=username)'
radius_xlat:  'ou=,dc=,dc=,dc=DDD'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: attempting LDAP reconnection
rlm_ldap: (re)connect to lappgen.nist.gov:636, authentication 0
Segmentation fault


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: FreeRadius 1.1.6 Segmentation Fault with LDAP

2007-06-25 Thread Robert E. Toense
Joe,

This may sound silly, but could you elaborate?  Is this a configure 
option to FreeRadius?  If so, I don't see it.

Thanks,

Robert



Joe Vieira wrote:
 You need to compile with ldap depricated option.
 Joe 

 -Original Message-
 From: Robert E. Toense [EMAIL PROTECTED]
 To: freeradius-users@lists.freeradius.org 
 freeradius-users@lists.freeradius.org
 Sent: 6/25/2007 6:03 PM
 Subject: FreeRadius 1.1.6 Segmentation Fault with LDAP

 I am attempting to setup FreeRadius 1.1.6 to do PEAP authentication to
 an LDAP backend on another server.  PEAP is working just fine to local
 Radius passwords.  However, I get a segmentation fault whenever I try to
 use LDAP.  Output from radiusd -X follows (sensitive information sanitized).

 OpenLDAP 2.3.30 is also installed.  This is a Fedora Core 5 system.

 I see no network traffic between the Radius server and the LDAP server.

 Any hints?

 Robert


 
 rlm_ldap: - authorize
 rlm_ldap: performing user authorization for username
 radius_xlat:  '(uid=username)'
 radius_xlat:  'ou=,dc=,dc=,dc=DDD'
 rlm_ldap: ldap_get_conn: Checking Id: 0
 rlm_ldap: ldap_get_conn: Got Id: 0
 rlm_ldap: attempting LDAP reconnection
 rlm_ldap: (re)connect to lappgen.nist.gov:636, authentication 0
 Segmentation fault


 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
   

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: FreeRadius 1.1.6 Segmentation Fault with LDAP

2007-06-25 Thread Joe Vieira
it's a compile time option.  add -DLDAP_DEPRECATED to your CFLAGS.

so when you compile it ( if you're using a spec file to build an RPM which i am 
assuming cause you're running FC5 ) just add that to your CFLAGS   -- it should 
be one of the first few lines in the spec file under the %build section. 

you can also set it thru the configure script before you compile (if you're not 
using an RPM) 

i hope that makes it a little more clear.  and i hope it helps you, let me know 
good luck!   

i had the EXACT same symptoms, and this solved it for me, so i would try it 
before worrying about extensive debugging stuff.
Joe

-Original Message-
From: [EMAIL PROTECTED] on behalf of Robert E. Toense
Sent: Mon 6/25/2007 7:47 PM
To: FreeRadius users mailing list
Subject: Re: FreeRadius 1.1.6 Segmentation Fault with LDAP
 
Joe,

This may sound silly, but could you elaborate?  Is this a configure 
option to FreeRadius?  If so, I don't see it.

Thanks,

Robert



Joe Vieira wrote:
 You need to compile with ldap depricated option.
 Joe 

 -Original Message-
 From: Robert E. Toense [EMAIL PROTECTED]
 To: freeradius-users@lists.freeradius.org 
 freeradius-users@lists.freeradius.org
 Sent: 6/25/2007 6:03 PM
 Subject: FreeRadius 1.1.6 Segmentation Fault with LDAP

 I am attempting to setup FreeRadius 1.1.6 to do PEAP authentication to
 an LDAP backend on another server.  PEAP is working just fine to local
 Radius passwords.  However, I get a segmentation fault whenever I try to
 use LDAP.  Output from radiusd -X follows (sensitive information sanitized).

 OpenLDAP 2.3.30 is also installed.  This is a Fedora Core 5 system.

 I see no network traffic between the Radius server and the LDAP server.

 Any hints?

 Robert


 
 rlm_ldap: - authorize
 rlm_ldap: performing user authorization for username
 radius_xlat:  '(uid=username)'
 radius_xlat:  'ou=,dc=,dc=,dc=DDD'
 rlm_ldap: ldap_get_conn: Checking Id: 0
 rlm_ldap: ldap_get_conn: Got Id: 0
 rlm_ldap: attempting LDAP reconnection
 rlm_ldap: (re)connect to lappgen.nist.gov:636, authentication 0
 Segmentation fault


 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
   

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html