Your message dated Sat, 01 Jul 2006 06:02:11 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#376258: fixed in nfs-utils 1:1.0.8-9
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: nfs-utils
Version: 1:1.0.8-8
Severity: serious
Tags: patch
Please refer to the mail thread at:
http://linux-nfs.org/pipermail/nfsv4/2006-June/004562.html
Best Regards,
AnĂbal Monsalve Salazar
--
http://v7w.com/anibal
---
Temporary patch to do default mapping if we get an error while trying to
map a gss principal to the appropriate uid/gid. This currently returns
hardcoded values. This may be correct, or we may need to try and figure
out the correct values to match the anonuid/anongid for the export.
---
nfs-utils-1.0.8-kwc/utils/gssd/svcgssd_proc.c | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff -puN utils/gssd/svcgssd_proc.c~svcgssd_nobody_name_mapping
utils/gssd/svcgssd_proc.c
--- nfs-utils-1.0.8/utils/gssd/svcgssd_proc.c~svcgssd_nobody_name_mapping
2006-06-16
16:01:20.604181000 -0400
+++ nfs-utils-1.0.8-kwc/utils/gssd/svcgssd_proc.c 2006-06-16
16:01:20.647162000 -0400
@@ -220,8 +220,21 @@ get_ids(gss_name_t client_name, gss_OID
nfs4_init_name_mapping(NULL); /* XXX: should only do this once */
res = nfs4_gss_princ_to_ids(secname, sname, &uid, &gid);
if (res < 0) {
- printerr(0, "WARNING: get_ids: unable to map "
- "name '%s' to a uid\n", sname);
+ /*
+ * -ENOENT means there was no mapping, any other error
+ * value means there was an error trying to do the
+ * mapping.
+ */
+ if (res == -ENOENT) {
+ cred->cr_uid = -2; /* XXX */
+ cred->cr_gid = -2; /* XXX */
+ cred->cr_groups[0] = -2;/* XXX */
+ cred->cr_ngroups = 1;
+ res = 0;
+ goto out_free;
+ }
+ printerr(0, "WARNING: get_ids: failed to map name '%s' "
+ "to uid/gid: %s\n", sname, strerror(-res));
goto out_free;
}
cred->cr_uid = uid;
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: nfs-utils
Source-Version: 1:1.0.8-9
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.0.8-9_i386.deb
to pool/main/n/nfs-utils/nfs-common_1.0.8-9_i386.deb
nfs-kernel-server_1.0.8-9_i386.deb
to pool/main/n/nfs-utils/nfs-kernel-server_1.0.8-9_i386.deb
nfs-utils_1.0.8-9.diff.gz
to pool/main/n/nfs-utils/nfs-utils_1.0.8-9.diff.gz
nfs-utils_1.0.8-9.dsc
to pool/main/n/nfs-utils/nfs-utils_1.0.8-9.dsc
nhfsstone_1.0.8-9_i386.deb
to pool/main/n/nfs-utils/nhfsstone_1.0.8-9_i386.deb
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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <[EMAIL PROTECTED]> (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 [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 01 Jul 2006 22:30:11 +1000
Source: nfs-utils
Binary: nhfsstone nfs-kernel-server nfs-common
Architecture: source i386
Version: 1:1.0.8-9
Distribution: unstable
Urgency: high
Maintainer: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Changed-By: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Description:
nfs-common - NFS support files common to client and server
nfs-kernel-server - Kernel NFS server support
nhfsstone - NFS benchmark program
Closes: 376258
Changes:
nfs-utils (1:1.0.8-9) unstable; urgency=high
.
* svcgssd_proc.c: Temporary patch to do default mapping if we get an
error while trying to map a gss principal to the appropriate uid/gid.
This currently returns hardcoded values. Closes: #376258.
Files:
bd0c5953d541d8d0d96e47d3e62b2c20 824 net standard nfs-utils_1.0.8-9.dsc
9da00fba30a64cd50ae0a0c89df91f7a 111658 net standard nfs-utils_1.0.8-9.diff.gz
656110aa00ec293db2d7c3a2b8013040 109398 net optional
nfs-kernel-server_1.0.8-9_i386.deb
637875cad3149d20a482e576e7ff92f6 107284 net standard
nfs-common_1.0.8-9_i386.deb
0e3cf31474abbac7fbfed88c7905a857 55102 net extra nhfsstone_1.0.8-9_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEpm5yipBneRiAKDwRAodpAJ0VUO2EbLPvFAcrSA7sQJhfunmLIQCfZHeE
s3wvODAm9244h8C0ePsml7M=
=ICra
-----END PGP SIGNATURE-----
--- End Message ---