mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Disallow anonymous modification.
This commit is contained in:
parent
1f37996fe2
commit
c2c7ccc228
@ -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 New Issue
Block a user