]> git.sur5r.net Git - openldap/commit
Modify Add/Delete/Modrdn operations to require write perms on
authorKurt Zeilenga <kurt@openldap.org>
Thu, 7 Jan 1999 02:51:08 +0000 (02:51 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 7 Jan 1999 02:51:08 +0000 (02:51 +0000)
commit0f76c52448efa78d428430d5ad07039df8aa7a9b
treebfb4ca055c9c2048be82abf674a959ae7f8930a3
parented33462bdfda9f18a03e7ce42c348299aa88d317
Modify Add/Delete/Modrdn operations to require write perms on
parent's "children" attribute.  Write lock parent to prevent
multiple clients making conflicting operations concurrently.
If parent doesn't exist (ie: is backend root), acquire a writer
lock (a simple mutex) on the "root."
Use -DSLAPD_CHILD_MODIFICATION_WITH_ENTRY_ACL to use the child's
"entry" acl for modrdn/delete operations.
servers/slapd/back-ldbm/add.c
servers/slapd/back-ldbm/back-ldbm.h
servers/slapd/back-ldbm/delete.c
servers/slapd/back-ldbm/init.c
servers/slapd/back-ldbm/modrdn.c