]> git.sur5r.net Git - openldap/commitdiff
Fix entry/children always allowed bug!
authorKurt Zeilenga <kurt@openldap.org>
Thu, 20 Jul 2000 22:52:44 +0000 (22:52 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 20 Jul 2000 22:52:44 +0000 (22:52 +0000)
servers/slapd/acl.c

index b61b1570c18a92b00aa0f69570d213fcfc134606..cbed19b93150653000d6fe2afce86e2e5257d7f3 100644 (file)
@@ -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",