Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
08a8e7b8
Commit
08a8e7b8
authored
May 13, 2004
by
Pierangelo Masarati
Browse files
empty ID should be fine according to draft-weltman-ldapv3-proxy
parent
c0075d57
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/controls.c
View file @
08a8e7b8
...
...
@@ -765,7 +765,8 @@ static int parseProxyAuthz (
rc
=
slap_sasl_getdn
(
op
->
o_conn
,
op
,
&
ctrl
->
ldctl_value
,
NULL
,
&
dn
,
SLAP_GETDN_AUTHZID
);
if
(
rc
!=
LDAP_SUCCESS
||
!
dn
.
bv_len
)
{
/* FIXME: empty DN in proxyAuthz control should be legal... */
if
(
rc
!=
LDAP_SUCCESS
/* || !dn.bv_len */
)
{
if
(
dn
.
bv_val
)
{
ch_free
(
dn
.
bv_val
);
}
...
...
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