URL:
https://github.com/SSSD/sssd/pull/5360
Title: #5360: SDAP: set common options for sockets open by libldap
sumit-bose commented:
"""
Hi,
thanks for the patch, are you sure you are using `ldap_get_option()` correctly here, the
man page says:
```
LDAP_OPT_NETWORK_TIMEOUT
Sets/gets the network timeout value after which poll(2)/select(2) following
a connect(2) returns in case of no activity.
outvalue must be a struct timeval ** (the caller has to free *outvalue), and
invalue must be a
const struct timeval *. They cannot be NULL. Using a struct with seconds
set to -1 results in an infinite timeout, which
is the default. This option is OpenLDAP specific.
```
bye,
Sumit
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5360#issuecomment-707021855