Home | History | Annotate | Download | only in chpass
History log of /src/usr.bin/chpass/pw_yp.c
RevisionDateAuthorComments
 1.23  17-Jun-2015  christos more stray \n
 1.22  11-Apr-2009  lukem Fix WARNS=4 (-Wcast-qual -Wsign-compare -Wshadow) issues.
 1.21  17-Feb-2005  xtraeme branches: 1.21.36;
Kill __P(), use ANSI function declarations.
 1.20  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.19  16-Nov-2002  itojun error handling on strdup failure
 1.18  27-Oct-2000  phil getpwuid() and getpwnam() both support YP maps, insecure and secure.
Remove local ypgetpw{uid,nam} which don't support secure maps.
(Using chpass/chfn with secure maps and these local functions turns off
users by putting * in password entry.)
 1.17  11-Oct-2000  is More format string cleanup by sommerfeld.
 1.16  04-Oct-2000  itojun plug warn() call with variable only, just in case - honor behavior of warn(NULL)
 1.15  16-Aug-1999  simonb branches: 1.15.8;
Spell "privilege" correctly (correct spelling from Jonathan Stone).
 1.14  26-Jul-1998  mycroft branches: 1.14.2;
const poisoning.
 1.13  05-Jul-1998  mrg KNF
 1.12  18-Oct-1997  lukem WARNSify, fix .Nm usage, bzero -> memset
 1.11  25-Jul-1997  mikel include <err.h> and <stdlib.h> for prototypes
give pw_yp() an explicit type
 1.10  21-May-1997  lukem remove use of register.
 1.9  21-May-1997  lukem * free up returned data if yp_master() or yp_match() failed
* simplify two case 'switch'es into 'if' statements
 1.8  11-Feb-1997  mrg remove dangerous sprintf and strcpy calls.
 1.7  26-Nov-1996  thorpej Fix a semantic problem reported by Chuck Cranor:

If a user wishes to change a password on a system running YP, and
the master server is not running rpc.yppasswdd, chpass(1) would fail,
even if the user had a local entry. Fix this by checking for local
entry if master is not running rpc.yppasswd iff we defaulted to using
YP (not invoked with "-y").

XXX Unlike the similar change to passwd(1), this one duplicates some
XXX code (makes an attempt to contact rpc.yppasswdd early). This is
XXX a side-effect of the structure of this program. chpass(1) could
XXX use a re-write.
 1.6  09-Aug-1996  thorpej Slight semantics change: ALWAYS use YP if the system is bound to a
YP server. This is required if the passwd database is to stay in sync
if this program is run on the YP server. Note, local passwd database
operations can still be performed by passing the -l flag.
 1.5  26-Mar-1995  glass merged with 4.4Lite
 1.4  17-Aug-1994  deraadt branches: 1.4.2;
fix same bug as in passwd
 1.3  29-Jun-1994  deraadt knf & small bug fix
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  11-Jun-1993  brezak Add YP support.
 1.4.2.2  17-Aug-1994  deraadt fix same bug as in passwd
 1.4.2.1  17-Aug-1994  deraadt file pw_yp.c was added on branch netbsd-1-0 on 1994-08-17 19:54:24 +0000
 1.14.2.2  20-Oct-2000  he Apply patch (requested by phil):
Change password database information without turning off the user
when using secure YP maps.
 1.14.2.1  19-Oct-2000  he Pull up revision 1.16-1.17 (requested by itojun):
Plug warn() call with variable only.
 1.15.8.3  15-Nov-2000  tv Revert pullup of 1.18 [releng].
This causes other issues that need to be addressed as part of a more complete
change in 1.5.1.
 1.15.8.2  30-Oct-2000  tv Pullup 1.18 [phil]:
getpwuid() and getpwnam() both support YP maps, insecure and secure.
Remove local ypgetpw{uid,nam} which don't support secure maps.
(Using chpass/chfn with secure maps and these local functions turns off
users by putting * in password entry.)
 1.15.8.1  18-Oct-2000  tv Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.21.36.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed