summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.yppasswdd
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak Alpha build.des2002-05-151-1/+2
|
* unbreak build: fix multi-line string literalalfred2002-05-111-1/+1
|
* unbreak build: ditch multi-line string literalsalfred2002-05-111-1/+1
|
* Use libutil instead of pw_{copy,util}.c. Clean up a little. Warnsify.des2002-05-086-517/+169
| | | | Sponsored by: DARPA, NAI Labs
* ANSIfy and remove some dead code.des2002-02-064-42/+34
| | | | Sponsored by: DARPA, NAI Labs
* Apply the following mechanical transformations in preparation fordes2002-02-064-17/+17
| | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week
* Do a bit more of prototype cleanup.ru2002-02-063-6/+1
|
* Fix the breakage in rpc.yppasswd. Readded the svc_create() andalfred2002-02-052-78/+51
| | | | | | | | | | | the registering of the "unix" transport, now it is fixed. Everywhere, rq_cred is taken to look what authentification we have. We can not be sure that transp>xp_verf.oa_flavor is also filled in. This seems to be the same for all sun source. they take the flavor of rq_cred, instead of transp. Submitted by: mbr
* tab in pw_mkdb's arg for style.alfred2002-02-051-1/+1
|
* Constify things to unbreak world.alfred2002-02-052-3/+3
| | | | Submitted by: David Wolfskill <david@catwhisker.org>
* yp(4) -> yp(8).ru2002-01-141-1/+1
| | | | PR: docs/30797
* Spelling police: sucessful -> successful.dd2001-11-241-1/+1
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-10/+9
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* Fix the type of the NULL arg to execl()brian2001-07-092-6/+7
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Correct a typo in an error message.dd2001-06-161-1/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+2
| | | | - MAN[1-9] -> MAN.
* Remove struct cmessage from sys/socket.h and reintroduce the privatealfred2001-03-221-0/+5
| | | | | | definitions. Requested by: wollman
* Unbreak world by removing struct cmessage already define in sys/socket.hache2001-03-221-5/+0
|
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-2/+0
|
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-191-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul
* Fix typo: seperate -> separate.asmodai2001-02-061-2/+2
| | | | Seperate does not exist in the english language.
* Prepare for mdoc(7)NG.ru2001-01-161-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+3
|
* Use Fx macro wherever possible.ru2000-11-141-2/+2
|
* Detect and handle comment lines in master.passwd files.davidn2000-07-121-0/+10
| | | | PR: bin/19664
* Remove unused include.asmodai2000-04-291-1/+0
|
* remove extern int errno; include errno.himp2000-04-141-1/+0
|
* Remove more single-space hard sentence breaks.sheldonh2000-03-021-5/+10
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-24/+48
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Revert the libcrypt/libmd stuff back to how it was. This should not havepeter1999-12-181-2/+2
| | | | | | | | happened as it was working around problems elsewhere (ie: binutils/ld not doing the right thing according to the ELF design). libcrypt has been adjusted to not need the runtime -lmd. It's still not quite right (ld is supposed to work damnit) but at least it doesn't impact all the users of libcrypt in Marcel's cross-build model.
* Add libmd (or move it after libcrypt). We don't want the linker to bemarcel1999-12-161-2/+2
| | | | | smart because it will definitely get it wrong. This popped up during cross-linking.
* $Id$ -> $FreeBSD$peter1999-08-289-9/+9
|
* Host names are case-insensitive.brian1999-03-161-2/+2
|
* Protect errno in signal handlers, like in portmap.wpaul1998-06-041-1/+6
|
* Removed bogus dependencies of generated .c files on generated headers.bde1998-05-101-5/+5
|
* Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogusbde1998-04-261-7/+6
| | | | | dependencies of generated .c files on generated headers (these made `make -JN' work provided `depend' was made first). Sorted sources lists.
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-2/+2
|
* Remove multiply defined Id string. Hide sccsid string.charnier1997-10-136-46/+54
|
* Modify rpc.yppasswdd to use the new AF_LOCAL transport in the RPC librarywpaul1997-07-297-449/+104
| | | | | instead of its own kludged up version. This makes the special 'superuser-only' update procedure work just like a real RPC service.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-3/+3
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-229-13/+13
|
* Sort cross references.wosch1997-01-201-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-149-13/+13
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* oops, forgot to commit this. the sockaddr_un init code was missingpeter1996-11-151-4/+6
| | | | | | initialisers for sun_len and not accounting for it in the sizeof calculation. Ie: it was potentially sending an unterminated string into the kernel.
* Fix harmless bugs found while hunting for chpass nis failurepeter1996-11-152-6/+6
|
* Uninitialised length variable passed to accept(), causing random accept()peter1996-11-151-2/+3
| | | | | | failures due to EFAULT. This is screaming out to go into 2.2
* add PATH variable, use itwosch1996-11-041-5/+6
|
* Add extra sanity checking to the in-place update routine. Sometimes youwpaul1996-10-231-2/+33
| | | | | | | | | | | | | 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.
* Make error messages more informative.wpaul1996-10-231-4/+9
|
OpenPOWER on IntegriCloud