Modify meaning of SLAPD_CHILD_MODIFICATION_ENTRY_ACL to augment

"children" ACLs with "entry" ACLs (versus replacement of children
ACLs with "entry" ACLs).
This commit is contained in:
Kurt Zeilenga 1999-04-30 02:34:46 +00:00
parent 5882352a2e
commit d8aef04224
4 changed files with 0 additions and 13 deletions

View file

@ -70,7 +70,6 @@ bdb2i_back_delete_internal(
goto return_results;
}
#ifndef SLAPD_CHILD_MODIFICATION_WITH_ENTRY_ACL
/* check parent for "children" acl */
if ( ! access_allowed( be, conn, op, p,
"children", NULL, ACL_WRITE ) )
@ -81,7 +80,6 @@ bdb2i_back_delete_internal(
"", "" );
goto return_results;
}
#endif
} else {
/* no parent, must be root to delete */

View file

@ -93,7 +93,6 @@ bdb2i_back_modrdn_internal(
goto return_results;
}
#ifndef SLAPD_CHILD_MODIFICATION_WITH_ENTRY_ACL
/* check parent for "children" acl */
if ( ! access_allowed( be, conn, op, p,
"children", NULL, ACL_WRITE ) )
@ -104,7 +103,6 @@ bdb2i_back_modrdn_internal(
"", "" );
goto return_results;
}
#endif
p_dn = dn_parent( be, e->e_dn );
@ -159,7 +157,6 @@ bdb2i_back_modrdn_internal(
"ldbm_back_modrdn: wr to new parent OK np=%p, id=%d\n",
np, np->e_id, 0 );
#ifndef SLAPD_CHILD_MODIFICATION_WITH_ENTRY_ACL
/* check newSuperior for "children" acl */
if ( !access_allowed( be, conn, op, np, "children", NULL,
ACL_WRITE ) )
@ -171,7 +168,6 @@ bdb2i_back_modrdn_internal(
"", "" );
goto return_results;
}
#endif
Debug( LDAP_DEBUG_TRACE,
"ldbm_back_modrdn: wr to new parent's children OK\n",

View file

@ -72,7 +72,6 @@ ldbm_back_delete(
goto return_results;
}
#ifndef SLAPD_CHILD_MODIFICATION_WITH_ENTRY_ACL
/* check parent for "children" acl */
if ( ! access_allowed( be, conn, op, p,
"children", NULL, ACL_WRITE ) )
@ -84,7 +83,6 @@ ldbm_back_delete(
"", "" );
goto return_results;
}
#endif
} else {
/* no parent, must be root to delete */

View file

@ -100,7 +100,6 @@ ldbm_back_modrdn(
goto return_results;
}
#ifndef SLAPD_CHILD_MODIFICATION_WITH_ENTRY_ACL
/* check parent for "children" acl */
if ( ! access_allowed( be, conn, op, p,
"children", NULL, ACL_WRITE ) )
@ -115,7 +114,6 @@ ldbm_back_modrdn(
Debug( LDAP_DEBUG_TRACE,
"ldbm_back_modrdn: wr to children of entry %s OK\n",
p_ndn, 0, 0 );
#endif
p_dn = dn_parent( be, e->e_dn );
@ -173,7 +171,6 @@ ldbm_back_modrdn(
"ldbm_back_modrdn: wr to new parent OK np=%p, id=%d\n",
np, np->e_id, 0 );
#ifndef SLAPD_CHILD_MODIFICATION_WITH_ENTRY_ACL
/* check newSuperior for "children" acl */
if ( !access_allowed( be, conn, op, np, "children", NULL,
ACL_WRITE ) )
@ -185,7 +182,6 @@ ldbm_back_modrdn(
"", "" );
goto return_results;
}
#endif
Debug( LDAP_DEBUG_TRACE,
"ldbm_back_modrdn: wr to new parent's children OK\n",
@ -242,7 +238,6 @@ ldbm_back_modrdn(
}
/* Get attribute type and attribute value of our new rdn, we will
* need to add that to our new entry
*/