Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dragoș Haiduc
OpenLDAP
Commits
548ef1f0
Commit
548ef1f0
authored
19 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
fix handling of bind-timeout
parent
c7f42fa2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES
+2
-1
2 additions, 1 deletion
CHANGES
servers/slapd/back-meta/bind.c
+2
-4
2 additions, 4 deletions
servers/slapd/back-meta/bind.c
tests/data/slapd-meta.conf
+6
-0
6 additions, 0 deletions
tests/data/slapd-meta.conf
with
10 additions
and
5 deletions
CHANGES
+
2
−
1
View file @
548ef1f0
...
...
@@ -17,8 +17,9 @@ OpenLDAP 2.3.14 Engineering
Fixed slapd-bdb/hdb cn=config reindexing (ITS#4260)
Fixed slapd-bdb/hdb cn=config olcDbIndex modify/replace (ITS#4262)
Fixed slapd-bdb/hdb lockup issue (ITS#4184)
Added slapd-ldap/meta idle-timeout support (ITS#4115)
Fixed slapd-ldap anonymous identity assertion (ITS#4272)
Added slapd-ldap/meta idle-timeout support (ITS#4115)
Fixed slapd-meta bind-timeout handling (ITS#xxxx)
Fixed slapo-rwm static DN free bug (ITS#4248)
Fixed slapo-syncprov unpublished control (ITS#4238)
Fixed slapo-syncprov message id issue
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/back-meta/bind.c
+
2
−
4
View file @
548ef1f0
...
...
@@ -342,7 +342,6 @@ rebind:;
* handle response!!!
*/
retry:
;
tv
=
mt
->
mt_bind_timeout
;
switch
(
ldap_result
(
msc
->
msc_ld
,
msgid
,
LDAP_MSG_ALL
,
&
tv
,
&
res
)
)
{
case
0
:
snprintf
(
buf
,
sizeof
(
buf
),
...
...
@@ -357,7 +356,7 @@ retry:;
if
(
nretries
>
0
)
{
nretries
--
;
}
LDAP_BACK_TV_SET
(
&
tv
)
;
tv
=
mt
->
mt_bind_timeout
;
goto
retry
;
}
rs
->
sr_err
=
LDAP_BUSY
;
...
...
@@ -498,7 +497,6 @@ rebind:;
* handle response!!!
*/
retry:
;
tv
=
mt
->
mt_bind_timeout
;
switch
(
ldap_result
(
msc
->
msc_ld
,
msgid
,
LDAP_MSG_ALL
,
&
tv
,
&
res
)
)
{
case
0
:
snprintf
(
buf
,
sizeof
(
buf
),
...
...
@@ -513,7 +511,7 @@ retry:;
if
(
nretries
>
0
)
{
nretries
--
;
}
LDAP_BACK_TV_SET
(
&
tv
)
;
tv
=
mt
->
mt_bind_timeout
;
goto
retry
;
}
...
...
This diff is collapsed.
Click to expand it.
tests/data/slapd-meta.conf
+
6
−
0
View file @
548ef1f0
...
...
@@ -35,6 +35,10 @@ argsfile @TESTDIR@/slapd.m.args
#rwmmod#modulepath ../servers/slapd/overlays/
#rwmmod#moduleload rwm.la
# seems to improve behavior under very heavy load
# (i.e. it alleviates load on target systems)
threads
8
#######################################################################
# database definitions
#######################################################################
...
...
@@ -59,4 +63,6 @@ suffixmassage "o=Example,c=US" "dc=example,dc=com"
pseudorootdn
"cn=manager,dc=example,dc=com"
pseudorootpw
secret
limits
dn
.
exact
=
"cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=Example,c=US"
time
=
1
size
=
8
#monitor#database monitor
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment