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
Joe Martin
OpenLDAP
Commits
7eeb5bb8
Commit
7eeb5bb8
authored
Jun 13, 2017
by
Ondřej Kuzník
Committed by
Ondřej Kuzník
Nov 17, 2020
Browse files
Forward controls correctly in the face of proxyauth
parent
5b1ad431
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/lloadd/operation.c
View file @
7eeb5bb8
...
...
@@ -689,18 +689,9 @@ request_process( Connection *client, Operation *op )
CONNECTION_UNLOCK_INCREF
(
client
);
if
(
!
BER_BVISNULL
(
&
op
->
o_ctrls
)
)
{
BerElement
*
control_ber
=
ber_alloc
();
BerValue
controls
;
if
(
!
control_ber
)
{
goto
fail
;
}
ber_init2
(
control_ber
,
&
op
->
o_ctrls
,
0
);
ber_peek_element
(
control_ber
,
&
controls
);
ber_write
(
output
,
controls
.
bv_val
,
controls
.
bv_len
,
0
);
ber_free
(
control_ber
,
0
);
ber_write
(
output
,
op
->
o_ctrls
.
bv_val
,
op
->
o_ctrls
.
bv_len
,
0
);
}
ber_printf
(
output
,
/* "{{" */
"}}"
);
}
else
{
ber_printf
(
output
,
"t{titOtO}"
,
LDAP_TAG_MESSAGE
,
...
...
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