summaryrefslogtreecommitdiff
path: root/source3/libgpo/gpo_ini.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libgpo/gpo_ini.c')
-rw-r--r--source3/libgpo/gpo_ini.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libgpo/gpo_ini.c b/source3/libgpo/gpo_ini.c
index 306d6f9bec..4e0bdf645a 100644
--- a/source3/libgpo/gpo_ini.c
+++ b/source3/libgpo/gpo_ini.c
@@ -145,8 +145,12 @@ static NTSTATUS convert_file_from_ucs2(TALLOC_CTX *mem_ctx,
talloc_set_destructor(ctx, gp_inifile_free_context);
+#ifdef HAVE_LDAP
status = gp_find_file(mem_ctx, flags, unix_path, suffix,
&ini_filename);
+#else
+ status = NT_STATUS_NOT_IMPLEMENTED;
+#endif
if (!NT_STATUS_IS_OK(status)) {
goto failed;