freebsd-dev/usr.sbin/rpc.yppasswdd
Bill Paul d2c75ac3d8 Fix a couple of bogons. The first two were brought to my attention
by Peter Wemm:

- In yppasswdproc_update_1_svc(), I wasn't paying attention and put
  a couple of lines of code _after_ a return() instead of before.
  (*blush*)

- The removal of certain temp files didn't always work (this showed
  up mostly if you were using /etc/master.passwd as your NIS passwd
  template instead of /var/yp/master.passwd). This is because the
  whole temp file creation mechanism I was using was tragically
  broken (you can't rename across filesystems).

This problem I found myself:

- If you have a very large password database (30,000 or more entries),
  there can be a delay of several seconds while pw_copy() copies the
  ASCII template file and subsitutes in the modified/new entry. During
  this time, the clnt_udp() code in the RPC library may get impatient
  and retry its request. This will get queued at the server and be
  treated as a second request. By then the password change will have
  been completed and the second request will fail (the old password is
  no longer valid). To attempt to fix this, we save the IP address and
  port of each request and ignore any subsequent requests from the
  same IP and same port that arrive within five minutes of each other.
1996-08-04 22:13:05 +00:00
..
Makefile Somehow, I truncated yp_dbwrite.c in the SRCS line to yp_dbwrite. Curiously, 1996-06-06 20:47:53 +00:00
pw_copy.c Import new rpc.yppasswdd. (Note: accompanying changes to passwd(1) and 1996-02-12 15:09:01 +00:00
pw_util.c Implement incremental passwd database updates. This is done by ading a '-u' 1996-07-01 19:38:50 +00:00
rpc.yppasswdd.8 Added support for in-place updates: 1996-06-05 06:13:09 +00:00
yppasswd_comm.c Import new rpc.yppasswdd. (Note: accompanying changes to passwd(1) and 1996-02-12 15:09:01 +00:00
yppasswd_comm.h Import new rpc.yppasswdd. (Note: accompanying changes to passwd(1) and 1996-02-12 15:09:01 +00:00
yppasswd_private.x Import new rpc.yppasswdd. (Note: accompanying changes to passwd(1) and 1996-02-12 15:09:01 +00:00
yppasswdd_extern.h Implement incremental passwd database updates. This is done by ading a '-u' 1996-07-01 19:38:50 +00:00
yppasswdd_main.c Whoops: had a couple of hardcoded instances of '/var/yp/' that shouldn't 1996-06-23 22:44:06 +00:00
yppasswdd_server.c Fix a couple of bogons. The first two were brought to my attention 1996-08-04 22:13:05 +00:00
yppwupdate Added support for in-place updates: 1996-06-05 06:13:09 +00:00