From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,dfb989c6bc98c6f9,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-08-20 08:54:08 PST Newsgroups: comp.os.linux.announce Path: bga.com!news.sprintlink.net!hookup!news.kei.com!travelers.mail.cornell.edu!cornell!bounce-bounce From: ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig) Subject: nfsd bug and fix Message-ID: Followup-To: comp.os.linux.misc Keywords: nfs, bug report, patch Sender: mdw@cs.cornell.edu (Matt Welsh) Reply-To: Thomas.Koenig@ciw.uni-karlsruhe.de Organization: University of Karlsruhe, Germany Date: Sat, 20 Aug 1994 15:50:13 GMT 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.