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
orbea -
OpenLDAP
Commits
d8f97f58
Commit
d8f97f58
authored
Jun 08, 2011
by
Pierangelo Masarati
Browse files
ITS#6899
tag read entry response control value with [APPLICATION 4] (SearchResultEntry)
parent
8a1aa76b
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/result.c
View file @
d8f97f58
...
...
@@ -1042,7 +1042,8 @@ slap_send_search_entry( Operation *op, SlapReply *rs )
#endif
if
(
op
->
o_res_ber
)
{
/* read back control */
rc
=
ber_printf
(
ber
,
"{O{"
/*}}*/
,
&
rs
->
sr_entry
->
e_name
);
rc
=
ber_printf
(
ber
,
"t{O{"
/*}}*/
,
LDAP_RES_SEARCH_ENTRY
,
&
rs
->
sr_entry
->
e_name
);
}
else
{
rc
=
ber_printf
(
ber
,
"{it{O{"
/*}}}*/
,
op
->
o_msgid
,
LDAP_RES_SEARCH_ENTRY
,
&
rs
->
sr_entry
->
e_name
);
...
...
@@ -1744,6 +1745,7 @@ int slap_read_controls(
myop
.
o_res_ber
=
ber
;
myop
.
o_callback
=
NULL
;
myop
.
ors_slimit
=
1
;
myop
.
ors_attrsonly
=
0
;
rc
=
slap_send_search_entry
(
&
myop
,
rs
);
if
(
rc
)
return
rc
;
...
...
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