s4-dsdb_syntax: Add remote prefixMap member for dsdb_syntax conversions
authorKamen Mazdrashki <kamenim@samba.org>
Tue, 9 Nov 2010 02:12:16 +0000 (04:12 +0200)
committerKamen Mazdrashki <kamenim@samba.org>
Thu, 11 Nov 2010 18:54:20 +0000 (18:54 +0000)
source4/dsdb/schema/schema.h
source4/dsdb/schema/schema_syntax.c

index fd1e090b85da086d3f0edf3b5d265652f81a96b2..5ba2254a50b6d1513dedbc3acd50243639b14cea 100644 (file)
@@ -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;
 };
 
 
index 9cd3105a2cd71d5c3dc5123c125217acec7d4b76..7d0bf597cedb98e213f256a6c1d0f5b59261f65c 100644 (file)
@@ -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;
 }