Revert LDB return code patches from Matthias.
[abartlet/samba.git/.git] / source4 / dsdb / samdb / ldb_modules / kludge_acl.c
index 11e2b7ade99b9bdcaf40c02d8d9bfee9f71bb62c..6836f95873ef81b61a0e8f7f41d2b0913157865b 100644 (file)
@@ -142,7 +142,7 @@ static int kludge_acl_allowedAttributes(struct ldb_context *ldb, struct ldb_mess
                ldb_msg_add_string(msg, attrName, attr_list[i]);
        }
        talloc_free(mem_ctx);
-       return LDB_SUCCESS;
+       return 0;
 
 }
 /* read all objectClasses */
@@ -201,7 +201,7 @@ static int kludge_acl_childClasses(struct ldb_context *ldb, struct ldb_message *
                }
        }
 
-       return LDB_SUCCESS;
+       return 0;
 
 }