From: Halvor Lund <halvor.lund-YlzW+7GAZUhhl2p70BpVqQ@public.gmane.org>
To: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Access denied in sub-folder
Date: Tue, 24 Feb 2015 10:39:37 +0000 (UTC) [thread overview]
Message-ID: <loom.20150224T112226-189@post.gmane.org> (raw)
Hello,
I'm having trouble accessing a folder of a share on a Windows Server 2008
R2. mount.cifs fails with "Permission denied", while smbclient succeeds,
when listing (ls) the folder contents.
In the path //server/share/folder I can access \\server\share using
mount.cifs, but not //server/share/folder.
By turning on debugging in /proc/fs/cifs/cifsFYI, I see the following status
codes in dmesg when trying to list //server/share/folder:
NT_STATUS_PATH_NOT_COVERED
NT_STATUS_MORE_PROCESSING_REQUIRED
NT_STATUS_NO_SUCH_DEVICE
NT_STATUS_ACCESS_DENIED
It seems that //server/share/folder is not a "true" path, but somehow
remapped to //anotherserver/anothershare/folder1/folder2, and that this has
something to do with the problem.
Kernel: 3.16.0-30-generic
mount.cifs version: 6.0
/proc/fs/cifs/DebugData:
2) Name: xxx.xxx.xxx.xxx Domain: <domain> Uses: 1 OS: Windows Server 2008
R2 Enterprise 7601 Service Pack 1
NOS: Windows Server 2008 R2 Enterprise 6.1 Capability: 0x1f3fc
SMB session status: 1 TCP status: 1
Local Users To Server: 1 SecMode: 0xf Req On Wire: 0
Shares:
1) \\server\share Mounts: 1 Type: NTFS DevInfo: 0x20 Attributes: 0xc700ff
PathComponentMax: 255 Status: 0x1 type: DISK
MIDs:
Best regards,
Halvor Lund
next reply other threads:[~2015-02-24 10:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-24 10:39 Halvor Lund [this message]
[not found] ` <loom.20150224T112226-189-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2015-02-24 21:05 ` Access denied in sub-folder Bob Balsover
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20150224T112226-189@post.gmane.org \
--to=halvor.lund-ylzw+7gazuhhl2p70bpvqq@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox