Closed
Description
Issue Description
When a paged result search is run with a time limit, if the time limit is exceed the server closes the connection with closed IO timeout (nsslapd-ioblocktimeout) - T2. This error message is incorrect as the reason the connection has been closed was because the specified time limit on a paged result search has been exceeded.
Package Version and Platform:
- Package and version: 389-ds-base main branch
Steps to Reproduce
- Add 1k entries
- Run a paged result search with a time limit
ldapsearch -H "ldap://localhost:389" -LLL -o ldif-wrap=0 -D "cn=dm" -w password -l 5 -E pr=5 -b "dc=example,dc=com" "(objectclass=inetUser)" dn
- Check the access logs for io block timeout error
[14/Feb/2024:11:47:51.245578281 +0100] conn=17 op=-1 fd=65 Disconnect - IO Block Timeout (nsslapd-ioblocktimeout) - T2
Expected results
[15/Feb/2024:16:12:47.014439458 +0000] conn=5 op=-1 fd=125 Disconnect - Paged Search Limit Exceeded - T3
Additional context
Proposed by @tbordaz