summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-07 15:25:45 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-09 21:39:24 +1000
commit650dcda2a2c59657b11052ebef622c351c4db477 (patch)
tree393de9e122df02e98b8ce1f7b53b3fedda5e5cb3
parenta4d23ed66ff32b5a9dc00ea82036436df0e97505 (diff)
downloadsamba-650dcda2a2c59657b11052ebef622c351c4db477.tar.gz
samba-650dcda2a2c59657b11052ebef622c351c4db477.tar.bz2
samba-650dcda2a2c59657b11052ebef622c351c4db477.zip
s4-rodc: s->schema need initialisation
this fixes a segfault in net rodc preload
-rw-r--r--source4/libnet/libnet_vampire.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index 955aa32318..950698d053 100644
--- a/source4/libnet/libnet_vampire.c
+++ b/source4/libnet/libnet_vampire.c
@@ -105,6 +105,7 @@ void *libnet_vampire_replicate_init(TALLOC_CTX *mem_ctx,
s->ldb = samdb;
s->lp_ctx = lp_ctx;
s->provision_schema = dsdb_get_schema(s->ldb, s);
+ s->schema = s->provision_schema;
return s;
}