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
b0c304f7
Commit
b0c304f7
authored
May 16, 2006
by
Pierangelo Masarati
Browse files
fix referral rewriting (ITS#4548)
parent
044df143
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-bdb/referral.c
View file @
b0c304f7
...
...
@@ -91,8 +91,11 @@ dn2entry_retry:
(
long
)
op
->
o_tag
,
op
->
o_req_dn
.
bv_val
,
e
->
e_name
.
bv_val
);
if
(
is_entry_referral
(
e
)
)
{
BerVarray
ref
=
get_entry_referrals
(
op
,
e
);
rc
=
LDAP_OTHER
;
rs
->
sr_ref
=
get_entry_referrals
(
op
,
e
);
rs
->
sr_ref
=
referral_rewrite
(
ref
,
NULL
,
&
op
->
o_req_dn
,
LDAP_SCOPE_DEFAULT
);
ber_bvarray_free
(
ref
);
if
(
rs
->
sr_ref
)
{
rs
->
sr_matched
=
ber_strdup_x
(
e
->
e_name
.
bv_val
,
op
->
o_tmpmemctx
);
...
...
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