From f65c8402998c0759aac1ff27234a5e841a3bba37 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Tue, 9 Nov 2010 04:12:16 +0200 Subject: s4-dsdb_syntax: Add remote prefixMap member for dsdb_syntax conversions --- source4/dsdb/schema/schema.h | 3 +++ source4/dsdb/schema/schema_syntax.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h index fd1e090b85..5ba2254a50 100644 --- a/source4/dsdb/schema/schema.h +++ b/source4/dsdb/schema/schema.h @@ -35,6 +35,9 @@ struct dsdb_syntax_ctx { /* set when converting objects under Schema NC */ bool is_schema_nc; + + /* remote prefixMap to be used for drsuapi_to_ldb conversions */ + const struct dsdb_schema_prefixmap *pfm_remote; }; diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c index 9cd3105a2c..7d0bf597ce 100644 --- a/source4/dsdb/schema/schema_syntax.c +++ b/source4/dsdb/schema/schema_syntax.c @@ -48,6 +48,8 @@ void dsdb_syntax_ctx_init(struct dsdb_syntax_ctx *ctx, * i.e. attributeID_id will be returned by default */ ctx->is_schema_nc = true; + + ctx->pfm_remote = NULL; } -- cgit