Author: idra Date: 2005-09-17 19:29:45 +0000 (Sat, 17 Sep 2005) New Revision: 10300
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10300 Log: forgot to change the dsdb modules function names Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectguid.c branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c Changeset: Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectguid.c =================================================================== --- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectguid.c 2005-09-17 19:25:50 UTC (rev 10299) +++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectguid.c 2005-09-17 19:29:45 UTC (rev 10300) @@ -143,16 +143,16 @@ 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 @@ .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 }; Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c =================================================================== --- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c 2005-09-17 19:25:50 UTC (rev 10299) +++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c 2005-09-17 19:29:45 UTC (rev 10300) @@ -587,16 +587,16 @@ 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 @@ .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 };