Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
Johan Pascal
OpenLDAP
Commits
c6c4aaa1
Commit
c6c4aaa1
authored
26 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
merge in passwd backend search sizelimit bugfix from -devel
parent
c0a303ba
No related branches found
Branches containing commit
Tags
OPENLDAP_REL_ENG_1_1_0
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
servers/slapd/back-passwd/search.c
+8
-8
8 additions, 8 deletions
servers/slapd/back-passwd/search.c
with
8 additions
and
8 deletions
servers/slapd/back-passwd/search.c
+
8
−
8
View file @
c6c4aaa1
...
...
@@ -80,14 +80,6 @@ passwd_back_search(
}
pthread_mutex_unlock
(
&
op
->
o_abandonmutex
);
/* check size limit */
if
(
--
slimit
==
-
1
)
{
send_ldap_result
(
conn
,
op
,
LDAP_SIZELIMIT_EXCEEDED
,
NULL
,
NULL
);
endpwent
();
return
(
0
);
}
/* check time limit */
pthread_mutex_lock
(
&
currenttime_mutex
);
time
(
&
currenttime
);
...
...
@@ -103,6 +95,14 @@ passwd_back_search(
e
=
pw2entry
(
be
,
pw
);
if
(
test_filter
(
be
,
conn
,
op
,
e
,
filter
)
==
0
)
{
/* check size limit */
if
(
--
slimit
==
-
1
)
{
send_ldap_result
(
conn
,
op
,
LDAP_SIZELIMIT_EXCEEDED
,
NULL
,
NULL
);
endpwent
();
return
(
0
);
}
send_search_entry
(
be
,
conn
,
op
,
e
,
attrs
,
attrsonly
);
}
...
...
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