mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
ITS#7298 fix PermissiveModify control parsing
This commit is contained in:
parent
ccffd16085
commit
025b3b929e
@ -1624,7 +1624,7 @@ static int parsePermissiveModify (
|
|||||||
return LDAP_PROTOCOL_ERROR;
|
return LDAP_PROTOCOL_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( BER_BVISNULL( &ctrl->ldctl_value )) {
|
if ( !BER_BVISNULL( &ctrl->ldctl_value )) {
|
||||||
rs->sr_text = "permissiveModify control value not absent";
|
rs->sr_text = "permissiveModify control value not absent";
|
||||||
return LDAP_PROTOCOL_ERROR;
|
return LDAP_PROTOCOL_ERROR;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user