Bug#967972: [Pkg-samba-maint] Bug#967972: cifs-utils: fails to mount filesystem when keyutils is not installed

2021-06-07 Thread L . P . H . van Belle
That is already set 
See closed bug in cifs-utils, bugnr.: #986867  

Greetz, 

Louis


> -Oorspronkelijk bericht-
> Van: Pkg-samba-maint 
> [mailto:pkg-samba-maint-bounces+belle=bazuin.nl@alioth-lists.d
ebian.net] Namens Jonathon Reinhart
> Verzonden: maandag 7 juni 2021 6:33
> Aan: 967...@bugs.debian.org
> Onderwerp: [Pkg-samba-maint] Bug#967972: cifs-utils: fails to 
> mount filesystem when keyutils is not installed
> 
> Some sources incorrectly indicate that keyutils is only needed with
> DFS, but keyutils is also needed when using CIFS w/ Kerberos
> authentication.
> 
> When trying to mount a CIFS share using kerberos (sec=krb5), the
> kernel invokes /sbin/request-key to request a key from userspace. Then
> cifs.upcall (from cifs-utils) is executed to handle the SPNEGO
> authentication.
> 
> If keyutils is not installed, then /sbin/request-key is absent, and
> the kernel is completely silent about this.
> 
> [  +0.497021] CIFS VFS: Send error in SessSetup = -2
> [  +0.000992] CIFS VFS: cifs_mount failed w/return code = -2
> 
> Thus, I strongly agree with the proposal for cifs-utils to *Recommend*
> keyutils, rather than merely *Suggesting* it.
> 
> ___
> Pkg-samba-maint mailing list
> pkg-samba-ma...@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-s
> amba-maint
> 
> 



Bug#967972: cifs-utils: fails to mount filesystem when keyutils is not installed

2021-06-06 Thread Jonathon Reinhart
Some sources incorrectly indicate that keyutils is only needed with
DFS, but keyutils is also needed when using CIFS w/ Kerberos
authentication.

When trying to mount a CIFS share using kerberos (sec=krb5), the
kernel invokes /sbin/request-key to request a key from userspace. Then
cifs.upcall (from cifs-utils) is executed to handle the SPNEGO
authentication.

If keyutils is not installed, then /sbin/request-key is absent, and
the kernel is completely silent about this.

[  +0.497021] CIFS VFS: Send error in SessSetup = -2
[  +0.000992] CIFS VFS: cifs_mount failed w/return code = -2

Thus, I strongly agree with the proposal for cifs-utils to *Recommend*
keyutils, rather than merely *Suggesting* it.



Bug#967972: cifs-utils: fails to mount filesystem when keyutils is not installed

2020-08-06 Thread fabien
Package: cifs-utils
Version: 2:6.9-1
Severity: normal
X-Debbugs-Cc: deb...@tachatte.org

Dear Maintainer,

when mounting a cifs filesystem I got a "No such file or directory" error
message. This was solved by installing keyutils (but this is not
documented anywhere).


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-2-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cifs-utils depends on:
ii  libc6 2.31-3
ii  libcap-ng00.7.9-2.2
ii  libkeyutils1  1.6.1-2
ii  libkrb5-3 1.17-10
ii  libpam0g  1.3.1-5
ii  libtalloc22.3.1-1
ii  libwbclient0  2:4.12.5+dfsg-3

cifs-utils recommends no packages.

Versions of packages cifs-utils suggests:
ii  keyutils   1.6.1-2
pn  smbclient  
pn  winbind

-- no debconf information