[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)
I found the issue in my case. Our network firewall was blocking cifs communication between my server and my storage. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734700 Title: mounting CIFS share failure (cifs_mount failed w/return code = -2) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1734700/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)
More details about the version of the package that I have installed on my system. -- cifs-utils 2:6.9-1ubuntu0.1 keyutils 1.6-6ubuntu1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734700 Title: mounting CIFS share failure (cifs_mount failed w/return code = -2) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1734700/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)
In my case the keyutils package did not resolve the issue. I still getting the erro below: -- CIFS: Attempting to mount //pof-fs08/pgbackups No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount. CIFS VFS: Error connecting to socket. Aborting operation. CIFS VFS: cifs_mount failed w/return code = -2 -- Any idea how can I fix that? OS: Ubuntu 20.04 Commands that I tried to mount the share: 1. mount -t cifs -o username=,password= // 2. mount -t cifs -o vers=1.0,username=,password= // ,password= // ,password= // ,password= // I tried to add the options 'sec=ntlm, domain=' without success. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734700 Title: mounting CIFS share failure (cifs_mount failed w/return code = -2) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1734700/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs