1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

r10300: forgot to change the dsdb modules function names

This commit is contained in:
Simo Sorce 2005-09-17 19:29:45 +00:00 committed by Gerald (Jerry) Carter
parent 1da4ac2cdc
commit e9018e3d9f
2 changed files with 16 additions and 16 deletions

View File

@ -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
};

View File

@ -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
};