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
a0de1059
Commit
a0de1059
authored
Oct 28, 2019
by
Howard Chu
Committed by
Quanah Gibson-Mount
Nov 21, 2019
Browse files
ITS
#9100
relax domainScope check for absent value
parent
5baeb010
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/controls.c
View file @
a0de1059
...
...
@@ -1660,7 +1660,11 @@ static int parseDomainScope (
return
LDAP_PROTOCOL_ERROR
;
}
if
(
!
BER_BVISNULL
(
&
ctrl
->
ldctl_value
))
{
/* this should be checking BVISNULL, but M$ clients are broken
* and include the value even though the M$ spec says it must be
* omitted. ITS#9100.
*/
if
(
!
BER_BVISEMPTY
(
&
ctrl
->
ldctl_value
))
{
rs
->
sr_text
=
"domainScope control value not absent"
;
return
LDAP_PROTOCOL_ERROR
;
}
...
...
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