summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-14 08:52:51 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-15 09:46:27 +0100
commit28d573168cb869a7c4cf85ad094eba3805676cbd (patch)
tree72dcc1afe34380a90059cf8424913414c46c3377 /source4/libnet
parent75ae19422b2b405cabe269c29afb61a1b50636d1 (diff)
downloadsamba-28d573168cb869a7c4cf85ad094eba3805676cbd.tar.gz
samba-28d573168cb869a7c4cf85ad094eba3805676cbd.tar.bz2
samba-28d573168cb869a7c4cf85ad094eba3805676cbd.zip
s4:param/provision: pass schema_dn to provision_get_schema()
metze
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_vampire.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index a11c9cbfbe..7b4715b3ec 100644
--- a/source4/libnet/libnet_vampire.c
+++ b/source4/libnet/libnet_vampire.c
@@ -308,7 +308,9 @@ static NTSTATUS libnet_vampire_cb_apply_schema(struct libnet_vampire_cb_state *s
NT_STATUS_HAVE_NO_MEMORY(tmp_dns_name);
s_dsa->other_info->dns_name = tmp_dns_name;
- schema_ldb = provision_get_schema(s, s->lp_ctx, &s->prefixmap_blob);
+ schema_ldb = provision_get_schema(s, s->lp_ctx,
+ c->forest->schema_dn_str,
+ &s->prefixmap_blob);
if (!schema_ldb) {
DEBUG(0,("Failed to re-load from local provision using remote prefixMap. "
"Will continue with local prefixMap\n"));