mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
Disallow anonymous modification.
This commit is contained in:
parent
1f37996fe2
commit
c2c7ccc228
1 changed files with 5 additions and 0 deletions
|
|
@ -833,6 +833,11 @@ backend_check_restrictions(
|
|||
*text = "update confidentiality required";
|
||||
return LDAP_CONFIDENTIALITY_REQUIRED;
|
||||
}
|
||||
|
||||
if( op->o_ndn == NULL ) {
|
||||
*text = "modifications require authentication";
|
||||
return LDAP_OPERATIONS_ERROR;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue