[Pkg-samba-maint] Bug#681873: cifs-utils: mount.cifs does not check errno correctly

Matthew Vernon matthewv+sacbugs at coriolis.greenend.org.uk
Tue Jul 17 11:57:05 UTC 2012


Package: cifs-utils
Version: 2:5.5-1
Severity: normal

Hi,

I have the following fstab entry:

//san/Homes/MVernon  /mnt/H    cifs credentials=/root/saccreds,user,noauto 0 0

mounting this as a user fails; that's not the problem here,
though. The problem is the error message:

error -1 (Unknown error 18446744073709551615) opening credential file /root/saccreds

open_cred_file fails to use errno when access() fails. The attached
trivial patch fixes this.

Regards,

Matthew

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cifs-utils depends on:
ii  libc6         2.13-33
ii  libkeyutils1  1.5.5-3
ii  libkrb5-3     1.10.1+dfsg-1
ii  libtalloc2    2.0.7+git20120207-1
ii  libwbclient0  2:3.6.6-2
ii  samba-common  2:3.6.6-2

Versions of packages cifs-utils recommends:
ii  keyutils  1.5.5-3
ii  winbind   2:3.6.6-2

Versions of packages cifs-utils suggests:
ii  smbclient  2:3.6.6-2

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cifs.diff
Type: text/x-diff
Size: 243 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20120717/b6c7caeb/attachment.diff>


More information about the Pkg-samba-maint mailing list