diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-05-14 20:12:03 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-06-11 10:18:26 +0200 |
commit | 791c38282d681c60eaedb47803b9043991f5950d (patch) | |
tree | 55ad69a7a7f9f721eb42ef9f2e4789443bef2ce3 /source4/dsdb/schema/schema_init.c | |
parent | 8327321225251e312ccbd06bbefa5ebf98099f34 (diff) | |
download | samba-791c38282d681c60eaedb47803b9043991f5950d.tar.gz samba-791c38282d681c60eaedb47803b9043991f5950d.tar.xz samba-791c38282d681c60eaedb47803b9043991f5950d.zip |
dsdb: Do not refresh the schema using the wrong event context
What we now do is have the refresh function and module be on a
seperate object to the schema, only referring to the data and
not excuting on the original ldb and event loop.
That is, we never use another ldb context when calling the
refresh function, by binding the refresh handler to the
ldb and not the schema.
Andrew Bartlett
Change-Id: I5c323dda743cf5858badd01147fda6227599bc16
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/dsdb/schema/schema_init.c')
-rw-r--r-- | source4/dsdb/schema/schema_init.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c index 43a6a89b3c3..d0388079241 100644 --- a/source4/dsdb/schema/schema_init.c +++ b/source4/dsdb/schema/schema_init.c @@ -97,8 +97,6 @@ struct dsdb_schema *dsdb_schema_copy_shallow(TALLOC_CTX *mem_ctx, } /* leave reload_seq_number = 0 so it will be refresh ASAP */ - schema_copy->refresh_fn = schema->refresh_fn; - schema_copy->loaded_from_module = schema->loaded_from_module; return schema_copy; |