summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source4/dsdb/samdb/ldb_modules/objectguid.c16
-rw-r--r--source4/dsdb/samdb/ldb_modules/samldb.c16
2 files changed, 16 insertions, 16 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectguid.c b/source4/dsdb/samdb/ldb_modules/objectguid.c
index dc4576a8f9..c2569d18ca 100644
--- a/source4/dsdb/samdb/ldb_modules/objectguid.c
+++ b/source4/dsdb/samdb/ldb_modules/objectguid.c
@@ -143,16 +143,16 @@ static int objectguid_rename_record(struct ldb_module *module, const struct ldb_
return ldb_next_rename_record(module, olddn, newdn);
}
-static int objectguid_lock(struct ldb_module *module, const char *lockname)
+static int objectguid_start_trans(struct ldb_module *module)
{
- ldb_debug(module->ldb, LDB_DEBUG_TRACE, "objectguid_lock\n");
- return ldb_next_named_lock(module, lockname);
+ ldb_debug(module->ldb, LDB_DEBUG_TRACE, "objectguid_start_trans\n");
+ return ldb_next_start_trans(module);
}
-static int objectguid_unlock(struct ldb_module *module, const char *lockname)
+static int objectguid_end_trans(struct ldb_module *module, int status)
{
- ldb_debug(module->ldb, LDB_DEBUG_TRACE, "objectguid_unlock\n");
- return ldb_next_named_unlock(module, lockname);
+ ldb_debug(module->ldb, LDB_DEBUG_TRACE, "objectguid_end_trans\n");
+ return ldb_next_end_trans(module, status);
}
/* return extended error information */
@@ -187,8 +187,8 @@ static const struct ldb_module_ops objectguid_ops = {
.modify_record = objectguid_modify_record,
.delete_record = objectguid_delete_record,
.rename_record = objectguid_rename_record,
- .named_lock = objectguid_lock,
- .named_unlock = objectguid_unlock,
+ .start_transaction = objectguid_start_trans,
+ .end_transaction = objectguid_end_trans,
.errstring = objectguid_errstring
};
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c
index 3266c89e2d..6ea98792b3 100644
--- a/source4/dsdb/samdb/ldb_modules/samldb.c
+++ b/source4/dsdb/samdb/ldb_modules/samldb.c
@@ -587,16 +587,16 @@ static int samldb_rename_record(struct ldb_module *module, const struct ldb_dn *
return ldb_next_rename_record(module, olddn, newdn);
}
-static int samldb_lock(struct ldb_module *module, const char *lockname)
+static int samldb_start_trans(struct ldb_module *module)
{
- ldb_debug(module->ldb, LDB_DEBUG_TRACE, "samldb_lock\n");
- return ldb_next_named_lock(module, lockname);
+ ldb_debug(module->ldb, LDB_DEBUG_TRACE, "samldb_start_trans\n");
+ return ldb_next_start_trans(module);
}
-static int samldb_unlock(struct ldb_module *module, const char *lockname)
+static int samldb_end_trans(struct ldb_module *module, int status)
{
- ldb_debug(module->ldb, LDB_DEBUG_TRACE, "samldb_unlock\n");
- return ldb_next_named_unlock(module, lockname);
+ ldb_debug(module->ldb, LDB_DEBUG_TRACE, "samldb_end_trans\n");
+ return ldb_next_end_trans(module, status);
}
/* return extended error information */
@@ -631,8 +631,8 @@ static const struct ldb_module_ops samldb_ops = {
.modify_record = samldb_modify_record,
.delete_record = samldb_delete_record,
.rename_record = samldb_rename_record,
- .named_lock = samldb_lock,
- .named_unlock = samldb_unlock,
+ .start_transaction = samldb_start_trans,
+ .end_transaction = samldb_end_trans,
.errstring = samldb_errstring
};