Commit a0de1059 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#9100 relax domainScope check for absent value

parent 5baeb010
...@@ -1660,7 +1660,11 @@ static int parseDomainScope ( ...@@ -1660,7 +1660,11 @@ static int parseDomainScope (
return LDAP_PROTOCOL_ERROR; 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"; rs->sr_text = "domainScope control value not absent";
return LDAP_PROTOCOL_ERROR; return LDAP_PROTOCOL_ERROR;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment