Displaying 2 results from an estimated 2 matches for "cli_ntcreate".
Did you mean:
cli_nt_create
2016 Oct 21
3
CTDB and locking issues in 4.4.6 (Classic domain)
> I've now managed to replicate the error on my test setup. I added a
> third host and all hell broke loose - no locking at all when opening
> Excel files apart from same-host. It seemed fine with two.
>
> I then downgraded to 4.4.5 and the problem persisted. So it cannot be
> a regression from that patch.
>
> Regards,
>
> Alex
>
Here you go:
Locked files:
2016 Oct 22
5
CTDB and locking issues in 4.4.6 (Classic domain)
...rs
Alex
On 21/10/16 18:06, Ralph Böhme wrote:
> diff --git a/source3/client/client.c b/source3/client/client.c
> index 831b9bc..28e98af 100644
> --- a/source3/client/client.c
> +++ b/source3/client/client.c
> @@ -2498,12 +2498,12 @@ static int cmd_open(void)
>
> status = cli_ntcreate(targetcli, targetname, 0,
> FILE_READ_DATA|FILE_WRITE_DATA, 0,
> - FILE_SHARE_READ|FILE_SHARE_WRITE, FILE_OPEN,
> + 0, FILE_OPEN,
> 0x0, 0x0, &fnum, NULL);
> if (!NT_STATUS_IS_OK(status)) {
> status = cli_ntcreate(targetcli, targetname, 0,
> FILE_READ_...