All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Aurélien Aptel" <aaptel-IBi9RG/b67k@public.gmane.org>
To: Christian Garling
	<christian.garling-JDaHaePr6SMW6PBduJaimg@public.gmane.org>
Cc: Robin Blanchard
	<robin.blanchard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	"linux-cifs\@vger.kernel.org"
	<linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: cifs.ko + smb 3.0 + DFS fails (though direct mount succeeds)
Date: Mon, 19 Jun 2017 12:59:49 +0200	[thread overview]
Message-ID: <mpsa854xmxm.fsf@aaptelpc.suse.de> (raw)
In-Reply-To: <CDE2E2CE-EE67-44AE-A0C8-D3AFF6EAAA01-JDaHaePr6SMW6PBduJaimg@public.gmane.org>

Christian Garling <christian.garling-JDaHaePr6SMW6PBduJaimg@public.gmane.org> writes:
> Wireshark sniffing on the Ubuntu system shows the request for the referral, also the response with the correct hostname of the fileserver holding the share. After that nothing happens and cifs-utils throws "Invalid argument". I dont know what argument should be wrong. I also tried cifs-utils 6.7 from the git repo with no luck.

I've just tested again kernel master against WS2016 with a link to a
WS2012 server and I can:

* mount to namespace and cd in the link
* mount the link
* mount a subdir under the link

and everything works properly with vers=2.0 vers=2.1 vers=3.0. With
vers=3.11 windows doesn't let me do the initial tree connect for some
reason.

mount -t cifs -vvv '//ws2016.suse.de/dfs3/link/sub' /mnt -o \
  'vers=3.0,domain=xyz,username=administrator,password=xyz'

Have you made sure your system can resolve both the main server hostname
and the target server (the hostname in the DFS query response)? Are you
using vers=xyz option when mounting?

-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

  parent reply	other threads:[~2017-06-19 10:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-20 20:09 cifs.ko + smb 3.0 + DFS fails (though direct mount succeeds) Robin Blanchard
     [not found] ` <CAJUwKM3-U2yRHB5O-R19wmzj1-yrO3sU_b8+xVCFaFwsZRWtTA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-04-20 20:14   ` Steve French
     [not found]     ` <CAH2r5mvn_Z5B=kYza1gAr3SkPX+kwKmXBEXcTBL327zcW8FP-g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-14 18:18       ` Robin Blanchard
     [not found]         ` <CAJUwKM25Kd-BHgPNXHkTtvYvK1Ad5uaLkooG6i4H+kawDL1ACg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-16  9:06           ` Aurélien Aptel
     [not found]             ` <mpsmv98ti7d.fsf-zpEvHKhluMwYitT5tn2FcQ@public.gmane.org>
2017-06-16 15:42               ` Christian Garling
     [not found]                 ` <CDE2E2CE-EE67-44AE-A0C8-D3AFF6EAAA01-JDaHaePr6SMW6PBduJaimg@public.gmane.org>
2017-06-19 10:59                   ` Aurélien Aptel [this message]
     [not found]                     ` <58abb375-f7fb-58ec-4786-9ebd202fffa3@cg-networks.de>
     [not found]                       ` <58abb375-f7fb-58ec-4786-9ebd202fffa3-JDaHaePr6SMW6PBduJaimg@public.gmane.org>
2017-06-20 12:02                         ` Aurélien Aptel
2017-06-20 14:14               ` Robin Blanchard

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=mpsa854xmxm.fsf@aaptelpc.suse.de \
    --to=aaptel-ibi9rg/b67k@public.gmane.org \
    --cc=christian.garling-JDaHaePr6SMW6PBduJaimg@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=robin.blanchard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@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 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.