Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tero Saarni
OpenLDAP
Commits
09670765
Commit
09670765
authored
Jan 30, 2009
by
Quanah Gibson-Mount
Browse files
ITS#5857
parent
04c1c96a
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
09670765
...
...
@@ -19,6 +19,7 @@ OpenLDAP 2.4.14 Engineering
Fixed slapd bconfig encoding incorrectly (ITS#5897)
Fixed slapd connection assert (ITS#5835)
Fixed slapd epoll handling (ITS#5886)
Fixed slapd frontend/backend options handling (ITS#5857)
Fixed slapd syncrepl rename handling (ITS#5809)
Fixed slapd syncrepl MMR when adding new server (ITS#5850)
Fixed slapd syncrepl MMR with deleted entries (ITS#5843)
...
...
servers/slapd/backend.c
View file @
09670765
...
...
@@ -1005,13 +1005,19 @@ backend_check_restrictions(
slap_mask_t
requires
;
slap_mask_t
opflag
;
slap_mask_t
exopflag
=
0
;
slap_ssf_set_t
*
ssf
;
slap_ssf_set_t
ssfs
,
*
ssf
;
int
updateop
=
0
;
int
starttls
=
0
;
int
session
=
0
;
restrictops
=
frontendDB
->
be_restrictops
;
requires
=
frontendDB
->
be_requires
;
ssfs
=
frontendDB
->
be_ssf_set
;
ssf
=
&
ssfs
;
if
(
op
->
o_bd
)
{
int
rc
=
SLAP_CB_CONTINUE
;
slap_ssf_t
*
fssf
,
*
bssf
;
int
rc
=
SLAP_CB_CONTINUE
,
i
;
if
(
op
->
o_bd
->
be_chk_controls
)
{
rc
=
(
*
op
->
o_bd
->
be_chk_controls
)(
op
,
rs
);
...
...
@@ -1025,14 +1031,13 @@ backend_check_restrictions(
return
rs
->
sr_err
;
}
restrictops
=
op
->
o_bd
->
be_restrictops
;
requires
=
op
->
o_bd
->
be_requires
;
ssf
=
&
op
->
o_bd
->
be_ssf_set
;
}
else
{
restrictops
=
frontendDB
->
be_restrictops
;
requires
=
frontendDB
->
be_requires
;
ssf
=
&
frontendDB
->
be_ssf_set
;
restrictops
|=
op
->
o_bd
->
be_restrictops
;
requires
|=
op
->
o_bd
->
be_requires
;
bssf
=
&
op
->
o_bd
->
be_ssf_set
.
sss_ssf
;
fssf
=
&
ssfs
.
sss_ssf
;
for
(
i
=
0
;
i
<
sizeof
(
ssfs
)
/
sizeof
(
slap_ssf_t
);
i
++
)
{
if
(
bssf
[
i
]
)
fssf
[
i
]
=
bssf
[
i
];
}
}
switch
(
op
->
o_tag
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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