Problems with 1.0.6-2.0.1 connecting to OpenLDAP 2.3.33

Zach Lowry zach at zachlowry.net
Tue Mar 11 00:02:49 CET 2008


On Mar 10, 2008, at 12:31 AM, Alan DeKok wrote:

> Zach Lowry wrote:
>> Argh. This was caused by my own error. Things look to be working  
>> better
>> now. What would the best way be to handle OpenBSD's non-standard  
>> timeval
>> struct?
>
>   There is no standard timeval structure.  It's always machine  
> dependent.
>
>   The problem here is that rlm_ldap parses "int"'s into a "tv_sec".
> That's wrong, and needs to be fixed.  It needs to parse "int"s into an
> "int", and then later assign them to a tv_sec.
>
>   Do you have a working patch?
>
>   Alan DeKok.

Ah, I see. The patch makes more sense than what I did, and works  
flawlessly. Thanks so much for your help!

--Zach



More information about the Freeradius-Users mailing list