summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-11-10 03:45:22 +0200
committerKamen Mazdrashki <kamenim@samba.org>2010-11-11 18:54:20 +0000
commit0868a1598220e2ed73aefcd9ec3517a38704ac9e (patch)
tree804d2ba5dff399ae0dd726c2a982589e73b5545b /source4/dsdb/schema
parent2d0cb54ceb8f568f233533ada007822ffb40ee3d (diff)
downloadsamba-0868a1598220e2ed73aefcd9ec3517a38704ac9e.tar.gz
samba-0868a1598220e2ed73aefcd9ec3517a38704ac9e.tar.bz2
samba-0868a1598220e2ed73aefcd9ec3517a38704ac9e.zip
s4-repl: Propagate remote prefixMap in DRSUAPI data conversion functions
Diffstat (limited to 'source4/dsdb/schema')
-rw-r--r--source4/dsdb/schema/schema_syntax.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c
index bdc78d20b0..0d1d274519 100644
--- a/source4/dsdb/schema/schema_syntax.c
+++ b/source4/dsdb/schema/schema_syntax.c
@@ -2586,6 +2586,7 @@ const struct dsdb_syntax *dsdb_syntax_for_attribute(const struct dsdb_attribute
WERROR dsdb_attribute_drsuapi_to_ldb(struct ldb_context *ldb,
const struct dsdb_schema *schema,
+ const struct dsdb_schema_prefixmap *pfm_remote,
const struct drsuapi_DsReplicaAttribute *in,
TALLOC_CTX *mem_ctx,
struct ldb_message_element *out)
@@ -2601,6 +2602,7 @@ WERROR dsdb_attribute_drsuapi_to_ldb(struct ldb_context *ldb,
/* use default syntax conversion context */
dsdb_syntax_ctx_init(&syntax_ctx, ldb, schema);
+ syntax_ctx.pfm_remote = pfm_remote;
return sa->syntax->drsuapi_to_ldb(&syntax_ctx, sa, in, mem_ctx, out);
}