freebsd-src/usr.sbin/rpc.yppasswdd
Bill Paul 323a8537ab Add extra sanity checking to the in-place update routine. Sometimes you
find two users with the same UID (i.e. root and toor), but yp_mkdb(8)
forbits duplicate keys, so only one of them will end up in the *.byuid
maps (probably toor, since it comes after root in the template file).
If I asked rpc.yppasswdd(8) to change toor's password, it would update
the *.byname maps correctly, but incorrectly modify root's entry in
the *.byuid maps since the only matching record with UID=0 in those
maps belongs to root.

To fix this, we check that both the name and UID are correct before trying
to write new entries to the maps.
1996-10-23 21:46:17 +00:00
..
Makefile Fixed DPADD. 1996-09-05 17:16:10 +00:00
pw_copy.c Since rpc.yppasswdd(8) also supports adding entries to the 1996-10-22 03:53:06 +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
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 Make error messages more informative. 1996-10-23 15:42:37 +00:00
yppasswdd_server.c Add extra sanity checking to the in-place update routine. Sometimes you 1996-10-23 21:46:17 +00:00
yppwupdate Added support for in-place updates: 1996-06-05 06:13:09 +00:00