1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/ldap_server
Stefan Metzmacher f7a84cffe9 s4:ldap_server: let ldapsrv_call_writev_start use conn_idle_time to limit the time
If the client is not able to receive the results within connections idle
time, then we should treat it as dead. It's value is 15 minutes (900 s)
by default.

In order to limit that further an admin can use 'socket options'
and set TCP_KEEPCNT, TCP_KEEPIDLE, TCP_KEEPINTVL and/or TCP_USER_TIMEOUT
to useful values.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15202

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Oct 19 17:13:39 UTC 2022 on sn-devel-184

(cherry picked from commit eb2f352603)
2022-10-31 14:30:09 +00:00
..
devdocs
ldap_backend.c CVE-2021-3670 ldap_server: Clearly log LDAP queries and timeouts 2021-11-25 02:30:42 +00:00
ldap_bind.c s4: rename source4/smbd/ to source4/samba/ 2020-11-27 10:07:18 +00:00
ldap_extended.c s4: rename source4/smbd/ to source4/samba/ 2020-11-27 10:07:18 +00:00
ldap_server.c s4:ldap_server: let ldapsrv_call_writev_start use conn_idle_time to limit the time 2022-10-31 14:30:09 +00:00
ldap_server.h ldap_server: Terminate LDAP connections on krb ticket expiry 2020-08-21 19:14:32 +00:00
wscript_build ldap_server: Log access without a bind 2017-03-29 02:37:27 +02:00