libgpo: allow empty values in gp inifile parsing code.
[samba.git] / libgpo / gpo_ini.c
index 95673bce13a7e257e9ded80603625b42510511cc..198e8afc1ec271ddc24c26b3540e0a8c3905d5e2 100644 (file)
@@ -377,10 +377,11 @@ NTSTATUS gp_inifile_init_context_direct(TALLOC_CTX *mem_ctx,
                goto failed;
        }
 
-       rv = pm_process(tmp_filename != NULL ? tmp_filename : unix_path,
-                       change_section,
-                       store_keyval_pair,
-                       gp_ctx);
+       rv = pm_process_with_flags(tmp_filename != NULL ? tmp_filename : unix_path,
+                                  true,
+                                  change_section,
+                                  store_keyval_pair,
+                                  gp_ctx);
        if (rv != 0) {
                return NT_STATUS_NO_SUCH_FILE;
        }