Re: CIFS can't read share

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Interesting - looks like different servers (Windows CE vs. Windows
2008).  An obvious difference between the two is the successful one
uses level 260 (FIND_FILE_BOTH_DIRECTORY_INFO) vs. the failing one
uses the common level 257 (FIND_FILE_DIRECTORY_INFO).   The server
should support this level (so that is likely a bug in the server) -
but we could probably fall back (or actually "up" to a higher info
level) on this particularly error.

Also note that mounting "noserverino" causes us to use a different
info level - if you used the default
(which is normally recommended) - the client would use level
SMB_FIND_FILE_ID_FULL_DIR_INFO
(level 0x106).   Can you try it and see if ls fails when you mount
with the default (serverino) instead of "noserverino" ?

On Tue, Aug 16, 2011 at 11:59 AM,  <Bryan.James.Krone-EXT@xxxxxxx> wrote:
> Sure. Here is a trace of my windows desktop mounting the share
> successfully, and a trace of linux (3.6.39.4) successfully mounting but
> unsuccessfully "ls"ing.
>
>
> Easiest to see if you filter with eth.addr==00-10-8D-01-C1-CA in both...
>
>
>
> From:
> Steve French <smfrench@xxxxxxxxx>
> To:
> Bryan.James.Krone-EXT@xxxxxxx
> Cc:
> linux-cifs@xxxxxxxxxxxxxxx
> Date:
> 08/16/2011 11:35 AM
> Subject:
> Re: CIFS can't read share
>
>
>
> Windows server version? (if you don't know it from the wireshark trace
> of sessionsetup - you can view /proc/fs/cifs/DebugData)
>
> Do you have the wireshark trace we could see?
>
> On Tue, Aug 16, 2011 at 10:34 AM,  <Bryan.James.Krone-EXT@xxxxxxx> wrote:
>> I can mount my Windows share with "mount -t cifs //10.2.8.42/myshare
>> /mnt/myshare -o
>> user=USER,password=cat,domain=WORKGROUP,sec=ntlmssp,noserverino". But
> when
>> I try to access the contents of the directory I get "NT Status:
>> STATUS_INVALID_LEVEL" according to wireshark.
>>
>> Is this a known issue? Is there some configuration I need to add to the
>> kernel?
>>
>> Thanks for your help.
>>
>> Bryan
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
>
>
> --
> Thanks,
>
> Steve
>
>
>



-- 
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux