linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 15480] New: Mounting Azure Fles Share using cifs-utils fails
@ 2023-09-20 13:09 samba-bugs
  2023-09-21  1:46 ` [Bug 15480] " samba-bugs
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: samba-bugs @ 2023-09-20 13:09 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=15480

            Bug ID: 15480
           Summary: Mounting Azure Fles Share using cifs-utils fails
           Product: CifsVFS
           Version: 5.x
          Hardware: x64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: user space tools
          Assignee: jlayton@samba.org
          Reporter: sverrir.jonsson@thyssenkrupp-materials.com
        QA Contact: cifs-qa@samba.org
  Target Milestone: ---

we are trying to use CIFS-UTILS (Version 6 included with Ubuntu 22.04 as well
as Version 7 installed from 
https://www.samba.org/ftp/linux-cifs/cifs-utils/cifs-utils-7.0.tar.bz2 ) to
mount a share from Azure Files. 

'''
edgedevice@edgedevice-8CG8360GN5:~/cifs/cifs-utils-7.0$ sudo mount -v -t cifs
"//sa32310601.privatelink.file.core.windows.net/prodfileproxy" /mnt/azure_test
-o
"username=S1003368,domain=tk-materials.com,password=*********************,vers=3.11,sec=ntlmssp,serverino,nosharesock,actimeo=30,mfsymlinks"
mount.cifs kernel mount options:
ip=10.5.142.10,unc=\\sa32310601.privatelink.file.core.windows.net\prodfileproxy,vers=3.11,sec=ntlmssp,serverino,nosharesock,actimeo=30,mfsymlinks,user=S1003368,domain=tk-materials.com,pass=********
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log
messages (dmesg)

DMESG Reports the following:
[83672.820955] CIFS: VFS: cifs_mount failed w/return code = -2
[84042.391251] CIFS: Status code returned 0xc0000016
STATUS_MORE_PROCESSING_REQUIRED
[84042.429097] CIFS: Status code returned 0xc0000034
STATUS_OBJECT_NAME_NOT_FOUND
[84042.429126] CIFS: VFS: \\sa32310601.privatelink.file.core.windows.net Send
error in SessSetup = -2
'''

Mounting the same share from a standalone Windows 10 machine Works. As well as
using the Samba smbclient.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 15480] Mounting Azure Fles Share using cifs-utils fails
  2023-09-20 13:09 [Bug 15480] New: Mounting Azure Fles Share using cifs-utils fails samba-bugs
@ 2023-09-21  1:46 ` samba-bugs
  2023-09-21  7:31 ` samba-bugs
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2023-09-21  1:46 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=15480

--- Comment #1 from Paulo Alcantara <palcantara@samba.org> ---
cifs-utils version should be irrelevant as it seems a kernel bug.

What kernel version is it?

Can you reproduce it with latest stable kernel version (v6.5.4) from
kernel.org?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 15480] Mounting Azure Fles Share using cifs-utils fails
  2023-09-20 13:09 [Bug 15480] New: Mounting Azure Fles Share using cifs-utils fails samba-bugs
  2023-09-21  1:46 ` [Bug 15480] " samba-bugs
@ 2023-09-21  7:31 ` samba-bugs
  2023-09-21  7:32 ` samba-bugs
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2023-09-21  7:31 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=15480

--- Comment #2 from Yonz <sverrir.jonsson@thyssenkrupp-materials.com> ---
Sure. I'll give it a go later.

Ontoher thing we observed, is that when using the Storage Account Access Key,
we are able mount the Azure Share. However, when we use App Registration or a
normal AADS User, it fails.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 15480] Mounting Azure Fles Share using cifs-utils fails
  2023-09-20 13:09 [Bug 15480] New: Mounting Azure Fles Share using cifs-utils fails samba-bugs
  2023-09-21  1:46 ` [Bug 15480] " samba-bugs
  2023-09-21  7:31 ` samba-bugs
@ 2023-09-21  7:32 ` samba-bugs
  2023-09-22  0:13 ` samba-bugs
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2023-09-21  7:32 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=15480

--- Comment #3 from Yonz <sverrir.jonsson@thyssenkrupp-materials.com> ---
Kernel is 
5.15.0-83-generic #92-Ubuntu SMP Mon Aug 14 09:30:42 UTC 2023 x86_64 x86_64
x86_64 GNU/Linux

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 15480] Mounting Azure Fles Share using cifs-utils fails
  2023-09-20 13:09 [Bug 15480] New: Mounting Azure Fles Share using cifs-utils fails samba-bugs
                   ` (2 preceding siblings ...)
  2023-09-21  7:32 ` samba-bugs
@ 2023-09-22  0:13 ` samba-bugs
  2023-09-22  3:37 ` samba-bugs
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2023-09-22  0:13 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=15480

--- Comment #4 from Steve French <sfrench@samba.org> ---
Since this might involve looking at (Azure) server logs, it might be better to
open this as a Microsoft Azure support case to explore what is happening

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 15480] Mounting Azure Fles Share using cifs-utils fails
  2023-09-20 13:09 [Bug 15480] New: Mounting Azure Fles Share using cifs-utils fails samba-bugs
                   ` (3 preceding siblings ...)
  2023-09-22  0:13 ` samba-bugs
@ 2023-09-22  3:37 ` samba-bugs
  2023-09-27 14:13 ` samba-bugs
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2023-09-22  3:37 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=15480

--- Comment #5 from Ralph Böhme <slow@samba.org> ---
(In reply to Steve French from comment #4)
Maybe lets just start with a network trace? Yonz, can you please do a network
capture port 445 and upload it to the bugreport? Thanks!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 15480] Mounting Azure Fles Share using cifs-utils fails
  2023-09-20 13:09 [Bug 15480] New: Mounting Azure Fles Share using cifs-utils fails samba-bugs
                   ` (4 preceding siblings ...)
  2023-09-22  3:37 ` samba-bugs
@ 2023-09-27 14:13 ` samba-bugs
  2023-09-27 14:14 ` samba-bugs
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2023-09-27 14:13 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=15480

--- Comment #6 from Yonz <sverrir.jonsson@thyssenkrupp-materials.com> ---
Created attachment 18127
  --> https://bugzilla.samba.org/attachment.cgi?id=18127&action=edit
TCPDUMP

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 15480] Mounting Azure Fles Share using cifs-utils fails
  2023-09-20 13:09 [Bug 15480] New: Mounting Azure Fles Share using cifs-utils fails samba-bugs
                   ` (5 preceding siblings ...)
  2023-09-27 14:13 ` samba-bugs
@ 2023-09-27 14:14 ` samba-bugs
  2023-09-27 14:54 ` samba-bugs
  2023-09-27 14:55 ` samba-bugs
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2023-09-27 14:14 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=15480

--- Comment #7 from Yonz <sverrir.jonsson@thyssenkrupp-materials.com> ---
Attached is the TCPDUMP

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 15480] Mounting Azure Fles Share using cifs-utils fails
  2023-09-20 13:09 [Bug 15480] New: Mounting Azure Fles Share using cifs-utils fails samba-bugs
                   ` (6 preceding siblings ...)
  2023-09-27 14:14 ` samba-bugs
@ 2023-09-27 14:54 ` samba-bugs
  2023-09-27 14:55 ` samba-bugs
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2023-09-27 14:54 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=15480

--- Comment #8 from Steve French <sfrench@samba.org> ---
The trace you sent shows an access denied on SMB3.1.1 session setup
(NTLMv2/NTLMSSP not Kerberos).   The username looks plausible (based on the
netname context sent, it matches that), but the obvious question is the
password (either the one stored in your credentials file or passed on mount
depending on how you mount this).  You can also verify that the credentials are
ok by using smbclient //server/share -U username%password

If that also fails then access to the network may be disabled from some subnets
so best to contact Azure support since they can look at the storage account and
networking configuration.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 15480] Mounting Azure Fles Share using cifs-utils fails
  2023-09-20 13:09 [Bug 15480] New: Mounting Azure Fles Share using cifs-utils fails samba-bugs
                   ` (7 preceding siblings ...)
  2023-09-27 14:54 ` samba-bugs
@ 2023-09-27 14:55 ` samba-bugs
  8 siblings, 0 replies; 10+ messages in thread
From: samba-bugs @ 2023-09-27 14:55 UTC (permalink / raw)
  To: cifs-qa

https://bugzilla.samba.org/show_bug.cgi?id=15480

--- Comment #9 from Steve French <sfrench@samba.org> ---
And check the network configuration for that storage account

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-09-27 14:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-20 13:09 [Bug 15480] New: Mounting Azure Fles Share using cifs-utils fails samba-bugs
2023-09-21  1:46 ` [Bug 15480] " samba-bugs
2023-09-21  7:31 ` samba-bugs
2023-09-21  7:32 ` samba-bugs
2023-09-22  0:13 ` samba-bugs
2023-09-22  3:37 ` samba-bugs
2023-09-27 14:13 ` samba-bugs
2023-09-27 14:14 ` samba-bugs
2023-09-27 14:54 ` samba-bugs
2023-09-27 14:55 ` samba-bugs

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).