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=<user>,password=<pwd> //<remove-server/<share-name> <local-directory> 2. mount -t cifs -o vers=1.0,username=<user>,password=<pwd> //<remove-server/<share-name> <local- 2. mount -t cifs -o vers=2.0,username=<user>,password=<pwd> //<remove-server/<share-name> <local- 2. mount -t cifs -o vers=2.1,username=<user>,password=<pwd> //<remove-server/<share-name> <local- 2. mount -t cifs -o vers=3.0,username=<user>,password=<pwd> //<remove-server/<share-name> <local-directory> 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