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
François Kooman
OpenLDAP
Commits
fc6f282b
Commit
fc6f282b
authored
17 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
Fixed slapd replication of dSAOperation attributes (ITS#5268)
parent
07bb97db
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES
+1
-0
1 addition, 0 deletions
CHANGES
servers/slapd/overlays/syncprov.c
+6
-0
6 additions, 0 deletions
servers/slapd/overlays/syncprov.c
servers/slapd/result.c
+9
-5
9 additions, 5 deletions
servers/slapd/result.c
with
16 additions
and
5 deletions
CHANGES
+
1
−
0
View file @
fc6f282b
...
...
@@ -11,6 +11,7 @@ OpenLDAP 2.4.7 Release (2007/12/01)
Fixed slapd core schema 'c' definition for RFC4519 (ITS#5236)
Fixed slapd 3-way Multi-Master Replication (ITS#5238)
Fixed slapd hash collisions in index slots (ITS#5183)
Fixed slapd replication of dSAOperation attributes (ITS#5268)
Fixed slapadd contextCSN updating (ITS#5225)
Fixed slapd-bdb/hdb to report and fail on internal errors (ITS#5232)
Fixed slapd-bdb/hdb dn2entry lock bug (ITS#5257)
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/overlays/syncprov.c
+
6
−
0
View file @
fc6f282b
...
...
@@ -2321,6 +2321,12 @@ syncprov_operational(
slap_overinst
*
on
=
(
slap_overinst
*
)
op
->
o_bd
->
bd_info
;
syncprov_info_t
*
si
=
(
syncprov_info_t
*
)
on
->
on_bi
.
bi_private
;
/* This prevents generating unnecessarily; frontend will strip
* any statically stored copy.
*/
if
(
op
->
o_sync
!=
SLAP_CONTROL_NONE
)
return
SLAP_CB_CONTINUE
;
if
(
rs
->
sr_entry
&&
dn_match
(
&
rs
->
sr_entry
->
e_nname
,
op
->
o_bd
->
be_nsuffix
))
{
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/result.c
+
9
−
5
View file @
fc6f282b
...
...
@@ -898,12 +898,16 @@ slap_send_search_entry( Operation *op, SlapReply *rs )
}
else
{
/* specific attrs requested */
if
(
is_at_operational
(
desc
->
ad_type
)
)
{
if
(
!
SLAP_OPATTRS
(
rs
->
sr_attr_flags
)
&&
!
ad_inlist
(
desc
,
rs
->
sr_attrs
)
)
{
continue
;
/* if not explicitly requested */
if
(
!
ad_inlist
(
desc
,
rs
->
sr_attrs
))
{
/* if not all op attrs requested, skip */
if
(
!
SLAP_OPATTRS
(
rs
->
sr_attr_flags
))
continue
;
/* if DSA-specific and replicating, skip */
if
(
op
->
o_sync
!=
SLAP_CONTROL_NONE
&&
desc
->
ad_type
->
sat_usage
==
LDAP_SCHEMA_DSA_OPERATION
)
continue
;
}
}
else
{
if
(
!
userattrs
&&
!
ad_inlist
(
desc
,
rs
->
sr_attrs
)
)
{
continue
;
...
...
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