autofs/autofs-5.0.1-disable-exports-check.patch
ikent f4af6bb9b8 - upstream fix for filesystem is local check.
- disable exports access control check (bz 203277).
- fix patch to add command option for set a global mount options (bz
    214684).
2007-04-17 12:50:30 +00:00

14 lines
401 B
Diff

diff --git a/modules/lookup_hosts.c b/modules/lookup_hosts.c
index f6a65ae..a9a4c75 100644
--- a/modules/lookup_hosts.c
+++ b/modules/lookup_hosts.c
@@ -208,7 +208,7 @@ done:
exp = rpc_get_exports(name, 10, 0, RPC_CLOSE_NOLINGER);
/* Check exports for obvious ones we don't have access to */
- exp = rpc_exports_prune(exp);
+ /*exp = rpc_exports_prune(exp);*/
mapent = NULL;
while (exp) {