summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.yppasswdd
Commit message (Collapse)AuthorAgeFilesLines
* Use LIBEXECDIR for /usr/libexec.bdrewery2015-11-261-1/+1
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* The rpc.yppasswdd has an option to not allow shell changes (-s), but isaraujo2015-10-021-2/+2
| | | | | | | | | | | | | always passed a shell by the remote yppasswd. If an NIS client overrides the shell provided by the ypserv, then yppasswd (pam_unix, actually, afaict) will pass this new shell to the yppasswdd. If this shell has been set on the client to a shell which is invalid on the server, a user will never be able to change their password on the client. PR: 67142 Submitted by: russell@rucus.ru.ac.za Approved by: bapt (mentor) Sponsored by: EuroBSDCon Sweden.
* Add META_MODE support.sjg2015-06-131-0/+48
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-2/+1
| |\ | |/ |/|
| * Merge head from 7/28sjg2014-08-191-1/+1
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Updated dependenciessjg2013-03-111-0/+1
| | |
| * | Updated dependenciessjg2013-02-161-2/+0
| | |
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+49
| | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | Convert usr.sbin to LIBADDbapt2014-11-251-2/+1
| |/ |/| | | | | Reduce overlinking
* | use .Mt to mark up email addresses consistently (part2)bapt2014-06-201-1/+1
|/ | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* 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.
OpenPOWER on IntegriCloud