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:
parent
a4d23ed66f
commit
650dcda2a2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user