summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2008-10-14 11:02:42 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-10-14 11:16:23 +1100
commit9dcbddd5c61e8bf2814e97e53e7c518df87661c0 (patch)
tree2d591831df3620434facd9ba8edd5c2ad12b59ad /source4
parentabe443a65edf86892ce01c80804a4b644ec99433 (diff)
downloadsamba-9dcbddd5c61e8bf2814e97e53e7c518df87661c0.tar.gz
samba-9dcbddd5c61e8bf2814e97e53e7c518df87661c0.tar.bz2
samba-9dcbddd5c61e8bf2814e97e53e7c518df87661c0.zip
The ldb async merge broke all MMC management utilties
Commit 51baa8deec00244cc0a6e3d29c53932427800610 included a copy-and-paste bug which caused all MMC mangement utilities to break. Because of the typo Samba4 would no longer include the magic 'you may write to these attributes/create these classes' attributes, these tools would display all fields greyed out or 'read only', and not allow the creation of child objects. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/kludge_acl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/kludge_acl.c b/source4/dsdb/samdb/ldb_modules/kludge_acl.c
index 865e1c7286..6acbf45afd 100644
--- a/source4/dsdb/samdb/ldb_modules/kludge_acl.c
+++ b/source4/dsdb/samdb/ldb_modules/kludge_acl.c
@@ -250,14 +250,14 @@ static int kludge_acl_callback(struct ldb_request *req, struct ldb_reply *ares)
case SECURITY_SYSTEM:
if (ac->allowedAttributesEffective) {
ret = kludge_acl_allowedAttributes(ac->module->ldb, ares->message,
- "allowedClassesAttributesEffective");
+ "allowedAttributesEffective");
if (ret != LDB_SUCCESS) {
return ldb_module_done(ac->req, NULL, NULL, ret);
}
}
if (ac->allowedChildClassesEffective) {
ret = kludge_acl_childClasses(ac->module->ldb, ares->message,
- "allowedClassesChildClassesEffective");
+ "allowedChildClassesEffective");
if (ret != LDB_SUCCESS) {
return ldb_module_done(ac->req, NULL, NULL, ret);
}
@@ -267,14 +267,14 @@ static int kludge_acl_callback(struct ldb_request *req, struct ldb_reply *ares)
case SECURITY_ADMINISTRATOR:
if (ac->allowedAttributesEffective) {
ret = kludge_acl_allowedAttributes(ac->module->ldb, ares->message,
- "allowedClassesAttributesEffective");
+ "allowedAttributesEffective");
if (ret != LDB_SUCCESS) {
return ldb_module_done(ac->req, NULL, NULL, ret);
}
}
if (ac->allowedChildClassesEffective) {
ret = kludge_acl_childClasses(ac->module->ldb, ares->message,
- "allowedClassesChildClassesEffective");
+ "allowedChildClassesEffective");
if (ret != LDB_SUCCESS) {
return ldb_module_done(ac->req, NULL, NULL, ret);
}