libgpo: gpo_copy_file() shouldn't explicitly call smb1
[nivanova/samba-autobuild/.git] / libgpo / gpo_filesync.c
index 6e3efdaf6c1b5a1c91ae84a73647b105425a70d5..bf0bb5381fc389feb57677bd02046734eac8c36e 100644 (file)
@@ -50,7 +50,7 @@ NTSTATUS gpo_copy_file(TALLOC_CTX *mem_ctx,
        int read_size = io_bufsize;
        off_t nread = 0;
 
-       result = cli_openx(cli, nt_path, O_RDONLY, DENY_NONE, &fnum);
+       result = cli_open(cli, nt_path, O_RDONLY, DENY_NONE, &fnum);
        if (!NT_STATUS_IS_OK(result)) {
                goto out;
        }