[krbdev.mit.edu #6286] Allow kerberos configuration files fail with EPERM

Zhanna Tsitkova via RT rt-comment at krbdev.mit.edu
Thu Dec 4 13:45:50 EST 2008


--- Kerberos.AEP-6.5fc1.orig/KerberosFramework/Kerberos5/Sources/util/profile/prof_init.c	2008-11-07 11:26:01.000000000 -0800
+++ Kerberos.AEP-6.5fc1/KerberosFramework/Kerberos5/Sources/util/profile/prof_init.c	2008-11-22 17:23:07.000000000 -0800
@@ -42,7 +42,7 @@
 	    for (fs = files; !PROFILE_LAST_FILESPEC(*fs); fs++) {
 		retval = profile_open_file(*fs, &new_file);
 		/* if this file is missing, skip to the next */
-		if (retval == ENOENT || retval == EACCES) {
+		if (retval == ENOENT || retval == EACCES || retval == EPERM) {
 			continue;
 		}
 		if (retval) {




More information about the krb5-bugs mailing list