aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.yppasswdd
Commit message (Collapse)AuthorAgeFilesLines
* Use socklen_t in place of socket operations, instead of intXin LI2005-05-021-2/+2
| | | | Notes: svn path=/head/; revision=145803
* Expand contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141851
* Expand *n't contractions.Ruslan Ermilov2005-02-131-3/+3
| | | | Notes: svn path=/head/; revision=141846
* Sort sections.Ruslan Ermilov2005-01-181-2/+2
| | | | Notes: svn path=/head/; revision=140442
* Utilize SCRIPTS.Ruslan Ermilov2004-10-181-5/+2
| | | | Notes: svn path=/head/; revision=136675
* Remove definition of struct dom_binding, it's non-standard C code andStefan Farfeleder2004-10-171-1/+0
| | | | | | | unnecessary since src/include/rpcsvc/ypclnt.h's revision 1.10. Notes: svn path=/head/; revision=136620
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+2
| | | | Notes: svn path=/head/; revision=131500
* Fix yppasswdproc_update_master_1_svc() too.Martin Blapp2003-06-151-0/+32
| | | | | | | | | | | | | Only call pw_mkdb if passfile == _PATH_MASTERPASSWD. Otherwise, rename master.passwd to a temp filename, rename the new passwd to master.passwd, and let yppwupdate update passwd as it sees fit. Reviewed by: phk Tested by: genesys Notes: svn path=/head/; revision=116421
* Only call pw_mkdb if passfile == _PATH_MASTERPASSWD.Martin Blapp2003-06-151-9/+47
| | | | | | | | | | | | | Otherwise, rename master.passwd to a temp filename, rename the new passwd to master.passwd, and let yppwupdate update passwd as it sees fit. PR: 52601, 7968 Reviewed by: des Submitted by: Dan Nelson <dnelson@allantgroup.com> Notes: svn path=/head/; revision=116392
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.David E. O'Brien2003-05-033-12/+6
| | | | Notes: svn path=/head/; revision=114601
* style.Makefile(5)David E. O'Brien2003-04-041-2/+1
| | | | Notes: svn path=/head/; revision=113091
* Implement nonblocking tpc-connections. rpcgen -m does stillMartin Blapp2003-01-161-0/+4
| | | | | | | | | | | produce backcompatible code. Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day Notes: svn path=/head/; revision=109363
* english(4) police.Jens Schweikhardt2002-12-271-1/+1
| | | | Notes: svn path=/head/; revision=108317
* Drop support for COPY, -c has been the default mode of install(1)Ruslan Ermilov2002-07-291-1/+1
| | | | | | | | | for a long time now. Approved by: bde Notes: svn path=/head/; revision=100872
* s/${INSTALL} -c/${INSTALL} ${COPY}/Ruslan Ermilov2002-07-181-1/+1
| | | | Notes: svn path=/head/; revision=100313
* The .Nm utilityPhilippe Charnier2002-07-141-6/+8
| | | | Notes: svn path=/head/; revision=99968
* de-__P()Alfred Perlstein2002-07-111-3/+2
| | | | Notes: svn path=/head/; revision=99824
* Unbreak Alpha build.Dag-Erling Smørgrav2002-05-151-1/+2
| | | | Notes: svn path=/head/; revision=96644
* unbreak build: fix multi-line string literalAlfred Perlstein2002-05-111-1/+1
| | | | Notes: svn path=/head/; revision=96391
* unbreak build: ditch multi-line string literalsAlfred Perlstein2002-05-111-1/+1
| | | | Notes: svn path=/head/; revision=96389
* Use libutil instead of pw_{copy,util}.c. Clean up a little. Warnsify.Dag-Erling Smørgrav2002-05-086-517/+169
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=96222
* ANSIfy and remove some dead code.Dag-Erling Smørgrav2002-02-064-42/+34
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=90298
* Apply the following mechanical transformations in preparation forDag-Erling Smørgrav2002-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 Notes: svn path=/head/; revision=90297
* Do a bit more of prototype cleanup.Ruslan Ermilov2002-02-063-6/+1
| | | | Notes: svn path=/head/; revision=90294
* Fix the breakage in rpc.yppasswd. Readded the svc_create() andAlfred Perlstein2002-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 Notes: svn path=/head/; revision=90253
* tab in pw_mkdb's arg for style.Alfred Perlstein2002-02-051-1/+1
| | | | Notes: svn path=/head/; revision=90247
* Constify things to unbreak world.Alfred Perlstein2002-02-052-3/+3
| | | | | | | Submitted by: David Wolfskill <david@catwhisker.org> Notes: svn path=/head/; revision=90246
* yp(4) -> yp(8).Ruslan Ermilov2002-01-141-1/+1
| | | | | | | PR: docs/30797 Notes: svn path=/head/; revision=89362
* Spelling police: sucessful -> successful.Dima Dorfman2001-11-241-1/+1
| | | | Notes: svn path=/head/; revision=86882
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-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. Notes: svn path=/head/; revision=80029
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* Fix the type of the NULL arg to execl()Brian Somers2001-07-092-6/+7
| | | | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> Notes: svn path=/head/; revision=79452
* Correct a typo in an error message.Dima Dorfman2001-06-161-1/+1
| | | | Notes: svn path=/head/; revision=78369
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+2
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Remove struct cmessage from sys/socket.h and reintroduce the privateAlfred Perlstein2001-03-221-0/+5
| | | | | | | | | definitions. Requested by: wollman Notes: svn path=/head/; revision=74660
* Unbreak world by removing struct cmessage already define in sys/socket.hAndrey A. Chernov2001-03-221-5/+0
| | | | Notes: svn path=/head/; revision=74657
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-2/+0
| | | | Notes: svn path=/head/; revision=74532
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andAlfred Perlstein2001-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 Notes: svn path=/head/; revision=74462
* Fix typo: seperate -> separate.Jeroen Ruigrok van der Werven2001-02-061-2/+2
| | | | | | | Seperate does not exist in the english language. Notes: svn path=/head/; revision=72091
* Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-161-1/+1
| | | | Notes: svn path=/head/; revision=71102
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-3/+3
| | | | Notes: svn path=/head/; revision=68965
* Use Fx macro wherever possible.Ruslan Ermilov2000-11-141-2/+2
| | | | Notes: svn path=/head/; revision=68716
* Detect and handle comment lines in master.passwd files.David Nugent2000-07-121-0/+10
| | | | | | | PR: bin/19664 Notes: svn path=/head/; revision=63014
* Remove unused include.Jeroen Ruigrok van der Werven2000-04-291-1/+0
| | | | Notes: svn path=/head/; revision=59750
* remove extern int errno; include errno.hWarner Losh2000-04-141-1/+0
| | | | Notes: svn path=/head/; revision=59218
* Remove more single-space hard sentence breaks.Sheldon Hearn2000-03-021-5/+10
| | | | Notes: svn path=/head/; revision=57695
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-24/+48
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57673
* Revert the libcrypt/libmd stuff back to how it was. This should not havePeter Wemm1999-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. Notes: svn path=/head/; revision=54782
* Add libmd (or move it after libcrypt). We don't want the linker to beMarcel Moolenaar1999-12-161-2/+2
| | | | | | | | smart because it will definitely get it wrong. This popped up during cross-linking. Notes: svn path=/head/; revision=54677
* $Id$ -> $FreeBSD$Peter Wemm1999-08-289-9/+9
| | | | Notes: svn path=/head/; revision=50479