dsdb: Rework schema_init module to always use valid memory
authorAndrew Bartlett <abartlet@samba.org>
Thu, 8 Jun 2017 11:05:26 +0000 (23:05 +1200)
committerStefan Metzmacher <metze@samba.org>
Thu, 22 Jun 2017 11:07:41 +0000 (13:07 +0200)
commitbb11cf2c06bd49351b18da40e4fecbf5ed7f30ac
treeb699a64619741cd30ea0bc3a5ff9aa63311a07e6
parent2c7ed6c283d0c67e73d7a963b3691d3de6954119
dsdb: Rework schema_init module to always use valid memory

The schema can go away unless the second argument (the memory context) is supplied

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/samdb/ldb_modules/schema_load.c