RE: FreeRadius 1.1.6 Segmentation Fault with LDAP
You need to compile with ldap depricated option. Joe -----Original Message----- From: "Robert E. Toense" <rtoense@nist.gov> 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=AAAA,dc=BBBB,dc=CCCC,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
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" <rtoense@nist.gov> 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=AAAA,dc=BBBB,dc=CCCC,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
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: freeradius-users-bounces+jvieira=clarku.edu@lists.freeradius.org 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" <rtoense@nist.gov> 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=AAAA,dc=BBBB,dc=CCCC,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
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" <rtoense@nist.gov> 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=AAAA,dc=BBBB,dc=CCCC,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
participants (2)
-
Joe Vieira -
Robert E. Toense