[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
[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)
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 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)
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 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)
@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 -- 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)
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 to make keyutils as a dependency of mount.cifs ? -- 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)
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: 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)
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: Devname: //machine/c$ flags: 0 [ 3555.871095] fs/cifs/connect.c: iocharset set to utf8 [ 3555.871109] fs/cifs/connect.c: Domain name set [ 3555.87] fs/cifs/connect.c: Username: User [ 3555.871113] fs/cifs/connect.c: file mode: 0775 dir mode: 0775 [ 3555.871115] fs/cifs/connect.c: CIFS VFS: in mount_get_conns as Xid: 24 with uid: 0 [ 3555.871116] fs/cifs/connect.c: UNC: \\machine\c$ [ 3555.871123] fs/cifs/connect.c: Socket created [ 3555.871124] fs/cifs/connect.c: sndbuf 16384 rcvbuf 131072 rcvtimeo 0x6d6 [ 3555.872928] fs/cifs/fscache.c: cifs_fscache_get_client_cookie: (0xdaf5d217/0xb00cbe0a) [ 3555.872932] fs/cifs/connect.c: CIFS VFS: in cifs_get_smb_ses as Xid: 25 with uid: 0 [ 3555.872933] fs/cifs/connect.c: Existing smb sess not found [ 3555.872935] fs/cifs/connect.c: Demultiplex PID: 5488 [ 3555.872937] fs/cifs/smb2pdu.c: Negotiate protocol [ 3555.872970] fs/cifs/transport.c: Sending smb: smb_len=106 [ 3555.873494] fs/cifs/connect.c: RFC1002 header 0xf8 [ 3555.873498] fs/cifs/smb2misc.c: SMB2 data length 120 offset 128 [ 3555.873499] fs/cifs/smb2misc.c: SMB2 len 248 [ 3555.873531] fs/cifs/transport.c: cifs_sync_mid_result: cmd=0 mid=0 state=4 [ 3555.873537] fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release [ 3555.873539] fs/cifs/smb2pdu.c: mode 0x3 [ 3555.873540] fs/cifs/smb2pdu.c: negotiated smb2.0 dialect [ 3555.873543] fs/cifs/asn1.c: OID len = 10 oid = 0x1 0x3 0x6 0x1 [ 3555.873545] fs/cifs/asn1.c: OID len = 7 oid = 0x1 0x2 0x348 0xbb92 [ 3555.873546] fs/cifs/asn1.c: OID len = 7 oid = 0x1 0x2 0x348 0x1bb92 [ 3555.873547] fs/cifs/asn1.c: OID len = 8 oid = 0x1 0x2 0x348 0x1bb92 [ 3555.873548] fs/cifs/asn1.c: OID len = 10 oid = 0x1 0x3 0x6 0x1 [ 3555.873550] fs/cifs/connect.c: Security Mode: 0x3 Capabilities: 0x31 TimeAdjust: 0 [ 3555.873551] fs/cifs/smb2pdu.c: Session Setup [ 3555.873552] fs/cifs/smb2pdu.c: sess setup type 4 [ 3555.873559] fs/cifs/transport.c: Sending smb: smb_len=124 [ 3555.873783] fs/cifs/connect.c: RFC1002 header 0x14e [ 3555.873785] fs/cifs/smb2misc.c: SMB2 data length 262 offset 72 [ 3555.873786] fs/cifs/smb2misc.c: SMB2 len 334 [ 3555.873812] fs/cifs/transport.c: cifs_sync_mid_result: cmd=1 mid=1 state=4 [ 3555.873815] Status code returned 0xc016 STATUS_MORE_PROCESSING_REQUIRED [ 3555.873819] fs/cifs/smb2maperror.c: Mapping SMB2 status code 0xc016 to POSIX err -5 [ 3555.873820] fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release [ 3555.873822] fs/cifs/smb2pdu.c: rawntlmssp session setup challenge phase [ 3555.873859] fs/cifs/transport.c: Sending smb: smb_len=444 [ 3555.874370] fs/cifs/connect.c: RFC1002 header 0x48 [ 3555.874372] fs/cifs/smb2misc.c: SMB2 data length 0 offset 72 [ 3555.874373] fs/cifs/smb2misc.c: SMB2 len 73 [ 3555.874374] fs/cifs/smb2misc.c: Calculated size 73 length 72 mismatch mid 2 [ 3555.874400] fs/cifs/transport.c: cifs_sync_mid_result: cmd=1 mid=2 state=4 [ 3555.874401] fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release [ 3555.874404] fs/cifs/smb2pdu.c: SMB2/3 session established successfully [ 3555.874407] fs/cifs/connect.c: CIFS VFS: leaving cifs_get_smb_ses (xid = 25) rc = 0 [ 3555.874410] fs/cifs/connect.c: CIFS VFS: in cifs_setup_ipc as Xid: 26 with uid: 0 [ 3555.874411] fs/cifs/smb2pdu.c: TCON [ 3555.874423] fs/cifs/transport.c: Sending smb: smb_len=124 [ 3555.874558] fs/cifs/connect.c: RFC1002 header 0x50 [ 3555.874560] fs/cifs/smb2misc.c: SMB2 len 80 [ 3555.874562] fs/cifs/smb2ops.c: add 64 credits total=193 [ 3555.874587] fs/cifs/transport.c: cifs_sync_mid_result: cmd=3 mid=3 state=4 [ 3555.874592] fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release [ 3555.874593] fs/cifs/smb2pdu.c: connection to pipe share [ 3555.874595] fs/cifs/connect.c: CIFS VFS: leaving cifs_setup_ipc (xid = 26) rc = 0 [ 3555.874596] fs/cifs/connect.c: IPC tcon rc = 0 ipc tid = 1 [ 3555.874600] fs/cifs/connect.c: CIFS VFS: in cifs_get_tcon as Xid: 27 with uid: 0 [ 3555.874600] fs/cifs/smb2pdu.c: TCON [ 3555.874607] fs/cifs/transport.c: Sending smb: smb_len=120 [ 3555.874716] fs/cifs/connect.c: RFC1002 header 0x48 [ 3555.874718] fs/cifs/smb2misc.c: SMB2 len 73 [ 3555.874719] fs/cifs/smb2misc.c: Calculated size 73 length 72 mismatch mid 4 [ 3555.874720] fs/cifs/smb2ops.c: add 64 credits total=256 [ 3555.874758] fs/cifs/transport.c: cifs_sync_mid_result: cmd=3 mid=4 state=4 [ 3555.874762] Status code returned 0xc0cc STATUS_BAD_NETWORK_NAME [ 3555.874765] fs/cifs/smb2maperror.c: Mapping SMB2 status code 0xc0cc to POSIX err -2 [ 3555.874765] fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release [ 3555.874766] CIFS VFS: BAD_NETWORK_NAME: \\machine\c$ [ 3555.874768] fs/cifs/connect.c: CIFS VFS
[Bug 1734700] Re: mounting CIFS share failure (cifs_mount failed w/return code = -2)
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 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)
> 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 VFS: cifs_mount failed w/return code = -2 This usually means the share doesn't exist. "c$" in this case. Have you tried with smbclient? Also maybe try the full hostname, and not the netbios name, just in case it's contacting the wrong server. -- 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)
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 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 VFS: cifs_mount failed w/return code = -2 ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:xfce Date: Fri Apr 24 08:52:16 2020 Dependencies: adduser 3.118ubuntu2 apt 2.0.2 apt-utils 2.0.2 ca-certificates 20190110ubuntu1 debconf 1.5.73 debconf-i18n 1.5.73 dpkg 1.19.7ubuntu3 gcc-10-base 10-20200411-0ubuntu1 gpgv 2.2.19-3ubuntu2 krb5-locales 1.17-6ubuntu4 libacl1 2.2.53-6 libapt-pkg6.0 2.0.2 libaudit-common 1:2.8.5-2ubuntu6 libaudit1 1:2.8.5-2ubuntu6 libbsd0 0.10.0-1 libbz2-1.0 1.0.8-2 libc6 2.31-0ubuntu9 libcap-ng0 0.7.9-2.1build1 libcom-err2 1.45.5-2ubuntu1 libcrypt1 1:4.4.10-10ubuntu4 libdb5.3 5.3.28+dfsg1-0.6ubuntu2 libffi7 3.3-4 libgcc-s1 10-20200411-0ubuntu1 libgcrypt20 1.8.5-5ubuntu1 libgmp10 2:6.2.0+dfsg-4 libgnutls30 3.6.13-2ubuntu1 libgpg-error-l10n 1.37-1 libgpg-error0 1.37-1 libhogweed5 3.5.1+really3.5.1-2 libidn2-0 2.2.0-2 libk5crypto3 1.17-6ubuntu4 libkeyutils1 1.6-6ubuntu1 libkrb5-3 1.17-6ubuntu4 libkrb5support0 1.17-6ubuntu4 liblocale-gettext-perl 1.07-4 liblz4-1 1.9.2-2 liblzma5 5.2.4-1 libnettle7 3.5.1+really3.5.1-2 libp11-kit0 0.23.20-1build1 libpam-modules 1.3.1-5ubuntu4 libpam-modules-bin 1.3.1-5ubuntu4 libpam0g 1.3.1-5ubuntu4 libpcre2-8-0 10.34-7 libseccomp2 2.4.3-1ubuntu1 libselinux1 3.0-1build2 libsemanage-common 3.0-1build2 libsemanage1 3.0-1build2 libsepol1 3.0-1 libssl1.1 1.1.1f-1ubuntu2 libstdc++6 10-20200411-0ubuntu1 libsystemd0 245.4-4ubuntu3 libtalloc2 2.3.0-3ubuntu1 libtasn1-6 4.16.0-2 libtevent0 0.10.1-4 libtext-charwidth-perl 0.04-10 libtext-iconv-perl 1.7-7 libtext-wrapi18n-perl 0.06-9 libudev1 245.4-4ubuntu3 libunistring2 0.9.10-2 libwbclient0 2:4.11.6+dfsg-0ubuntu1 libzstd1 1.4.4+dfsg-3 openssl 1.1.1f-1ubuntu2 passwd 1:4.8.1-1ubuntu5 perl-base 5.30.0-9build1 tar 1.30+dfsg-7 ubuntu-keyring 2020.02.11.2 update-motd 3.6-0ubuntu6 zlib1g 1:1.2.11.dfsg-2ubuntu1 DistroRelease: Ubuntu 20.04 InstallationDate: Installed on 2014-12-01 (1970 days ago) InstallationMedia: Xubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140723) Package: cifs-utils 2:6.9-1 PackageArchitecture: amd64 ProcCpuinfoMinimal: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 142 model name : Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz stepping : 9 microcode : 0x cpu MHz: 2903.999 cache size : 4096 KB physical id: 0 siblings : 4 core id: 3 cpu cores : 4 apicid : 3 initial apicid : 3 fpu: yes fpu_exception : yes cpuid level: 21 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti ssbd ibrs ibpb stibp fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves flush_l1d bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit bogomips : 5807.99 clflush size : 64 cache_alignment: 64 address sizes : 39 bits physical, 48 bits virtual power management: ProcEnviron: LC_TIME=en_US.UTF-8 LD_LIBRARY_PATH= LC_MONETARY=en_US.UTF-8 TERM=xterm-256color PATH=(custom, no user) LC_ADDRESS=en_US.UTF-8 XDG_RUNTIME_DIR= LANG=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 SHELL=/bin/bash LC_NAME=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_PAPER=en_US.UTF-8 ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30 SourcePackage: cifs-utils Tags: focal Uname: Linux 5.4.0-26-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) _MarkForUpload: True -- 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)
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 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, 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. 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)
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: 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)
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 those who want to know how to get to the missing package: On 16.04 where mount.cifs is working with krb5 I got messages with cifs.upcall in syslog. The manpage for cifs.upcall showed me a reference to request-key.conf. That file or manpage was not installed in newer systems and is located in keyutils. -- 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