Skip to content
Snippets Groups Projects
Commit 2890bc5b authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix entry/children always allowed bug!

parent ca5eab2e
No related branches found
No related tags found
No related merge requests found
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment