summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mountd
Commit message (Collapse)AuthorAgeFilesLines
* Explain why adding ``options NFSKERB'' breaks the kernel build.sheldonh2000-08-111-0/+3
| | | | | | PR: 10642 Reported by: Stefan Eggers <seggers@semyam.dinoco.de> Submitted by: johan
* Explicitly state that mountd can be made to re-read the exports file,sheldonh2000-07-031-0/+19
| | | | | | even though this may seem obvious to some folks. Requested by: obrien
* Correct an xref.mpp2000-05-051-1/+3
| | | | | PR: doc/13218 Submitted by: phantom
* Remove more single-space hard sentence breaks.sheldonh2000-03-021-1/+2
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-012-9/+18
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Fix various man pages to stop abusing the .Bx macro to generatempp2000-01-231-2/+2
| | | | | the strings "FreeBSD" and "NetBSD". Use the .Fx or .Nx macro instead.
* Added ntfs filesystem to be exported.semenu1999-12-031-0/+4
|
* (1) Remove ISO support, it's dead in the kernel anyway.billf1999-11-121-94/+6
| | | | | | | | | (2) Check for ENOENT when checking for /var/db/mountdtab (3) Remove a signal handler that called broken functions. (4) Remove the broken functions. Submitted by: Martin Blapp <mb@imp.ch> Reviewed by: bde (1), billf ([234])
* Put the umount request through the same translation as the mountalfred1999-10-061-2/+11
| | | | | | | | | request. Fix some uninitialized warnings and a style bug while we are here. Problem still exists where a failed umount can be misreported as success. Submitted by: Martin Blapp <mb@imp.ch>
* $Id$ -> $FreeBSD$peter1999-08-285-5/+5
|
* Add $Id$ to these manpages.nik1999-07-121-0/+1
| | | | Approved by: bde
* Xref mountd in text.kris1999-05-291-2/+3
| | | | Submitted by: Philippe Charnier
* Typo fix in diagnostic: -alldir --> -alldirsalex1999-04-211-2/+2
| | | | | PR: 11049 Submitted by: Gerhard Gonter <gonter@whisky.wu-wien.ac.at>
* Change LKM/modload to KLD/kldload.ghelmer1999-04-081-4/+4
| | | | Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>
* Here is a patch to make mountd work.dfr1998-12-291-21/+21
| | | | | | | | | It just replace u_long with u_int32_t and shouldn't affect on i386. Without this patch, - unaligned accesses occur - permission denied randomly Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
* Spelling.mckay1998-10-151-2/+2
|
* Fixed printf format errors.bde1998-08-021-2/+2
|
* Correct improper use of .Sm. Document -d flag. Correct use of .Nm. Removecharnier1998-07-154-153/+189
| | | | | unused #includes. Add usage(). Use warnx(). Correct spelling. Abort when malloc() fails.
* A long time ago I hacked mountd so that it would deal intelligentlywpaul1998-06-251-3/+5
| | | | | | | | | | with export lines where the same hostname was specified more than once (this happens a lot with netgroups sometimes). Recently I discovered that it needs to be hacked to deal with multiple instances of the same IP address too. I've been using this modification locally for several months with no hassles.
* Oops, the previous commit missed one line of code.joerg1998-06-151-1/+2
|
* Watch out for null hostnames in netgroup entries, to avoid dumping core.joerg1998-06-151-2/+4
| | | | | | This happens if someone tries to export to a netgroup like: mygroup (,,mynisdomain)
* PR: docs/3636thepish1998-06-071-1/+1
| | | | | Submitted by: Gary Palmer gpalmer@FreeBSD.ORG Add mention of the 1024-character line length limit on the netgroup database.
* Converted to Lite2 mount interface - use vfc_typenum from thebde1998-01-201-9/+3
| | | | | already looked up vfsconf struct for nfs instead of MOUNT_NFS. Removed related FreeBSD ifdefs.
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowbde1998-01-201-2/+1
| | | | the default.
* Oops..The default behaviour should be *not* to log all succeededguido1997-12-131-2/+2
| | | | requests. If you want this extra loggin, add the -l option.
* Fix some style bugs.guido1997-12-102-9/+10
| | | | Submitted by: bruce
* Log all failed mount attempts.guido1997-12-092-9/+59
| | | | | Also add a flag (-l) so mountd will also log all succeeded requests to mountd.
* If a host in an export line in /etc/exports (or within a netgroup onjlemon1997-09-121-7/+18
| | | | | | | | an export line) is unresolvable, make a note of it via syslog and skip that individual host instead of skipping the entire line. PR: 1981, 815 Perused by: joerg
* Plug info agthering attack as pointed out on Bugtraq recently.guido1997-08-291-9/+14
| | | | Obtained from: OpenBSD
* Merge WebNFS support from NetBSD.dfr1997-07-162-2/+47
| | | | Obtained from: NetBSD
* Back out msmith's recent commit which breaks using symbolic names for netmasks.pst1997-04-301-6/+5
| | | | | | Instead, reverse the order of the testing, so if a symbolic name starts with a digit, we'll see if we can make a network address out of it first. If that fails, then we'll call getnet...
* Don't call getnetbyname() on a netmask. On a system with a slow netmsmith1997-04-231-2/+2
| | | | | connection, a large set of network exports could take many minutes to time out, giving the appearance of a total hang during boot.
* Add a -2 flag to mountd to allow an admin to disable NFSv3 services.dfr1997-04-222-7/+20
| | | | This is handy for testing and possibly to work around busted v3 clients.
* Oops...now really commit the doc change.guido1997-04-091-1/+3
|
* Make a sysconfig variable controlling if teh kernel should acceptguido1997-04-091-8/+10
| | | | | | | nfs requests from non-privileged ports. Change mountd such that it does never set this variable, but only clears it when run with -n. Also document this in the man page.
* Don't fail when the vfs.nfs.nfs_privport sysctl doesn't existbde1997-04-011-4/+4
| | | | | | | | | | (presumably because the kernel is old). Moved the declaration of a variable realated to this sysctl outside of an unrelated ifdef. Not fixed: - this sysctl is badly named (nfs occurs twice). - it's silly to have for FreeBSD in FreeBSD code, especially when only half of the FreeBSD-dependent code is ifdefed.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Add code that will reject nfs requests in teh kernel from nonprivilegedguido1997-03-271-1/+14
| | | | | | ports. This option will be automatically set/cleraed when mount is run without/with the -n option. Reviewed by: Doug Rabson
* Add cvs Id.mpp1997-03-121-0/+1
|
* Merge from Lite2 (use new getvfsbyname() and mount(2) interface, cleanup)peter1997-03-114-85/+63
|
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Add one line fix to stop my old 'don't barf if you see the samewpaul1996-08-291-2/+3
| | | | | | | hostname/IP twice on same line in /etc/exports' fix from dumping core due to bogus /etc/exports entries. Submitted by: Toshihiro Kanda <candy@fct.kgc.co.jp>
* Use the .Bx macro where appropriate.mpp1996-08-231-2/+3
|
* Correct some man page cross references and file location references.mpp1996-04-071-1/+1
|
* Fix a bunch of spelling errors.mpp1996-01-291-2/+2
|
* Avoid bogus free() of a junk pointer.joerg1995-11-171-2/+2
| | | | | Detected by: phkmalloc Submitted by: grog@lemis.de (Greg Lehey)
* Just when you thought it was safe...wpaul1995-08-071-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - getnetgrent.c: address some NIS compatibility problems. We really need to use the netgroup.byuser and netgroup.byhost maps to speed up innetgr() when using NIS. Also, change the NIS interaction in the following way: If /etc/netgroup does not exist or is empty (or contains only the NIS '+' token), we now use NIS exclusively. This lets us use the 'reverse netgroup' maps and is more or less the behavior of other platforms. If /etc/netgroup exists and contains local netgroup data (but no '+'). we use only lthe local stuff and ignore NIS. If /etc/netgroup exists and contains both local data and the '+', we use the local data nd the netgroup map as a single combined database (which, unfortunately, can be slow when the netgroup database is large). This is what we have been doing up until now. Head off a potential NULL pointer dereference in the old innetgr() matching code. Also fix the way the NIS netgroup map is incorporated into things: adding the '+' is supposed to make it seem as though the netgroup database is 'inserted' wherever the '+' is placed. We didn't quite do it that way before. (The NetBSD people apparently use a real, honest-to-gosh, netgroup.db database that works just like the password database. This is actually a neat idea since netgroups is the sort of thing that can really benefit from having multi-key search capability, particularly since reverse lookups require more than a trivial amount of processing. Should we do something like this too?) - netgroup.5: document all this stuff. - rcmd.c: some sleuthing with some test programs linked with my own version of innetgr() has revealed that SunOS always passes the NIS domain name to innetgr() in the 'domain' argument. We might as well do the same (if YP is defined). - ether_addr.c: also fix the NIS interaction so that placing the '+' token in the /etc/ethers file makes it seem like the NIS ethers data is 'inserted' at that point. (Chances are nobody will notice the effect of this change, which is just te way I like it. :)
* Changes to support version 3 of the NFS protocol.dfr1995-06-273-85/+189
| | | | | | | | | | | | | | | | | | The version 2 support has been tested (client+server) against FreeBSD-2.0, IRIX 5.3 and FreeBSD-current (using a loopback mount). The version 2 support is stable AFAIK. The version 3 support has been tested with a loopback mount and minimally against an IRIX 5.3 server. It needs more testing and may have problems. I have patched amd to support the new variable length filehandles although it will still only use version 2 of the protocol. Before booting a kernel with these changes, nfs clients will need to at least build and install /usr/sbin/mount_nfs. Servers will need to build and install /usr/sbin/mountd. NFS diskless support is untested. Obtained from: Rick Macklem <rick@snowhite.cis.uoguelph.ca>
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-5/+8
|
OpenPOWER on IntegriCloud