summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-11-07 21:47:39 +0200
committerKamen Mazdrashki <kamenim@samba.org>2010-11-11 18:54:20 +0000
commit28f41c166a77c0d69f0b1eb3e0d811fb66e696a4 (patch)
tree51dd22eccf36e046f3e815341b10d0ef79a5d2f3 /source4/dsdb
parent7ada90ec2956fc8fc744676496e847f1a4d2f163 (diff)
downloadsamba-28f41c166a77c0d69f0b1eb3e0d811fb66e696a4.tar.gz
samba-28f41c166a77c0d69f0b1eb3e0d811fb66e696a4.tar.bz2
samba-28f41c166a77c0d69f0b1eb3e0d811fb66e696a4.zip
s4-repl: dsdb_convert_object -> dsdb_origin_object_convert
It is used in dsdb_origin_objects_commit() func, hence the dsdb_origin_ prefix
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/repl/replicated_objects.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c
index 5c3cf48848..7f1f78c153 100644
--- a/source4/dsdb/repl/replicated_objects.c
+++ b/source4/dsdb/repl/replicated_objects.c
@@ -356,11 +356,11 @@ WERROR dsdb_extended_replicated_objects_commit(struct ldb_context *ldb,
return WERR_OK;
}
-static WERROR dsdb_convert_object(struct ldb_context *ldb,
- const struct dsdb_schema *schema,
- const struct drsuapi_DsReplicaObjectListItem *in,
- TALLOC_CTX *mem_ctx,
- struct ldb_message **_msg)
+static WERROR dsdb_origin_object_convert(struct ldb_context *ldb,
+ const struct dsdb_schema *schema,
+ const struct drsuapi_DsReplicaObjectListItem *in,
+ TALLOC_CTX *mem_ctx,
+ struct ldb_message **_msg)
{
WERROR status;
unsigned int i;
@@ -449,8 +449,8 @@ WERROR dsdb_origin_objects_commit(struct ldb_context *ldb,
}
for (i=0, cur = first_object; cur; cur = cur->next_object, i++) {
- status = dsdb_convert_object(ldb, schema,
- cur, objects, &objects[i]);
+ status = dsdb_origin_object_convert(ldb, schema, cur,
+ objects, &objects[i]);
if (!W_ERROR_IS_OK(status)) {
goto cancel;
}