Commit 59681e0e authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#8840 Fix domainScope control to ensure the control value is absent as per...

ITS#8840 Fix domainScope control to ensure the control value is absent as per Microsoft specification (https://msdn.microsoft.com/en-us/library/aa366979%28v=vs.85%29.aspx).
parent be1d550f
......@@ -1660,8 +1660,8 @@ static int parseDomainScope (
return LDAP_PROTOCOL_ERROR;
}
if ( BER_BVISNULL( &ctrl->ldctl_value )) {
rs->sr_text = "domainScope control value not empty";
if ( !BER_BVISNULL( &ctrl->ldctl_value )) {
rs->sr_text = "domainScope control value not absent";
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