1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

s4-rodc: s->schema need initialisation

this fixes a segfault in net rodc preload
This commit is contained in:
Andrew Tridgell 2010-09-07 15:25:45 +10:00
parent a4d23ed66f
commit 650dcda2a2

View File

@ -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;
}