freebsd-dev/usr.sbin/ypserv
Bill Paul 009790d136 More changes brought about by testing of yppush (which is almost finished):
In yp_server.c:

- Modify ypproc_xfr_2_svc() so that it sends both a return status and
  a yppush callback (if necessary: normally ypxfr is supposed to send the
  callback once it's done transfering a map, but if we can't get ypxfr
  off the ground for some reason, we have to send it here instead) and
  do it in the right order: have to send the reply to the ypproc_xfr
  request first, then send callback. This requires us to cheat a bit:
  you're supposed to just return() and let the RPC dispatcher send
  the reply for you, but we wouldn't be able to send the callback message
  if we did that, so we have to call svc_sendreply() ourselves, then
  send the callback, and then return NULL so that the RPC dispatcher
  won't call svc_sendreply() itself.

- Also modify ypproc_xfr_2_svc() so that it doesn't invoke ypxfr with
  the -f flag: this overrides the order number checks, which prevents
  us from ever refusing maps that aren't newer than then ones we already
  have.

In yp_access.c:

- Fix a typo in the TCP_WRAPPER support code (which is #ifdef'ed out
  by default): a close paren somehow vanished into the ether.
1996-01-10 16:07:39 +00:00
..
Makefile A few small tweaks related to ypxfr: 1995-12-23 21:35:35 +00:00
Makefile.yp Import the new, non-GPL ypserv, written by yours truly. Functionally 1995-12-16 20:54:17 +00:00
mknetid Import the new, non-GPL ypserv, written by yours truly. Functionally 1995-12-16 20:54:17 +00:00
yp_access.c More changes brought about by testing of yppush (which is almost finished): 1996-01-10 16:07:39 +00:00
yp_dblookup.c A few small tweaks related to ypxfr: 1995-12-23 21:35:35 +00:00
yp_dnslookup.c Import the new, non-GPL ypserv, written by yours truly. Functionally 1995-12-16 20:54:17 +00:00
yp_error.c Import the new, non-GPL ypserv, written by yours truly. Functionally 1995-12-16 20:54:17 +00:00
yp_extern.h A few small tweaks related to ypxfr: 1995-12-23 21:35:35 +00:00
yp_main.c A few small tweaks related to ypxfr: 1995-12-23 21:35:35 +00:00
yp_server.c More changes brought about by testing of yppush (which is almost finished): 1996-01-10 16:07:39 +00:00
ypserv.8 Import the new, non-GPL ypserv, written by yours truly. Functionally 1995-12-16 20:54:17 +00:00