summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv
AgeCommit message (Collapse)Author
1997-10-09umask 077Theo de Raadt
1997-09-21$OpenBSD$Theo de Raadt
1997-09-12paranoia in vfork landTheo de Raadt
1997-09-11need string.hTheo de Raadt
1997-09-04explain how ypserv is startedTheo de Raadt
1997-08-21A return status of YPPUSH_AGE isn't a failure so keep quiet as SunOS. But ↵Mats O Jansson
show it (and YPPUSH_SUCC) if verbose output is requested. -moj
1997-08-18#include <string.h> not <strings.h> -- Yes, I'm a weanie...Todd C. Miller
1997-08-09Increased performance in ypserv by two different actions:Mats O Jansson
1) ypdb_open_db now check error condition when something goes wrong. Instead of always as before. by request of theo. 2) turned on -DOPTDB in Makefile. This will cause ypserv to keep databases opened. If not defined ypserv will open and close the map for every request. I think it was turned off before when yppush didn't work. If a map changes yppush will signal to ypserv that the map has changed and ypserv will reopen the map. ypserv will start closing maps when it run out of file descriptors. Then it will close the map least resent used. -moj
1997-08-09NetBSD PR/3504 reported by Brian Baird.Mats O Jansson
Do as the man page says. Don't create /var/yp/ypserv.log if it doesn't exist. -moj
1997-08-05When using /var/yp/securenet the local host running ypserv wasn't garanteedMats O Jansson
access to ypserv. This has been fixed by always allowing the host 127.0.0.1 access when using /var/yp/securenet. This to keep compability with SunOS. When using the ypserv.acl(5) format access must be granted to 127.0.0.1 in the file. This to make it possible to disallow access to ypserv from the host running it. This has been documented in man page and example. Thanks to <Ulrich.Flegel@braunschweig.netsurf.de> for bringing this to my attention (again). -moj
1997-08-05pull errno.h inTheo de Raadt
1997-08-04save errno in sigchld handlersTheo de Raadt
1997-07-30Get ypxfr working again by remove some of the code from previous commit. -mojMats O Jansson
1997-07-28NULLTheo de Raadt
1997-07-28When pushing ethers was done it said "pushed hosts"Niklas Hallqvist
1997-07-26Ok, the final part in the support for mail.aliases and mail.byaddr inMats O Jansson
ypserv. For this to have an effect the following must be done. 1) make install in src/usr.sbin/ypserv/ypinit will update /var/yp/Makefile.main.dist and /var/yp/Makefile.yp.dist. 2) merge changes from Makefile.main.dist into Makefile and Makefile.main in /var/yp. Don't forget to keep the SUBDIR line from Makefile. 3) merge changes from Makefile.yp.dist into Makefile.yp in /var/yp and Makefile in any domains directory. If no local maps exists it's normaly just to replace the files. -moj
1997-07-26Fix bug in handling host!host!user. Added missing code for YP informationMats O Jansson
records. -moj
1997-07-26The second of three steps to support main.aliases and mail.byaddr in ypserv.Mats O Jansson
This time it's time for a new utility program mkalias. The last part is arriving any day now... -moj
1997-07-26bugs killed in NetBSD by thorpej.Mats O Jansson
1997-07-26bug killed in NetBSD by thorpej.Mats O Jansson
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-22Added support for reading db files created by sendmail -bi. This is theMats O Jansson
first step to support mail.aliases and mail.byaddr in ypserv. -moj
1997-06-23long != intTheo de Raadt
1997-06-02Fix for amd: make yp_order return YP_NOMAP for maps with '/' in them.dm
1997-05-22getopt returns intTheo de Raadt
1997-05-01Umm, fix signedness error in my last commit, be explicitNiklas Hallqvist
about the fact that ordernumbers are 32 bit
1997-05-01Fix grammarNiklas Hallqvist
1997-05-01mkstemp called incompatibly. Buffer overflow fixed. 64-bit dirt cleaned up.Niklas Hallqvist
1997-04-29To get the manpages installed, you can't override the installNiklas Hallqvist
target. Instead override realinstall.
1997-04-27COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIPTodd C. Miller
This fixes namespace problems where STRIP is sometimes used as the name of the strip(1) to use and other times used as the flag to send install(1) when stripping (or not). COPY doesn't have this problem (yet) but was poorly named.
1997-04-24extra " in -s initializationTheo de Raadt
1997-04-24wrong mode, oopsTheo de Raadt
1997-04-23NONBINMODETheo de Raadt
1997-04-20Added scripts to be used from cron to make sure a slave server is up to date.Mats O Jansson
-moj
1997-04-20Added man page, support for amd.home and ypservers.Mats O Jansson
Integrated some code from ypinit in NetBSD (thorpej@netbsd.org).
1997-04-15Added revnetgroup in ypserv's Makefile and added support for netgroup. -mojMats O Jansson
1997-04-15Add revnetgroup from FreeBSD, written by Bill Paul <wpaul@ctr.columbia.edu>.Mats O Jansson
Hacked a bit to generate output ala Sun (handle different domains). -moj
1997-04-12careful about bad domain/mapnamesTheo de Raadt
1997-04-12bit more careful with mapnames; adam@math.tau.ac.ilTheo de Raadt
1997-04-12botched strncpy, adam@math.tau.ac.ilTheo de Raadt
1997-04-12-1 flag enables v1 YP, otherwise it is disabled; from majaTheo de Raadt
1997-04-12bit more care with domainnames, adam@math.tau.ac.ilTheo de Raadt
1997-04-04when mktemp() is hard to fix, use 10 XTheo de Raadt
1997-03-30Added support for YP V1. Partly from FreeBSD. -mojMats O Jansson
1997-03-15Fix so yppush will err out if it can't find the ypservers map. This wholegene
code wants lots of attention, but at least it won't dump core on a virgin installation now.
1997-03-13Add support for secure maps and master.passwd. -mojMats O Jansson
1997-03-11Now with support for "secure" maps a'la FreeBSD. Support exists in makedbmMats O Jansson
and ypxfrd since dawn of time. Support is missing in YP-makefile and in libc. I have the changes for YP-makefile to support master.passwd but since the support is missing in libc I will not commit them yet. -moj
1997-02-09Add another routine in ypdb (ypdb_open_suf) that doesn't add the suffix toMats O Jansson
the database name. The suffix is added in the call to mkstemp. Now ypdb and mkstemp can coexist and do what we excpect. All code from 1.12 has been reintegrated now.
1997-02-08Use much of the backed out code from 1.12. But remove use of mkstemp. -mojMats O Jansson
1997-02-07back out mktemp fix; for some reason i cannot understand it causes big problemsTheo de Raadt