summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2005-09-17 19:29:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:15 -0500
commit4f85004da5ea5809321ba4a3bc23631bef61bea7 (patch)
tree8aefa3f79ce4b17d8c47c03a0a835a88d0be0dc5 /source4
parent8919d6bf9a88ce9ac43dae61989c33082c984b66 (diff)
downloadsamba-4f85004da5ea5809321ba4a3bc23631bef61bea7.tar.gz
samba-4f85004da5ea5809321ba4a3bc23631bef61bea7.tar.bz2
samba-4f85004da5ea5809321ba4a3bc23631bef61bea7.zip
r10300: forgot to change the dsdb modules function names
(This used to be commit e9018e3d9f69528acc0c440929fdb8d95413fa0d)
Diffstat (limited to 'source4')
-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
};