[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2021-05-11 Thread Rosivaldo Correa
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

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2021-05-09 Thread Rosivaldo Correa
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:

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2021-05-07 Thread Rosivaldo Correa
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

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2021-02-21 Thread Sebastian Marsching
I can also confirm that installing the keyutils package fixes the problem (on Ubuntu 20.04). -- 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

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2020-11-23 Thread Manraj Singh
I can confirm that cifs-utils has a dependency on keyutils package. I was doing a CIFS mount over NTLM auth and I ran into the following error code on Ubuntu 18.04.5 LTS. CIFS VFS: cifs_mount failed w/return code = -2 I installed keyutils package and bingo! -- You received this bug

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2020-09-23 Thread Andreas Hasenack
@xavee, what kind of authentication are you using when mounting the cifs share? Can you also share the last entries of dmesg when you attempted mount fails, and ubuntu details (release, cifs-utils package version, etc). ** Changed in: cifs-utils (Ubuntu) Status: Invalid => Incomplete --

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2020-09-23 Thread Xavier G.
Problem is still present in ubuntu 20.04.1 fresh install : keyutils is missing and triggers this error when mounting with cifs: CIFS VFS: cifs_mount failed w/return code = -2 This error is not explicit at all. It cannot be guessed that a package / software is missing. Can you please re-open the

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2020-04-24 Thread Andreas Hasenack
Thanks for getting back to us with this info. I'll close the bug. ** Changed in: cifs-utils (Ubuntu) Status: Confirmed => Invalid -- 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:

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2020-04-24 Thread Jhair Tocancipa Triana
Please find the syslog output if cifs debug enabled below. The share was accessible on Monday 20 at least, I was running focal already, but I've been upgrading regularly. Not sure which package update broke it (I've changed the name of the share below manually): [ 3555.871083] fs/cifs/cifsfs.c:

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2020-04-24 Thread Jhair Tocancipa Triana
Hm. Nevermind I checked with smbclient and the share was actually removed from the Windows box... Maybe by one of the Microsoft upgrades. After sharing it the mounting worked properly. Thanks for the smbclient hint and sorry for the noise. -- You received this bug notification because you are a

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2020-04-24 Thread Andreas Hasenack
> 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 > [ 1410.023973] CIFS: Attempting to mount //de1-user-2/c$ > [ 1410.026724] CIFS VFS: BAD_NETWORK_NAME: \\de1-user-2\c$ > [ 1410.027049] CIFS

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2020-04-24 Thread Jhair Tocancipa Triana
Suddenly mounting a cifs partition fails: $ mount.cifs //de1-user-2/c$ -o x-systemd.automount,noauto,iocharset=utf8,uid=user,gid=user,credentials=/root/.cifscredentials,file_mode=0775,dir_mode=0775,noserverino,nobrl,vers=3.0 /home/user/Windows/ mount error(2): No such file or directory Refer to

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2019-07-03 Thread Andreas Hasenack
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822841 is what downgraded keyutils from a Recommends to a Suggests ** Bug watch added: Debian Bug tracker #822841 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822841 -- You received this bug notification because you are a member of

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2019-05-31 Thread gustavo_l_walker
In my case, I resolve using param "vers=1.0" mount.cifs //server_ip/folder_shared /mounting_point -o rw,user=user,pass=mypass,iocharset=utf8,sec=ntlm,vers=1.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2018-06-01 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: cifs-utils (Ubuntu) Status: New => Confirmed -- 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:

[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)

2017-11-27 Thread Alexander Fieroch
After some more tests I found that package keyutils is not installed anymore on my newer systems > 16.04. After installing package keyutils mount.cifs is mounting via kerberos ticket again! So there is a dependency for package keyutils in relevant packages missing and should be added! For