From owner-cvs-usrsbin Tue Jun 4 23:13:22 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA10488 for cvs-usrsbin-outgoing; Tue, 4 Jun 1996 23:13:22 -0700 (PDT) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA10452; Tue, 4 Jun 1996 23:13:13 -0700 (PDT) Date: Tue, 4 Jun 1996 23:13:13 -0700 (PDT) From: Bill Paul Message-Id: <199606050613.XAA10452@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/rpc.yppasswdd Makefile rpc.yppasswdd.8 yppasswdd_extern.h yppasswdd_main.c yppasswdd_server.c yppwupdate Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/06/04 23:13:12 Modified: usr.sbin/rpc.yppasswdd Makefile rpc.yppasswdd.8 yppasswdd_extern.h yppasswdd_main.c yppasswdd_server.c yppwupdate Log: Added support for in-place updates: If rpc.yppasswdd is invoked with the -i flag, password changes will be made to the master.passwd template file and the hash map files in-place, which means it won't have to run a complete map update. Instead, it calls /var/yp/Makefile with the 'pushpw' target, which just pushes the maps to the slaves and runs yp_mkdb -c to tell the local ypserv to flush its database cache. The server will check the passwd.byname and passwd.byuid maps to see if they were built in 'insecure' or 'secure' mode (i.e. with real encrypted passwords in them or without) and update them accordingly. This combined with rpc.ypxfrd greatly reduces the amount of time it takes to complete an NIS password change, especially with very large passwd databases. Revision Changes Path 1.3 +26 -22 src/usr.sbin/rpc.yppasswdd/Makefile 1.4 +12 -1 src/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.8 1.3 +5 -5 src/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h 1.3 +8 -4 src/usr.sbin/rpc.yppasswdd/yppasswdd_main.c 1.4 +141 -7 src/usr.sbin/rpc.yppasswdd/yppasswdd_server.c 1.3 +3 -3 src/usr.sbin/rpc.yppasswdd/yppwupdate