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
4d759a34
Commit
4d759a34
authored
Jun 10, 2010
by
Quanah Gibson-Mount
Browse files
ITS#6468
parent
a624e749
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
4d759a34
...
...
@@ -4,6 +4,7 @@ OpenLDAP 2.4.23 Engineering
Fixed libldap to return server's error code (ITS#6569)
Fixed libldap memleaks (ITS#6568)
Fixed liblutil off-by-one with delta (ITS#6541)
Fixed slapd acls with glued databases (ITS#6468)
Fixed slapd syncrepl rid logging (ITS#6533)
Fixed slapd modrdn handling of invalid values (ITS#6570)
Fixed slapd-bdb hasSubordinates computation (ITS#6549)
...
...
servers/slapd/backglue.c
View file @
4d759a34
...
...
@@ -1472,6 +1472,29 @@ glue_sub_add( BackendDB *be, int advert, int online )
return
rc
;
}
static
int
glue_access_allowed
(
Operation
*
op
,
Entry
*
e
,
AttributeDescription
*
desc
,
struct
berval
*
val
,
slap_access_t
access
,
AccessControlState
*
state
,
slap_mask_t
*
maskp
)
{
BackendDB
*
b0
,
*
be
=
glue_back_select
(
op
->
o_bd
,
&
e
->
e_nname
);
int
rc
;
if
(
be
==
NULL
||
be
==
op
->
o_bd
||
be
->
bd_info
->
bi_access_allowed
==
NULL
)
return
SLAP_CB_CONTINUE
;
b0
=
op
->
o_bd
;
op
->
o_bd
=
be
;
rc
=
be
->
bd_info
->
bi_access_allowed
(
op
,
e
,
desc
,
val
,
access
,
state
,
maskp
);
op
->
o_bd
=
b0
;
return
rc
;
}
int
glue_sub_init
()
{
...
...
@@ -1492,6 +1515,7 @@ glue_sub_init()
glue
.
on_bi
.
bi_chk_controls
=
glue_chk_controls
;
glue
.
on_bi
.
bi_entry_get_rw
=
glue_entry_get_rw
;
glue
.
on_bi
.
bi_entry_release_rw
=
glue_entry_release_rw
;
glue
.
on_bi
.
bi_access_allowed
=
glue_access_allowed
;
glue
.
on_response
=
glue_response
;
...
...
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