[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#640105: marked as done (rpc.idmapd fails to decode groups with spaces)



Your message dated Sun, 02 Oct 2011 16:48:57 +0000
with message-id <E1RAPDl-0003vY-Rj@franck.debian.org>
and subject line Bug#640105: fixed in nfs-utils 1:1.2.5-1
has caused the Debian Bug report #640105,
regarding rpc.idmapd fails to decode groups with spaces
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
640105: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640105
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: nfs-common
Version: 1:1.2.4-1
Tags: patch

I'm using Samba and NFSv4 with the same ldap and therefore I have groups with spaces (Domain Administrators, ...).

When I chgrp a file on the NFSv4 share to a group containing a space, the client process is stuck (chgrp D) and there are rpc.idmapd errors on the server side:

Aug 26 20:27:48 <host> rpc.idmapd[16848]: nfsdcb: bad name in upcall

I backported 1:1.2.4-1 to squeeze, but the bug persisted.

The attached patch fixes the idmapd to correctly decode octal encoded values (like space).

Upstream bug: https://bugzilla.linux-nfs.org/show_bug.cgi?id=202

Jan-Marek
idmapd: correctly convert octal encoded field values

We want to check for (unsigned char) -1.

--- nfs-utils-1.2.4.orig/utils/idmapd/idmapd.c
+++ nfs-utils-1.2.4/utils/idmapd/idmapd.c
@@ -925,9 +925,9 @@ getfield(char **bpp, char *fld, size_t f
 		if (*bp == '\\') {
 			if ((n = sscanf(bp, "\\%03o", &val)) != 1)
 				return (-1);
-			if (val > (char)-1)
+			if (val > UCHAR_MAX)
 				return (-1);
-			*fld++ = (char)val;
+			*fld++ = val;
 			bp += 4;
 		} else {
 			*fld++ = *bp;

--- End Message ---
--- Begin Message ---
Source: nfs-utils
Source-Version: 1:1.2.5-1

We believe that the bug you reported is fixed in the latest version of
nfs-utils, which is due to be installed in the Debian FTP archive:

nfs-common_1.2.5-1_i386.deb
  to main/n/nfs-utils/nfs-common_1.2.5-1_i386.deb
nfs-kernel-server_1.2.5-1_i386.deb
  to main/n/nfs-utils/nfs-kernel-server_1.2.5-1_i386.deb
nfs-utils_1.2.5-1.debian.tar.bz2
  to main/n/nfs-utils/nfs-utils_1.2.5-1.debian.tar.bz2
nfs-utils_1.2.5-1.dsc
  to main/n/nfs-utils/nfs-utils_1.2.5-1.dsc
nfs-utils_1.2.5.orig.tar.bz2
  to main/n/nfs-utils/nfs-utils_1.2.5.orig.tar.bz2



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 640105@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luk Claes <luk@debian.org> (supplier of updated nfs-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 02 Oct 2011 18:29:53 +0200
Source: nfs-utils
Binary: nfs-kernel-server nfs-common
Architecture: source i386
Version: 1:1.2.5-1
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Luk Claes <luk@debian.org>
Description: 
 nfs-common - NFS support files common to client and server
 nfs-kernel-server - support for NFS kernel server
Closes: 457095 632457 636278 637660 638607 639691 640105 642797
Changes: 
 nfs-utils (1:1.2.5-1) unstable; urgency=low
 .
   * New upstream version
     - deleted: 13-preserve-explicit-port-2049.patch
     - deleted: 17-Fix-statd.8-manpage-syntax-visible.patch
     - deleted: 18-Fix-nfsiostat.8-manpage-syntax-missing-.I.patch
     - deleted: 19-exports.man-Fix-comment-syntax.patch
     - deleted: 20-nfs.man-Fix-fstab-example.patch
     - deleted: 22-start-statd-Use-bash.patch
     - deleted: 23-nfs.man-escape-nroff-for-proper-rendering.patch
       (Closes: #636278).
     - support less components in version number (Closes: #632457).
     - idmapd: correctly convert ocal encoded fields (Closes: #640105).
     - svcgssd: use correct defaults in call to gss_set_allowable_enctypes
       (Closes: #637660).
     - rpc.statd: Bind downcall socket to loopback address (Closes: #457095).
   * Add version to build-dep on libnfsidmap-dev (Closes: #639691).
   * debian/idmapd.conf: Comment Domain (Closes: #638607).
   * debian/patches/17-multiarch-kerberos-paths.patch (Closes: #642797).
   * Add build dependency on libdevmapper-dev for blkmapd.
   * Use dh_autoreconf to make sure original files are restored.
   * Install blkmapd and its manpage.
Checksums-Sha1: 
 3adc4d7d2577df8e3025eb9c6d6bd1b619e237ab 1581 nfs-utils_1.2.5-1.dsc
 fc522fad2e0fb4a4541ba829417d8c757cb384ce 698148 nfs-utils_1.2.5.orig.tar.bz2
 0088347917716a1187c0ddc4707ceaa483f08651 34981 nfs-utils_1.2.5-1.debian.tar.bz2
 57f2ad48b216f6837b6c2948251415486c21fd4d 165082 nfs-kernel-server_1.2.5-1_i386.deb
 e6a36a3c290288c30d5cb88d36ba3ab9bd8d06c6 276758 nfs-common_1.2.5-1_i386.deb
Checksums-Sha256: 
 cc217e102de368a64a8e03ad310b26f48af1178246f3a51bcd6ac5c588350481 1581 nfs-utils_1.2.5-1.dsc
 3595ed4f6ee5c13514540861ad5e89907aa4fd6897bfa99577515233e4745a9b 698148 nfs-utils_1.2.5.orig.tar.bz2
 c2790ba21b80eb1e9eea5818f7ba0547ad49ed8b7f3b0dbdb2373027780f40c6 34981 nfs-utils_1.2.5-1.debian.tar.bz2
 6452ac51abc2cc8d570d9ac7ef972ada321b7aa8d0e1f1bae5f4f732b9681973 165082 nfs-kernel-server_1.2.5-1_i386.deb
 ebfb5ba09033b2b25e2340be33bc35ee34cc13e964ca0fec391d01680b56ae8d 276758 nfs-common_1.2.5-1_i386.deb
Files: 
 10da34252b652d366f4dfb09374a5f5f 1581 net standard nfs-utils_1.2.5-1.dsc
 8395ac770720b83c5c469f88306d7765 698148 net standard nfs-utils_1.2.5.orig.tar.bz2
 7789f667927cce467146bc7771fa4ded 34981 net standard nfs-utils_1.2.5-1.debian.tar.bz2
 09d75a5b548c6e11d19b065da372fed6 165082 net optional nfs-kernel-server_1.2.5-1_i386.deb
 cf24e278f0ded32523acb09595f8f513 276758 net standard nfs-common_1.2.5-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk6IlTcACgkQ5UTeB5t8Mo2odQCdFAOF2WRn8H972hdk26CQpGIM
8JUAn0iyyhkEYSDhJva33NSjNQBtdjst
=IHJv
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: