From: "Alexis Fortin-Côté" <alexis.fortin-cote.1@ulaval.ca>
To: "linux-cifs@vger.kernel.org" <linux-cifs@vger.kernel.org>
Subject: mount -t cifs fails while smbclient succeed
Date: Fri, 22 Feb 2019 15:29:24 +0000 [thread overview]
Message-ID: <1550849364135.34775@ulaval.ca> (raw)
In-Reply-To: <637c6227392d4f67b76aa6ebb8b71d0c@UL-EXC-PR-MBX20.ulaval.ca>
Hi,
I have trouble mounting a windows share on my Ubuntu 18.04 workstation.
I've tried every thing I found using google search to no avail.
The following smbclient command works, so I know my Username and Password are working
smbclient -U ulaval.ca\\alfoc //132.203.235.15/Partages/FSS
But the following mount fails with errors :
sudo mount -t cifs -o cred=/home/alexis/smbcred,vers=2.0 //fssdc1.fss.ulaval.ca/Partages/FSS/ /home/alexis/win/
mount error(22): Invalid argument
I've logged the failing and successful trace with wireshark
failed : https://pastebin.com/7UTBNgs2
success : https://pastebin.com/kQ80vVmr
I'm using Kernel 4.20.11-042011-generic
I'm not sure about the server configuration, but it looks like its a windows server that support smb vers=1.0 and vers=2.0
mount.cifs version: 6.8
dmesg with debug information reads when it fails:
[ 2021.652324] Status code returned 0xc0000016 STATUS_MORE_PROCESSING_REQUIRED
[ 2021.667748] CIFS VFS: DFS capability contradicts DFS flag
[ 2021.673168] Status code returned 0xc0000257 STATUS_PATH_NOT_COVERED
[ 2021.675001] CIFS VFS: cifs_mount failed w/return code = -22
Thanks for helping,
Please respond (cc) to this address.
Alex
next parent reply other threads:[~2019-02-22 15:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <637c6227392d4f67b76aa6ebb8b71d0c@UL-EXC-PR-MBX20.ulaval.ca>
2019-02-22 15:29 ` Alexis Fortin-Côté [this message]
2019-02-22 19:13 ` mount -t cifs fails while smbclient succeed Robin P. Blanchard
2019-02-27 14:17 ` Alexis Fortin-Côté
2019-04-02 0:19 ` 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=1550849364135.34775@ulaval.ca \
--to=alexis.fortin-cote.1@ulaval.ca \
--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 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.