Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
Description
Original Downstream Change Summary
The `security.ldap.timeoutMS` option was changed to accept 32-bit integers (int) instead of 64-bit integers (long). This was done after discovering that the underlying system library (OpenLDAP) only accepts 32-bit integers for its timeout. The docs should be updated to state that this option takes int rather than long.
Description of Linked Ticket
When LDAP_OPT_TIMELIMIT is set, OpenLDAP casts the value provided to a const int* (see here). Currently, we pass in the address to timeout, which is of type timeval.
We should pass the correct type here to avoid unexpected behavior due to casting.
Attachments
Issue Links
- documents
-
SERVER-71606 Pass const int* instead of timeval* for LDAP_OPT_TIMELIMIT
-
- Closed
-
1.
|
Backport to 6.3 | DOCS-16255 |
|
Closed | David Hou |