s4-dsdb: Do not use a possibly-old loadparm context in schema reload
commitd1eac79690d0fe8f8a5a78bcb83a6b4783279e27
authorAndrew Bartlett <abartlet@samba.org>
Wed, 22 Aug 2012 12:08:36 +0000 (22 22:08 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 23 Aug 2012 13:02:25 +0000 (23 15:02 +0200)
treee330820d20cb00bc4035cbb30e1ad32ba5344f85
parenta58ac39a5ae97b3aebfde10466798b41baccaacf
s4-dsdb: Do not use a possibly-old loadparm context in schema reload

The loadparm context on the schema DB might have gone away already.
Pre-cache the schema refresh interval at load time to avoid worrying
about this.

Andrew Bartlett
source4/dsdb/samdb/ldb_modules/schema_load.c
source4/dsdb/schema/schema.h
source4/dsdb/schema/schema_init.c