libgpo: use MODULESDIR instead of LIBDIR for the group policy extensions.
authorMichael Adam <obnox@samba.org>
Thu, 14 Aug 2008 22:49:19 +0000 (00:49 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 15 Aug 2008 21:19:58 +0000 (23:19 +0200)
Michael
(This used to be commit 3346dd40832e8d61edfe4c56dce6fe85031f20f1)

source3/libgpo/gpext/gpext.c

index 184a2fa185d56f8397579b550586d7f9387cc8ef..2ae9e2cebf9faa5ad707283b40a12910c56f337a 100644 (file)
@@ -479,7 +479,7 @@ static NTSTATUS gp_glob_ext_list(TALLOC_CTX *mem_ctx,
        SMB_STRUCT_DIR *dir = NULL;
        SMB_STRUCT_DIRENT *dirent = NULL;
 
        SMB_STRUCT_DIR *dir = NULL;
        SMB_STRUCT_DIRENT *dirent = NULL;
 
-       dir = sys_opendir(lib_path(SAMBA_SUBSYSTEM_GPEXT));
+       dir = sys_opendir(modules_path(SAMBA_SUBSYSTEM_GPEXT));
        if (!dir) {
                return map_nt_error_from_unix(errno);
        }
        if (!dir) {
                return map_nt_error_from_unix(errno);
        }