https://bugs.openldap.org/show_bug.cgi?id=10416
Issue ID: 10416 Summary: Allow setting fractional timeouts in ldaprc Product: OpenLDAP Version: 2.6.10 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: enhancement Priority: --- Component: libraries Assignee: bugs@openldap.org Reporter: hyc@openldap.org Target Milestone: ---
Created attachment 1099 --> https://bugs.openldap.org/attachment.cgi?id=1099&action=edit Patch to libldap init.c
Currently the ldap.conf parser only accepts integer seconds, even though the internal variable also accommodates microseconds. A simple patch is attached.
https://bugs.openldap.org/show_bug.cgi?id=10416
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Target Milestone|--- |2.7.0
https://bugs.openldap.org/show_bug.cgi?id=10416
--- Comment #1 from Howard Chu hyc@openldap.org --- For contest, this was prompted by this message on -technical https://lists.openldap.org/hyperkitty/list/openldap-technical@openldap.org/t... which mentioned setting a timeout of 0sec, 1usec and there was no convenient way to set this value from the commandline.
https://bugs.openldap.org/show_bug.cgi?id=10416
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |IN_PROGRESS Ever confirmed|0 |1
--- Comment #2 from Howard Chu hyc@openldap.org --- For context* https://git.openldap.org/openldap/openldap/-/merge_requests/827