linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tjernlund <tjernlund@tjernlund.se>
To: linux-cifs@vger.kernel.org
Subject: CIFS version 1/2 negotiate ?
Date: Wed, 25 Aug 2021 13:32:18 +0200	[thread overview]
Message-ID: <bec6e1554ba990330cf812050f4b43feda92aeb9.camel@tjernlund.se> (raw)

We got an old netapp server which exposes CIFS vers=1 and when trying to mount shares
from this netapp we get:
CIFS: VFS: \\netapp2 Dialect not supported by server. Consider  specifying vers=1.0 or vers=2.0 on mount for accessing older servers
CIFS: VFS: cifs_mount failed w/return code = -95

If I specify vers=1 manually on the mount cmd it works.
However, GUI file managers cannot handle this and less Linux savy users don't know how to
use the mount cmd manually.

I wonder if kernel could grow a SMB1 version negotiate so a standard CIFS mount can work?
We are at kernel 5.13 and I can test/use a kernel patch.

 Jocke



             reply	other threads:[~2021-08-25 11:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-25 11:32 Tjernlund [this message]
2021-08-26 18:34 ` CIFS version 1/2 negotiate ? ronnie sahlberg
2021-08-26 19:18   ` 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=bec6e1554ba990330cf812050f4b43feda92aeb9.camel@tjernlund.se \
    --to=tjernlund@tjernlund.se \
    --cc=linux-cifs@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).