freebsd_amp_hwpstate/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
pw_copy.c
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
yppasswd_comm.c
yppasswd_comm.h
yppasswd_private.x
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
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