diff options
Diffstat (limited to 'source4/param/util.c')
-rw-r--r-- | source4/param/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/param/util.c b/source4/param/util.c index 85a0587827..b3df175e43 100644 --- a/source4/param/util.c +++ b/source4/param/util.c @@ -170,7 +170,7 @@ _PUBLIC_ char *smbd_tmp_path(TALLOC_CTX *mem_ctx, const char *name) static char *modules_path(TALLOC_CTX* mem_ctx, const char *name) { - return talloc_asprintf(mem_ctx, "%s/%s", dyn_MODULESDIR, name); + return talloc_asprintf(mem_ctx, "%s/%s", lp_modulesdir(), name); } /** @@ -184,6 +184,7 @@ _PUBLIC_ init_module_fn *load_samba_modules(TALLOC_CTX *mem_ctx, const char *sub char *path = modules_path(mem_ctx, subsystem); init_module_fn *ret; + printf("MODULESDIR: %s\n", path); ret = load_modules(mem_ctx, path); talloc_free(path); |