[DOCS-16184] [Server] Investigate changes in SERVER-71606: Pass const int* instead of timeval* for LDAP_OPT_TIMELIMIT Created: 05/Jun/23 Updated: 13/Nov/23 Resolved: 11/Jul/23 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Backlog - Core Eng Program Management Team | Assignee: | David Hou |
| Resolution: | Done | Votes: | 0 |
| Labels: | quick-win, server-docs-bug-bash | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||
| Sub-Tasks: |
|
||||||||||
| Participants: | |||||||||||
| Days since reply: | 30 weeks, 1 day ago | ||||||||||
| 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 TicketWhen 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. |
| Comments |
| Comment by David Hou [ 11/Jul/23 ] |