summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypserv
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-101-2/+2
|
* can not -> cannotsheldonh2001-08-081-1/+1
|
* sprintf -> snprintfkris2001-07-231-4/+4
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-5/+4
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* Fix the type of the NULL arg to execl()brian2001-07-091-2/+2
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-2/+2
|
* Mark some functions as __printflike()kris2001-07-052-1/+4
| | | | MFC After: 1 week
* The aliases file now lives in /etc/mail/.gshapiro2001-05-151-1/+1
| | | | | PR: misc/26648 MFC after: 3 days
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-1/+1
| | | | - MAN[1-9] -> MAN.
* ypserv has intimate knowledge of the server transport handle which iswpaul2001-03-211-17/+4
| | | | | | | | needed to make the asynchronous DNS lookup mechanism work. (It needs to be able to get/set the transaction ID in the trasport handle so it can deliver a delayed UDP response when a reply is received from a DNS server.) With TI-TPC, the transport handle has changed slightly (what used to be an int is now a size_t) so we need to account for this.
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul
* Fix typo: seperate -> separate.asmodai2001-02-062-2/+2
| | | | Seperate does not exist in the english language.
* Convert from CIRCLEQ to TAILQ.phk2000-12-292-46/+44
|
* Prepare for mdoc(7)NG.ru2000-12-271-0/+1
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-3/+1
|
* mdoc(7) police: do not split author names in the AUTHORS section.ru2000-11-221-0/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-202-5/+5
|
* Use Fx macro wherever possible.ru2000-11-141-2/+2
|
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
* Don't call syslog() without a format string.kris2000-07-121-2/+2
|
* Further protection against comments in /etc/{passwd,group}brian2000-06-281-4/+6
| | | | | Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> PR: 14269
* Handle comments and empty lines when generating YP passwd and group filesbrian2000-06-151-4/+8
| | | | | PR: 14269 Submitted by: howard@ee.utah.edu
* Fix typo.asmodai2000-06-041-1/+1
| | | | | PR: 18845 Submitted by: Kevin <kevin@ns1.stcp.net>
* Back out the previous change to the queue(3) interface.jake2000-05-262-4/+4
| | | | | | It was not discussed and should probably not happen. Requested by: msmith and others
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-232-4/+4
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Remove a bogus include.asmodai2000-04-291-1/+0
|
* Remove more single-space hard sentence breaks.sheldonh2000-03-021-5/+10
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-012-34/+68
| | | | | 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-232-16/+20
| | | | the string "FreeBSD". Use the .Fx macro instead.
* $Id$ -> $FreeBSD$peter1999-08-2813-13/+13
|
* Modify yp_mkdb so that it only checks for bogus '+' and '-' characterswpaul1999-08-221-7/+7
| | | | | | | | | | | in source input if the -f flag is used, and modify Makefile.yp to only use -f for the passwd, master.passwd and group maps. These should be the only ones for which the + and - characters have special meaning that make it important for us to avoid letting them into any of the map databases. In some cases (namely the automounter maps) we have to allow at least the - character through in order to create the map properly. This closes PR #8699.
* Various man page cleanup:mpp1999-08-151-2/+2
| | | | | | | | | | - Sort xrefs. - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlined in mdoc(7). - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexey M. Zelkin <phantom@cris.net>
* Fix typo (missing double quote)n_hibma1999-06-241-2/+2
|
* Close PR #10971: flush the database cache after forking in ypproc_all_2_svc()wpaul1999-04-301-0/+8
| | | | so that parent and child don't share DB handles.
* Close PR #10970: exit at the end of ypproc_all_2_svc() instead of returning.wpaul1999-04-301-3/+10
| | | | | | This really fixes the condition where a child creates children of its own. I'm leaving the previous sanity tests in though, since they shouldn't hurt, and will give an indication if this ever happens again.
* Add some extra checks to make sure that a child ypserv process doesn'twpaul1999-04-293-18/+30
| | | | | | | | | try to fork() a child of its own, which could result in several children ypservs running at once. I'm still not sure exactly what leads to this condition, but these fixes should stop it from causing trouble. A new function, yp_fork() checks to see if the current process is already a child of the parent ypserv, and returns failure (and logs an error message) rather than spawning another child.
* Close PR #11122: check key length before calling strncmp()wpaul1999-04-141-3/+4
| | | | in yp_next_record().
* Fix reference to rpc.yppasswdd.ghelmer1999-03-021-2/+2
| | | | PR: docs/10171
* Add a reference to the ypinit(8) command.ghelmer1999-02-231-1/+7
| | | | PR: docs/7679 (in spirit)
* Add some tweaks to hopefully fix a problem I've started to notice recently.wpaul1999-02-102-10/+20
| | | | | | | | | | | Under certain conditions (possibly associated with heavy load), ypserv will fork() child processes that don't exit like they're supposed to. I think this is because of some suspect logic in the ypproc_all procedure. I updated it to use what I hope is a more bulletproof approach. Also tweaked yp_svc_run() a little so that the 'are we a child?' test happens at every pass through the for(;;) loop, not just immediately after returning from svc_getreqset2().
* Sort cross references.wosch1998-08-311-2/+2
|
* DNS lookups for partially qualified hosts didn't work right. I was tryingwpaul1998-08-101-5/+2
| | | | | | | | to be clever by avoiding the 'check all domains in the search list' cycle in certain cases, but this would lose if handed a name like "foo.ctr" which refers to an FQDN of "foo.ctr.columbia.edu". If "columbia.edu" is in the search list in /etc/resolv.conf then the DNS lookup code should resolve it, but it didn't.
* A comment in /usr/src/usr.sbin/ypserv/Makefile.ypphk1998-07-221-4/+3
| | | | | | | | | | (a.k.a. /var/yp/Makefile.dist) refers to an obsoleted usage of the -m option of rpc.yppasswdd. It is currently taken over by the -t option. -m is used for a different purpose now. PR: 7279 Reviewed by: phk Submitted by: Amakawa Shuhei <amakawa@nebula.sf.t.u-tokyo.ac.jp>
* Allow blank lines in /var/yp/securenets.des1998-07-151-2/+3
|
* If we get back too much data to fit in result, return NULL. This avoidsimp1998-06-091-1/+5
| | | | | | | | | | a buffer overflow, but might negatively impact those hosts who have enough aliases to fill MAXHOSTNAMELEN * 2 characters in them. Good candidate for merging back into -stable. Lightly tested by me, but it came from OpenBSD a while ago. Obtained from: OpenBSD
* Protect errno in signal handlers, like in portmap.wpaul1998-06-041-2/+8
|
* Fixed double slashes in pathnames.bde1998-05-311-2/+2
|
OpenPOWER on IntegriCloud