Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
* nfsd bug and fix
@ 1994-08-20 15:50 Thomas Koenig
  0 siblings, 0 replies; only message in thread
From: Thomas Koenig @ 1994-08-20 15:50 UTC (permalink / 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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-08-20 15:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-08-20 15:50 nfsd bug and fix Thomas Koenig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox