Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
orbea -
OpenLDAP
Commits
5d5f4318
Commit
5d5f4318
authored
Mar 04, 2021
by
Quanah Gibson-Mount
Browse files
ITS#9490 - Add keepalive settings to ldap.conf
parent
17abe7e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/man/man5/ldap.conf.5
View file @
5d5f4318
...
...
@@ -171,6 +171,18 @@ list of hosts may be provided.
is deprecated in favor of
.BR URI .
.TP
.B _KEEPALIVE_IDLE
Sets/gets the number of seconds a connection needs to remain idle
before TCP starts sending keepalive probes. Linux only.
.TP
.B KEEPALIVE_PROBES
Sets/gets the maximum number of keepalive probes TCP should send
before dropping the connection. Linux only.
.TP
.B KEEPALIVE_INTERVAL
Sets/gets the interval in seconds between individual keepalive probes.
Linux only.
.TP
.B NETWORK_TIMEOUT <integer>
Specifies the timeout (in seconds) after which the poll(2)/select(2)
following a connect(2) returns in case of no activity.
...
...
libraries/libldap/init.c
View file @
5d5f4318
...
...
@@ -94,6 +94,10 @@ static const struct ol_attribute {
{
0
,
ATTR_OPTION
,
"HOST"
,
NULL
,
LDAP_OPT_HOST_NAME
},
/* deprecated */
{
0
,
ATTR_OPTION
,
"URI"
,
NULL
,
LDAP_OPT_URI
},
/* replaces HOST/PORT */
{
0
,
ATTR_BOOL
,
"REFERRALS"
,
NULL
,
LDAP_BOOL_REFERRALS
},
{
0
,
ATTR_INT
,
"KEEPALIVE_IDLE"
,
NULL
,
LDAP_OPT_X_KEEPALIVE_IDLE
},
{
0
,
ATTR_INT
,
"KEEPALIVE_PROBES"
,
NULL
,
LDAP_OPT_X_KEEPALIVE_PROBES
},
{
0
,
ATTR_INT
,
"KEEPALIVE_INTERVAL"
,
NULL
,
LDAP_OPT_X_KEEPALIVE_INTERVAL
},
#if 0
/* This should only be allowed via ldap_set_option(3) */
{0, ATTR_BOOL, "RESTART", NULL, LDAP_BOOL_RESTART},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment