summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.yppasswdd
Commit message (Collapse)AuthorAgeFilesLines
* MFC r291348:bdrewery2015-12-041-1/+1
| | | | Use LIBEXECDIR for /usr/libexec.
* Handle NULL return from crypt(3). Mostly from DragonFlykevlo2012-02-221-2/+3
|
* Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessordim2012-02-071-1/+1
| | | | | | set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. MFC after: 1 week
* Remove duplicated header fileskevlo2011-06-241-1/+0
|
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-1/+1
|
* yppasswdd assumed that a struct x_master_passwd is type punable to aimp2009-02-181-3/+21
| | | | | | | | | | | | | | | | struct passwd. This is not the case when sizeof(unsigned long) != sizeof(time_t). Write a dinky function to do the assignment instead of relying on the punning. This does slow things down a little (1 extra function call, 11 pointer or int assignments), but is much safer and machines have been fast enough since the mid 1990s that nobody will notice the difference. time_t is a 64-bits int on arm and mips. Before this change, arm was silently broken. I guess there aren't that many ARM machines running master YP domain servers. :) The client side doesn't assume this type punning, so it doesn't need to be fixed.
* - Whenever a password/shell is changed via rpc.yppasswdd, the daemon leavesrafan2008-10-301-0/+4
| | | | | | | | | | | | | one zombie process because it does not do the cleanup. For a long running NIS/YP server, it will have lots of zombie processes on it. Fix that by ignoring the SIGCHLD signal since we don't really care about the exit status in this case. PR: bin/91980 Reported by: Arjan van der Velde <dj_noresult at hotmail.com> Submitted by: Jui-Nan Lin" <jnlin at csie.nctu.edu.tw> Reviewed by: delphij MFC after: 1 month
* These are the things that the tinderbox has problems with because itjb2007-11-201-0/+1
| | | | | | | | doesn't use the default CFLAGS which contain -fno-strict-aliasing. Until the code is cleaned up, just add -fno-strict-aliasing to the CFLAGS of these for the tinderboxes' sake, allowing the rest of the tree to have -Werror enabled again.
* Use socklen_t in place of socket operations, instead of intdelphij2005-05-021-2/+2
|
* Expand contractions.ru2005-02-131-1/+1
|
* Expand *n't contractions.ru2005-02-131-3/+3
|
* Sort sections.ru2005-01-181-2/+2
|
* Utilize SCRIPTS.ru2004-10-181-5/+2
|
* Remove definition of struct dom_binding, it's non-standard C code andstefanf2004-10-171-1/+0
| | | | unnecessary since src/include/rpcsvc/ypclnt.h's revision 1.10.
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Fix yppasswdproc_update_master_1_svc() too.mbr2003-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
* Only call pw_mkdb if passfile == _PATH_MASTERPASSWD.mbr2003-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>
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-033-12/+6
|
* style.Makefile(5)obrien2003-04-041-2/+1
|
* Implement nonblocking tpc-connections. rpcgen -m does stillmbr2003-01-161-0/+4
| | | | | | | | produce backcompatible code. Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day
* english(4) police.schweikh2002-12-271-1/+1
|
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-291-1/+1
| | | | | | for a long time now. Approved by: bde
* s/${INSTALL} -c/${INSTALL} ${COPY}/ru2002-07-181-1/+1
|
* The .Nm utilitycharnier2002-07-141-6/+8
|
* de-__P()alfred2002-07-111-3/+2
|
* 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
|
OpenPOWER on IntegriCloud