diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-06-10 21:33:45 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-06-15 10:51:34 +1000 |
commit | 7c60ac97bf72aa08df39aa9695607270e39931c5 (patch) | |
tree | 1d15467d8a5b584b1eb3a8c4715bb404a68a639b /source4/dsdb | |
parent | 9e28ceda96a0c76752af851db4ccba86c010ed67 (diff) | |
download | samba-7c60ac97bf72aa08df39aa9695607270e39931c5.tar.gz samba-7c60ac97bf72aa08df39aa9695607270e39931c5.tar.bz2 samba-7c60ac97bf72aa08df39aa9695607270e39931c5.zip |
s4:provision Allow a specific prefix map to be loaded into a new schema provision
This allows the prefixMap from a DRS server to be used when loading
the schema from the local files. This helps us then import other
schema with this map in place.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/schema/tests/schema_syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/tests/schema_syntax.c b/source4/dsdb/schema/tests/schema_syntax.c index efbaf5684c..5dae097583 100644 --- a/source4/dsdb/schema/tests/schema_syntax.c +++ b/source4/dsdb/schema/tests/schema_syntax.c @@ -201,7 +201,7 @@ static bool torture_dsdb_syntax_tcase_setup(struct torture_context *tctx, void * priv = talloc_zero(tctx, struct torture_dsdb_syntax); torture_assert(tctx, priv, "No memory"); - priv->ldb = provision_get_schema(priv, tctx->lp_ctx); + priv->ldb = provision_get_schema(priv, tctx->lp_ctx, NULL); torture_assert(tctx, priv->ldb, "Failed to load schema from disk"); priv->schema = dsdb_get_schema(priv->ldb, NULL); |