dsdb mods/extended_dn_store: used the ldb we already have
[kai/samba-autobuild/.git] / source4 / dsdb / samdb / ldb_modules / extended_dn_store.c
index 6bfced3b7d2b9e6c887d36ba3b1f92c42ada3699..0b0e1861f9789579782085a76c57744133a2340f 100644 (file)
@@ -86,7 +86,7 @@ static struct extended_dn_context *extended_dn_context_init(struct ldb_module *m
                return NULL;
        }
 
-       ac->schema = dsdb_get_schema(ldb_module_get_ctx(module), ac);
+       ac->schema = dsdb_get_schema(ldb, ac);
        ac->module = module;
        ac->ldb = ldb;
        ac->req = req;