Problems with 1.0.6-2.0.1 connecting to OpenLDAP 2.3.33

Alan DeKok aland at deployingradius.com
Thu Mar 6 07:16:01 CET 2008


Zach Lowry wrote:
> I think I may have gotten a little bit closer to uncovering my problem.
> I installed FreeRadius 1.1.7 on a FreeBSD SPARC64 machine, and got some
> debugging output. I then tried it again on my OpenBSD SPARC64 machine
> with the debugging turned all the way up:
...
> ldap_connect_timeout: fd: 7 tm: 4294967296 async: 0
>                                 ^^^^^^^^^^
>                                 What is this doing here?

  That looks like "now", in time_t format.  It may have been taken from
the wrong thing, tho...

> Could this be a 64-bit portability issue in rlm_ldap?

  Likely.  See "net_timeout" in the CONF_PARSER module_config structure.
 It's parsing integers into a "tv_sec", which is type time_t.  The data
should really be parsed into an "int" type, and that later assigned to a
tv_sec.

  Alan DeKok.



More information about the Freeradius-Users mailing list