rpms/nfs-utils-lib/devel nfs-utils-lib-1.1.4-realm-nofound.patch, NONE, 1.1 nfs-utils-lib.spec, 1.39, 1.40

Steve Dickson steved at fedoraproject.org
Fri Jun 5 15:31:10 UTC 2009


Author: steved

Update of /cvs/pkgs/rpms/nfs-utils-lib/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18535

Modified Files:
	nfs-utils-lib.spec 
Added Files:
	nfs-utils-lib-1.1.4-realm-nofound.patch 
Log Message:
- Added a debug line to log when the local realm is not found


nfs-utils-lib-1.1.4-realm-nofound.patch:

--- NEW FILE nfs-utils-lib-1.1.4-realm-nofound.patch ---
diff -up nfs-utils-lib-1.1.5/libnfsidmap/nss.c.orig nfs-utils-lib-1.1.5/libnfsidmap/nss.c
--- nfs-utils-lib-1.1.5/libnfsidmap/nss.c.orig	2009-04-13 14:46:17.000000000 -0400
+++ nfs-utils-lib-1.1.5/libnfsidmap/nss.c	2009-06-05 10:37:46.000000000 -0400
@@ -298,9 +298,11 @@ static int nss_gss_princ_to_ids(char *se
 			break;
 		}
 	}
-	if (!found)
+	if (!found) {
+		IDMAP_LOG(1, ("nss_gss_princ_to_ids: Local-Realm '%s': NOT FOUND", 
+			princ_realm));
 		return -ENOENT;
-
+	}
 	/* XXX: this should call something like getgssauthnam instead? */
 	pw = nss_getpwnam(princ, NULL, &err);
 	if (pw == NULL) {


Index: nfs-utils-lib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nfs-utils-lib/devel/nfs-utils-lib.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -p -r1.39 -r1.40
--- nfs-utils-lib.spec	19 May 2009 21:32:33 -0000	1.39
+++ nfs-utils-lib.spec	5 Jun 2009 15:30:40 -0000	1.40
@@ -1,7 +1,7 @@
 Summary: Network File System Support Library
 Name: nfs-utils-lib
 Version: 1.1.4
-Release: 6%{?dist}
+Release: 7%{?dist}
 URL: http://www.citi.umich.edu/projects/nfsv4/linux/
 License: BSD
 
@@ -25,6 +25,7 @@ Patch03: nfs-utils-lib-1.1.4-nss-localre
 
 Patch100: nfs-utils-lib-1.1.3-compile.patch
 Patch101: nfs-utils-lib-changelicensetoBSD.patch
+Patch102: nfs-utils-lib-1.1.4-realm-nofound.patch
 
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
@@ -60,6 +61,7 @@ mv %{librpcsecgss}-%{rpcsecgssvers} %{li
 
 %patch100 -p1
 %patch101 -p1
+%patch102 -p1
 
 %build
 top=`pwd`
@@ -148,6 +150,9 @@ rm -rf %{buildroot}
 %{_libdir}/libnfsidmap*.a
 
 %changelog
+* Fri Jun  5 2009 Steve Dickson <steved at redhat.com> 1.1.4-7
+- Added a debug line to log when the local realm is not found
+
 * Tue May 19 2009 Tom "spot" Callaway <tcallawa at redhat.com> 1.1.4-6
 - Replace the Sun RPC license with the BSD license, with the explicit permission of Sun Microsystems
 




More information about the fedora-extras-commits mailing list