Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
414230c4
Commit
414230c4
authored
Dec 10, 2009
by
Ralf Haferkamp
Browse files
global limits can also be set in "cn=config" (more forITS#6428)
parent
c3de6ba1
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/bconfig.c
View file @
414230c4
...
...
@@ -2261,9 +2261,13 @@ ok:
assert
(
ad
!=
NULL
);
CfEntryInfo
*
ce
=
c
->
ca_entry
->
e_private
;
for
(
ce
=
ce
->
ce_sibs
;
ce
;
ce
=
ce
->
ce_sibs
)
{
if
(
ce
->
ce_type
==
Cft_Global
){
ce
=
ce
->
ce_kids
;
}
for
(;
ce
;
ce
=
ce
->
ce_sibs
)
{
Entry
*
dbe
=
ce
->
ce_entry
;
if
(
!
attr_find
(
dbe
->
e_attrs
,
ad
)
)
{
if
(
(
ce
->
ce_type
==
Cft_Database
)
&&
(
ce
->
ce_be
!=
frontendDB
)
&&
(
!
attr_find
(
dbe
->
e_attrs
,
ad
))
)
{
ce
->
ce_be
->
be_def_limit
.
lms_s_soft
=
lim
->
lms_s_soft
;
ce
->
ce_be
->
be_def_limit
.
lms_s_hard
=
lim
->
lms_s_hard
;
ce
->
ce_be
->
be_def_limit
.
lms_s_unchecked
=
lim
->
lms_s_unchecked
;
...
...
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