Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 1996 23:13:13 -0700 (PDT)
From:      Bill Paul <wpaul>
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
Message-ID:  <199606050613.XAA10452@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606050613.XAA10452>