[linux-cifs-client] Re: smbfs vs cifs with permissions

Steven French sfrench at us.ibm.com
Fri May 14 15:25:33 GMT 2004


> I'm a bit skeptical of your diagnosis 
> 1.  The directory that I am listing only has one file in it.
> 2.  When I try to access the file by name, i.e. do something like:
>                cat /mnt/point/directory/file
>     when I know that it is there, I get a "permission denied" response.
>
> May 14 10:36:05 rwhome kernel: Status code returned 0xc0000022 
> NT_STATUS_ACCESS_DENIED
> ( this after doing the 'cat' command above )

Based on your log messages, you are right to be skeptical.

With one file in the directory, it certainly is not a resume key issue. 
Since you are seeing an access denied from the server, it could be one of 
two obvious problems - 
1) the change I made from requesting file open permissions of 
"GENERIC_ALL" vs. (in 2.6.6) I request less permission "GENERIC_READ | 
GENERIC_WRITE"
2) or you may have an id that authenticated as guest or failed to 
authenticate (access denied due to signing might be possible as well). 
        cat /proc/fs/cifs/DebugData 
should show whether you authenticated as guest - one thing you mentioned 
about the "more processing required" warning is odd - I would only expect 
to see that if ExtendedSecurity is enabled, which if you have enabled, I 
would recommend you would try disabled to see if we can isolate this.  If 
you can see any output on ls or cat or df at all then I would expect that 
you have authenticated to the server so that may be less likely

You could also enable "traceSMB" in /proc/fs/cifs and we could see a 
little more of what is happening (although those traces are much harder to 
read than ethereal traces, which are my preference)


Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux-cifs-client mailing list