From: ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig)
Subject: nfsd bug and fix
Date: Sat, 20 Aug 1994 15:50:13 GMT [thread overview]
Message-ID: <ann-10345.777397799@cs.cornell.edu> (raw)
Hi;
there's a bug in the nfs suite 1.5.10 (for example on
/sunsite.unc.edu:pub/Linux/system/Network/aris/sources/nfsd/nfsd-1.5.10.tar.gz
which prevents a directory from being exported to different domains.
Consider a line in /etc/export:
/export *.foo.do.main(ro) *.bar.another.domain(ro)
This would only allow importing the file system /export from
machines from *.bar.another.domain.
The patch to fix this, one forgotten continue, follows:
--- nfsd-1.5.10-old/auth_clnt.c Fri Nov 5 04:18:43 1993
+++ nfsd-1.5.10/auth_clnt.c Wed Aug 17 22:53:12 1994
@@ -153,6 +153,7 @@
goto found_it;
}
cpp = &(cp->next); /* the normal iteration */
+ continue;
}
else if ((hent = gethostbyname(cp->clnt_name)) != NULL) {
cp->clnt_addr = *((struct in_addr *) hent->h_addr);
--
Thomas Koenig, Thomas.Koenig@ciw.uni-karlsruhe.de, ig25@dkauni2.bitnet.
The joy of engineering is to find a straight line on a double
logarithmic diagram.
--
Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu
Be sure to include Keywords: and a short description of your software.
reply other threads:[~1994-08-20 15:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox