[Samba] Samba client doesn't work SMB2 with MAC 0S 10.9.5
Jeremy Allison
jra at samba.org
Wed Oct 29 22:10:59 MDT 2014
On Fri, Oct 24, 2014 at 03:28:21PM +0000, Tompkins, Michael wrote:
> Need to get confirmation that my fix for 3.6.5, will not cause other issues... See below...
>
> Also my changes to 4.0.7, I needed to add the check "||NT_STATUS_EQUAL(status, NT_STATUS_NO_SUCH_FILE) " in source3/libsmb/smb2cli_fnum.c:
>
> smb2cli_list():
> if (!NT_STATUS_IS_OK(status)) {
> if (NT_STATUS_EQUAL(status, STATUS_NO_MORE_FILES) ||
> NT_STATUS_EQUAL(status, NT_STATUS_NO_SUCH_FILE) ) {
> break;
> }
> goto fail;
> }
>
> And
>
> if (NT_STATUS_EQUAL(status, STATUS_NO_MORE_FILES) ||
> NT_STATUS_EQUAL(status, NT_STATUS_NO_SUCH_FILE) ) {
> status = NT_STATUS_OK;
> }
>
> Because the MAC 10.9.5 server returns back NT_STATUS_NO_SUCH_FILE and window servers reply back STATUS_NO_MORE_FILES.
What path name are you using for the
directory listing here ?
More information about the samba
mailing list