Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
a9fd63c1
Commit
a9fd63c1
authored
Apr 07, 2003
by
Pierangelo Masarati
Browse files
need attrs when sending entries ...
parent
cb2155e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-monitor/search.c
View file @
a9fd63c1
...
...
@@ -112,7 +112,10 @@ monitor_send_children(
rc
=
test_filter
(
op
,
e
,
op
->
oq_search
.
rs_filter
);
if
(
rc
==
LDAP_COMPARE_TRUE
)
{
rs
->
sr_entry
=
e
;
rs
->
sr_attrs
=
attrs
;
send_search_entry
(
op
,
rs
);
rs
->
sr_entry
=
NULL
;
rs
->
sr_attrs
=
NULL
;
}
if
(
(
mp
->
mp_children
||
MONITOR_HAS_VOLATILE_CH
(
mp
)
)
...
...
@@ -171,8 +174,10 @@ monitor_back_search( Operation *op, SlapReply *rs )
rc
=
test_filter
(
op
,
e
,
op
->
oq_search
.
rs_filter
);
if
(
rc
==
LDAP_COMPARE_TRUE
)
{
rs
->
sr_entry
=
e
;
rs
->
sr_attrs
=
attrs
;
send_search_entry
(
op
,
rs
);
rs
->
sr_entry
=
NULL
;
rs
->
sr_attrs
=
NULL
;
}
rc
=
LDAP_SUCCESS
;
monitor_cache_release
(
mi
,
e
);
...
...
@@ -191,8 +196,10 @@ monitor_back_search( Operation *op, SlapReply *rs )
rc
=
test_filter
(
op
,
e
,
op
->
oq_search
.
rs_filter
);
if
(
rc
==
LDAP_COMPARE_TRUE
)
{
rs
->
sr_entry
=
e
;
rs
->
sr_attrs
=
attrs
;
send_search_entry
(
op
,
rs
);
rs
->
sr_entry
=
NULL
;
rs
->
sr_attrs
=
NULL
;
}
rc
=
monitor_send_children
(
op
,
rs
,
e
,
1
);
...
...
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