FreeRadius 1.1.6 Segmentation Fault with LDAP

Joe Vieira jvieira at clarku.edu
Tue Jun 26 02:05:30 CEST 2007


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 at 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 at nist.gov>
> To: "freeradius-users at lists.freeradius.org" <freeradius-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070625/d58c45f1/attachment.html>


More information about the Freeradius-Users mailing list