summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypserv
Commit message (Collapse)AuthorAgeFilesLines
* Fix compiler warnings.hrs2013-07-152-2/+6
|
* Fix a wrong memcpy of struct sockaddr.hrs2013-07-121-3/+2
| | | | Spotted by: dt71@gmx.com
* Fix socket calls on error post-r243965.kevlo2012-12-211-1/+1
| | | | Submitted by: Garrett Cooper
* Remove superfluous paragraph macro.joel2012-03-251-2/+0
|
* 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
* Revert changes in r228790. It prevented the ypserv daemon from working withhrs2012-01-171-3/+1
| | | | with multiple socktypes.
* Spelling fixes for usr.sbin/uqs2011-12-301-1/+1
|
* - Fix style(9) bug I introduced in the last commiteadler2011-12-211-1/+1
| | | | Approved by: jhb
* - Remove extraneous null ptr deref checkseadler2011-12-211-2/+5
| | | | | | | | - Fix memory leak Submitted by: Slono Slono <slonoman2011@yandex.ru> Approved by: jhb MFC after: 1 week
* Protect NIS server with madvise(2) since this daemon is requiredglebius2011-10-251-0/+4
| | | | for succesful authentication of users.
* Add missing argument for -h in usage.kuriyama2011-06-201-1/+1
|
* Spelling fixes.joel2010-08-011-1/+1
|
* Simply ignore unsupported protocols listed in /etc/netconfig andhrs2010-01-201-4/+10
| | | | | abort only if no transport is available. This fixes (INET && !INET6) and (!INET && INET6) case, for example.
* Try a privileged port for binding whenever possible because thehrs2010-01-201-7/+12
| | | | | | | ypbind daemon requires the ypserv daemon is running on a privileged port. Reported by: Andrzej Tobola
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-0/+2
|
* (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.antoine2009-12-281-2/+2
| | | | | | | | | Fix some wrong usages. Note: this does not affect generated binaries as this argument is not used. PR: 137213 Submitted by: Eygene Ryabinkin (initial version) MFC after: 1 month
* To remove a server, one should use double backslash, and half of themmarck2009-12-271-1/+1
| | | | | | are eaten by shell. Fix this. MFC after: 2 weeks
* - Fix main() to use two separated sockets for the two transportshrs2009-12-132-116/+300
| | | | | | | | | | | | | | | | | | | | | when "-P port" is specified. It invoked svc{tcp,udp}_create() for only one of the two allocated sockets, and prevented the TCP socket from binding to as the result. - Use TI-RPC functions and handle sockets in a transport-independent way. At this moment only AF_INET ("udp" and "tcp") is supported because others need rewrites of ACL handling and yp clients. - Add '-h addr' to specify addresses to bind to. - Convert _msgout() to use variable argument lists and remove asprintf() for error strings. - Remove register storage class specifier. Discussed with: kuriyama MFC after: 1 week
* - In ypproc_all_2_svc(), yp_fork() is called only when !debug case.kuriyama2009-12-041-1/+4
| | | | | So _exit() in the bottom of this function should be called with the same case.
* - Replace magic number with YPOLDVERS macro (which may be missed inkuriyama2009-12-041-1/+1
| | | | r14262).
* Support shadow.byname and shadow.byuid maps, protecting them bybrian2009-06-253-27/+81
| | | | | | | | | | insisting on privileged port access. Include /var/yp/Makefile.local if it exists and suggest using it to override /var/yp/Makefile behaviour. Approved by: re (kib) MFC after: 3 weeks
* Add -P <port> option to allow binding to a specific port.matteo2008-02-032-3/+61
| | | | | | PR: bin/109494 Submitted by: mtm MFC after: 1 week
* o Re-arrange parentheses and fix a conition logic for !do_dns case.maxim2006-06-091-2/+2
| | | | | PR: bin/98625 MFC after: 1 month
* o Add /etc/shells to a source files list.maxim2006-06-081-0/+2
|
* o NIS clients ask for "shells" map not "shells.list".maxim2006-06-081-2/+1
| | | | | | PR: kern/86693 Submitted by: Victor Sudakov MFC after: 1 month
* Enable inadvertantly disabled "securenet" access controls in ypserv. [1]cperciva2006-05-311-15/+22
| | | | | | | | Correct a bug in the handling of backslash characters in smbfs which can allow an attacker to escape from a chroot(2). [2] Security: FreeBSD-SA-06:15.ypserv [1] Security: FreeBSD-SA-06:16.smbfs [2]
* - Let make(1) track dependencies and regen netid map when needed.ru2006-04-131-8/+1
| | | | - Add missing dependency for netid.byname.
* Remove unused variables. int -> size_t for lenghts.charnier2005-05-202-3/+2
|
* add targets for ipnodes.byname and ipnodes.byaddr which carriesume2005-05-021-0/+38
| | | | | IPv6 addresses. these targets are off by default, and these are built when there is /var/yp/ipnodes.
* fix typo in previos commit.ume2005-05-021-2/+2
|
* teach IPv6 to async DNS resolver in ypserv:ume2005-05-023-27/+61
| | | | | - query AAAA RR on ipnodes.byname query. - query .ip6.arpa. on ipnodes.byaddr query.
* Use socklen_t where appropriate.stefanf2005-03-112-6/+10
|
* Expand contractions.ru2005-02-131-1/+1
|
* Expand *n't contractions.ru2005-02-131-3/+3
|
* Sort sections.ru2005-01-181-2/+2
|
* Utilize FILES, SCRIPTS, and SYMLINKS. While here, fixed a bug inru2004-10-181-9/+8
| | | | | | | | | | | the implementation of the following feature in revision 1.4: - Install Makefile.yp as /var/yp/Makefile.dist and link it to /var/yp/Makefile only if /var/yp/Makefile doesn't already exist. Suggested by Peter Wemm. The actual code was only symlinking when no /var/yp/Makefile.dist existed, i.e., never.
* Sort SEE ALSO references (in dictionary order, ignoring case).ru2004-07-041-2/+2
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Eliminated two dozens of superfluous cats and two r-cats (sorry, Jordan).ru2003-06-131-73/+51
| | | | Suggested by: Dan Nelson
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-037-28/+14
|
* style.Makefile(5)obrien2003-04-041-2/+2
|
* Add a target for the creation of a /etc/shells map and add it torobert2003-03-211-2/+12
| | | | the maps which are built by default.
* ypserv(8) is now started from rc.dmtm2003-01-231-1/+1
| | | | Approved by: markm (mentor)(implicit)
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-10/+6
| | | | Add FreeBSD Id tag where missing.
* english(4) police.schweikh2002-12-271-1/+1
|
* Uniformly refer to a file system as "file system".ru2002-12-121-1/+1
| | | | Approved by: re
* The resolver library does a pretty acceptable set of domainmarkm2002-09-201-19/+2
| | | | | | | | | | suffix attempts before failing. No need to try again by hand, particularly when it fills your log with failures because localhost.example.com..example.com fails to resolve. Also improve the log message that helped find this error. There is still (maybe) an uninitialised pointer problem here, but in a month of testing I haven't triggered it.
* mdoc(7) police: Removed redundant .Ns calls.ru2002-08-131-1/+1
|
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-291-2/+2
| | | | | | for a long time now. Approved by: bde
* s/${INSTALL} -c/${INSTALL} ${COPY}/ru2002-07-181-2/+2
|
OpenPOWER on IntegriCloud