[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Config questions for back-ldap, back-meta, and back-asyncmeta



On 06/14/2018 11:58 PM, Howard Chu wrote:
> Michael Ströder wrote:
>> On 06/14/2018 10:44 PM, Howard Chu wrote:
>>> Quanah Gibson-Mount wrote:
>>>> idle-timeout -> The man page says takes an integer, but is defined as
>>>> a string.  However, I think the man page for this parameter is
>>>> incorrect, and in fact it takes a possible string as defined in the
>>>> back-meta/async manual pages for this same parameter. (I.e, it can
>>>> have a format of something like 1d15h5s)
>>>
>>> I don't see this. The man page says "<time>". It looks correct to me.
>>
>> Wouldn't it be better to consequently convert time strings such as
>> 1d15h5s to integer seconds during migration of static config to dynamic
>> config? IMO for LDAP-on-the-wire those values should always be integer
>> representing seconds (or milli-seconds if needed).
>>
>> I mean back-config content is meant to be machine-processable and
>> cleaner syntax would reduce unneeded complexity.
> 
> The complexity is already there, and obviously somebody thought it was
> desirable for these things to be human-readable. We're doing them no
> favors by converting to straight integers.

It's not only about the complexity in OpenLDAP software itself. All
3rd-party components which want to make use of back-config for automated
configuration have to deal with it. And that's not going to happen.

Ciao, Michael.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature