summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-11-09 04:12:16 +0200
committerKamen Mazdrashki <kamenim@samba.org>2010-11-11 18:54:20 +0000
commitf65c8402998c0759aac1ff27234a5e841a3bba37 (patch)
treef66e32575cab756a64d0f9728258c53c28dfa0fc /source4/dsdb/schema
parenta8495d380ef93f8d236d521c8b1b8bf76f689acf (diff)
downloadsamba-f65c8402998c0759aac1ff27234a5e841a3bba37.tar.gz
samba-f65c8402998c0759aac1ff27234a5e841a3bba37.tar.bz2
samba-f65c8402998c0759aac1ff27234a5e841a3bba37.zip
s4-dsdb_syntax: Add remote prefixMap member for dsdb_syntax conversions
Diffstat (limited to 'source4/dsdb/schema')
-rw-r--r--source4/dsdb/schema/schema.h3
-rw-r--r--source4/dsdb/schema/schema_syntax.c2
2 files changed, 5 insertions, 0 deletions
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;
}