From: Igor Mammedov <niallain@gmail.com>
To: Jeremy Allison <jra@samba.org>
Cc: Steve French <smfrench@gmail.com>,
"Q (Igor Mammedov)" <qwerty0987654321@mail.ru>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>,
linux-cifs-client@lists.samba.org
Subject: Re: dfs path construction fixup for / character in \\server\share component of dfs path
Date: Sun, 27 Apr 2008 17:00:20 +0400 [thread overview]
Message-ID: <481478E4.3080100@gmail.com> (raw)
In-Reply-To: <20080425211658.GB21342@samba1>
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
Jeremy Allison wrote:
> On Thu, Apr 24, 2008 at 12:04:06PM +0400, Igor Mammedov wrote:
>
>> I'm doing the second call with a short path to get inode info
>> including server generated inode number. If not for the last
>> then second call could be omitted and inode be filled with fake
>> values and locally generated ino.
>>
>> PS:
>> Windows server does not object against the second call and returns
>> info on the dfs junction point (as directory).
>> More uniform behavior between different implementations would be
>> better for all.
>
> Can you try this patch against the 3.2 code please. It should
> cause smbd to return a directory on the short QFILEINFO call.
Thanks for a patch, I've just tested it. Packets dumps are attached.
Short summary:
1. unix extentions are disabled. Works.
* ls on the directory that has a dfs link "dfs2" shows that it is directory
* second QPATHINFO on "\dfs2" returns that it is directory (pkts 28-29)
2. unix extentions are enabled. Works partially.
* ls on the directory that has a dfs link "dfs2" shows that it is a link
(pkts 26-27). Would be nice if it was listed as directory here.
* second QPATHINFO on "\dfs2" returns that it is directory (pkts 36-37)
Traverse over DFS junction point now works in both both cases.
--
Best regards,
-------------------------
Igor Mammedov,
niallain "at" gmail.com
[-- Attachment #2: smb32.Jeremy_unix_ext_disabled.pcap --]
[-- Type: application/octet-stream, Size: 9561 bytes --]
[-- Attachment #3: smb32.Jeremy_unix_ext_enabled.pcap --]
[-- Type: application/octet-stream, Size: 14286 bytes --]
next prev parent reply other threads:[~2008-04-27 13:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-18 23:03 dfs path construction fixup for / character in \\server\share component of dfs path Steve French
2008-04-23 14:28 ` Igor Mammedov
2008-04-23 19:11 ` Jeremy Allison
2008-04-23 19:19 ` Jeremy Allison
2008-04-24 8:04 ` Igor Mammedov
2008-04-25 19:22 ` Jeremy Allison
2008-04-25 19:50 ` Jeremy Allison
2008-04-25 21:16 ` Jeremy Allison
2008-04-27 13:00 ` Igor Mammedov [this message]
2008-04-28 18:05 ` Jeremy Allison
2008-04-28 18:51 ` Jeremy Allison
2008-05-21 13:57 ` Igor Mammedov
2008-05-24 0:46 ` Jeremy Allison
2008-05-24 1:33 ` Steve French
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=481478E4.3080100@gmail.com \
--to=niallain@gmail.com \
--cc=jra@samba.org \
--cc=linux-cifs-client@lists.samba.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=qwerty0987654321@mail.ru \
--cc=smfrench@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.