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
c150333b
Commit
c150333b
authored
Feb 20, 2009
by
Quanah Gibson-Mount
Browse files
ITS#5724
parent
bc7057c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
c150333b
...
...
@@ -2,10 +2,12 @@ OpenLDAP 2.4 Change Log
OpenLDAP 2.4.15 Release (2009/02/19)
Fixed libldap GnuTLS compilation (ITS#5955)
Fixed slapd bconfig conversion again (ITS#5346)
Fixed slapd corrupt contextCSN (ITS#5947)
Fixed slapd syncrepl order to match on add/delete (ITS#5954)
Fixed slapd-bdb/hdb behavior with unallocatable shm (ITS#5956)
Fixed slapd-meta with entries with invalid attrs (ITS#5959)
Fixed slapd-relay control initialization (ITS#5724)
Fixed slapo-pcache caching invalid entries (ITS#5927)
Fixed slapo-rwm objectClass preservation (ITS#5760)
Fixed slapo-rwm rwm_bva_rewrite handling (ITS#5960)
...
...
servers/slapd/back-relay/init.c
View file @
c150333b
...
...
@@ -224,11 +224,11 @@ relay_back_db_open( Backend *be, ConfigReply *cr )
}
/* inherit controls */
AC_MEMCPY
(
be
->
be_ctrls
,
ri
->
ri_bd
->
be_ctrls
,
sizeof
(
be
->
be_ctrls
)
);
AC_MEMCPY
(
be
->
bd_self
->
be_ctrls
,
ri
->
ri_bd
->
be_ctrls
,
sizeof
(
be
->
be_ctrls
)
);
}
else
{
/* inherit all? */
AC_MEMCPY
(
be
->
be_ctrls
,
frontendDB
->
be_ctrls
,
sizeof
(
be
->
be_ctrls
)
);
AC_MEMCPY
(
be
->
bd_self
->
be_ctrls
,
frontendDB
->
be_ctrls
,
sizeof
(
be
->
be_ctrls
)
);
}
return
0
;
...
...
servers/slapd/backover.c
View file @
c150333b
...
...
@@ -140,25 +140,22 @@ over_db_open(
{
slap_overinfo
*
oi
=
be
->
bd_info
->
bi_private
;
slap_overinst
*
on
=
oi
->
oi_list
;
Backend
Info
*
bi_orig
=
be
->
bd_info
;
Backend
DB
db
=
*
be
;
int
rc
=
0
;
be
->
be_flags
|=
SLAP_DBFLAG_OVERLAY
;
be
->
bd_info
=
oi
->
oi_orig
;
if
(
be
->
bd_info
->
bi_db_open
)
{
rc
=
be
->
bd_info
->
bi_db_open
(
b
e
,
cr
);
db
.
be_flags
|=
SLAP_DBFLAG_OVERLAY
;
db
.
bd_info
=
oi
->
oi_orig
;
if
(
db
.
bd_info
->
bi_db_open
)
{
rc
=
db
.
bd_info
->
bi_db_open
(
&
d
b
,
cr
);
}
for
(;
on
&&
rc
==
0
;
on
=
on
->
on_next
)
{
be
->
bd_info
=
&
on
->
on_bi
;
if
(
be
->
bd_info
->
bi_db_open
)
{
rc
=
be
->
bd_info
->
bi_db_open
(
b
e
,
cr
);
db
.
bd_info
=
&
on
->
on_bi
;
if
(
db
.
bd_info
->
bi_db_open
)
{
rc
=
db
.
bd_info
->
bi_db_open
(
&
d
b
,
cr
);
}
}
be
->
bd_info
=
bi_orig
;
be
->
be_flags
^=
SLAP_DBFLAG_OVERLAY
;
return
rc
;
}
...
...
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