Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 130701790bf2d95e902edf16031ff596 > files > 278

autofs-5.0.1-0.rc2.164.el5_8.src.rpm

autofs-5.0.3 - fix fail on included browse map not found

From: Ian Kent <raven@themaw.net>

When looking up nsswitch sources, if nsswitch action check tells us
to continue we need to set the returned result to success so we
don't return a false failure.
---

 daemon/lookup.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/daemon/lookup.c b/daemon/lookup.c
index 29a1491..3c22a35 100644
--- a/daemon/lookup.c
+++ b/daemon/lookup.c
@@ -545,6 +545,8 @@ int lookup_nss_read_map(struct autofs_point *ap, struct map_source *source, time
 				map = NULL;
 				break;
 			}
+
+			result = NSS_STATUS_SUCCESS;
 		}
 		pthread_cleanup_pop(1);