mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
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).
This commit is contained in:
parent
59e9ff6243
commit
f32384ef44
@ -1681,8 +1681,8 @@ static int parseDomainScope (
|
|||||||
return LDAP_PROTOCOL_ERROR;
|
return LDAP_PROTOCOL_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( BER_BVISNULL( &ctrl->ldctl_value )) {
|
if ( !BER_BVISNULL( &ctrl->ldctl_value )) {
|
||||||
rs->sr_text = "domainScope control value not empty";
|
rs->sr_text = "domainScope control value not absent";
|
||||||
return LDAP_PROTOCOL_ERROR;
|
return LDAP_PROTOCOL_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user