From: Terrence Shipclark <terrence.shipclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: cifs and win2k8
Date: Fri, 21 Oct 2011 07:20:37 -0400 [thread overview]
Message-ID: <4EA15585.4060802@gmail.com> (raw)
In-Reply-To: <4EA154FC.3090601-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On 11-10-21 07:18 AM, Terrence Shipclark wrote:
> Hello,
>
> This is my first time posting to this list, and I hope I am not breaking
> any rules.
>
> I have been attempting to get the cifs kernel modules to mount the
> win2k8 dfs at my workplace. I did finally manage to get
> the dfs to mount after modifying the kernel module with this small patch
>
> @@ -3109,6 +3112,7 @@
> cifs_sb, false);
> if (!refrc) {
> referral_walks_count++;
> + rc=0;
> goto try_mount_again;
> }
> }
>
> Although I dont 100% understand what I did, as I had a hard time
> following the goto statements, I have a feeling that on initial setup it
> would follow the DFS referral, however ultimately fail as it exited
> because rc was still set to -6.
>
> So now For my second problem.
>
> Within the dfs tree there is a referral to //server/share$/folder. My
> user has access to //server/share$/folder, however do not have access to
> //server/$share. While following the referral the cifs module does a
> QUERY_PATH_INFO on \\server\share$\folder, and then is followed up by a
> QUERY_PATH_INFO on \\server\share$\ which rightfully returns a
> STATUS_ACCESS_DENIED from the server.
>
> Traversing the same path with smbclient \\server\share$ is never
> queried.Perhaps I am doing something wrong?
>
> I have been attempting to connect to this dfs from linux for about 2
> years,and this is the closest I have gotten, so any help would be
> appreciated.
>
> terry
next prev parent reply other threads:[~2011-10-21 11:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-21 11:18 cifs and win2k8 Terrence Shipclark
[not found] ` <4EA154FC.3090601-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-10-21 11:20 ` Terrence Shipclark [this message]
2011-10-23 10:30 ` sean finney
[not found] ` <20111023103003.GA6132-Znhnm/lQSyjxW5zecs3cv0EOCMrvLtNR@public.gmane.org>
2011-10-23 10:55 ` Jeff Layton
[not found] ` <20111023065534.566a0aad-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2011-10-23 19:10 ` Pavel Shilovsky
2011-10-24 7:35 ` sean finney
[not found] ` <20111024073534.GB7086-Znhnm/lQSyjxW5zecs3cv0EOCMrvLtNR@public.gmane.org>
2011-11-01 18:13 ` Pavel Shilovsky
[not found] ` <1320171185-11150-1-git-send-email-piastry-7qunaywFIewox3rIn2DAYQ@public.gmane.org>
2011-11-01 19:56 ` Pavel Shilovsky
[not found] ` <CAKywueRjR+UNg98odoe8x2WmnqdiCtEa_UgwnKt-8AEi0XRFdQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-10 13:24 ` Jeff Layton
2011-11-10 13:38 ` Pavel Shilovsky
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=4EA15585.4060802@gmail.com \
--to=terrence.shipclark-re5jqeeqqe8avxtiumwx3w@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