mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix entry/children always allowed bug!
This commit is contained in:
parent
ca5eab2ebc
commit
2890bc5b6d
@ -115,7 +115,9 @@ access_allowed(
|
||||
* by ACL_WRITE checking as any found here are not provided
|
||||
* by the user
|
||||
*/
|
||||
if ( access >= ACL_WRITE && is_at_no_user_mod( desc->ad_type ) )
|
||||
if ( access >= ACL_WRITE && is_at_no_user_mod( desc->ad_type )
|
||||
&& desc != slap_schema.si_ad_entry
|
||||
&& desc != slap_schema.si_ad_children )
|
||||
{
|
||||
Debug( LDAP_DEBUG_ACL, "NoUserMod Operational attribute:"
|
||||
" %s access granted\n",
|
||||
|
Loading…
Reference in New Issue
Block a user