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

Import ACL/parent locking changes from devel but define

SLAPD_CHILD_MODIFICATION_WITH_ENTRY_ACL to maintain current
behavior (need child write "entry" instead of parent write "children").
Fix Modrdn to use ACL.
In 1.2, this define should be removed.
parent 7e5cea4a
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,7 @@ ldbm_back_delete(
goto return_results;
}
#define SLAPD_CHILD_MODIFICATION_WITH_ENTRY_ACL 1
#ifdef SLAPD_CHILD_MODIFICATION_WITH_ENTRY_ACL
if ( ! access_allowed( be, conn, op, e, "entry", NULL, op->o_dn,
ACL_WRITE ) ) {
......
......@@ -38,6 +38,7 @@ ldbm_back_modrdn(
return( -1 );
}
#define SLAPD_CHILD_MODIFICATION_WITH_ENTRY_ACL 1
#ifdef SLAPD_CHILD_MODIFICATION_WITH_ENTRY_ACL
/* check parent for "children" acl */
if ( ! access_allowed( be, conn, op, e, "entry", NULL,
......
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