Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Fix main() to use two separated sockets for the two transports | hrs | 2009-12-13 | 2 | -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. | kuriyama | 2009-12-04 | 1 | -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 in | kuriyama | 2009-12-04 | 1 | -1/+1 |
| | | | | r14262). | ||||
* | Support shadow.byname and shadow.byuid maps, protecting them by | brian | 2009-06-25 | 3 | -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. | matteo | 2008-02-03 | 2 | -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. | maxim | 2006-06-09 | 1 | -2/+2 |
| | | | | | PR: bin/98625 MFC after: 1 month | ||||
* | o Add /etc/shells to a source files list. | maxim | 2006-06-08 | 1 | -0/+2 |
| | |||||
* | o NIS clients ask for "shells" map not "shells.list". | maxim | 2006-06-08 | 1 | -2/+1 |
| | | | | | | PR: kern/86693 Submitted by: Victor Sudakov MFC after: 1 month | ||||
* | Enable inadvertantly disabled "securenet" access controls in ypserv. [1] | cperciva | 2006-05-31 | 1 | -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. | ru | 2006-04-13 | 1 | -8/+1 |
| | | | | - Add missing dependency for netid.byname. | ||||
* | Remove unused variables. int -> size_t for lenghts. | charnier | 2005-05-20 | 2 | -3/+2 |
| | |||||
* | add targets for ipnodes.byname and ipnodes.byaddr which carries | ume | 2005-05-02 | 1 | -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. | ume | 2005-05-02 | 1 | -2/+2 |
| | |||||
* | teach IPv6 to async DNS resolver in ypserv: | ume | 2005-05-02 | 3 | -27/+61 |
| | | | | | - query AAAA RR on ipnodes.byname query. - query .ip6.arpa. on ipnodes.byaddr query. | ||||
* | Use socklen_t where appropriate. | stefanf | 2005-03-11 | 2 | -6/+10 |
| | |||||
* | Expand contractions. | ru | 2005-02-13 | 1 | -1/+1 |
| | |||||
* | Expand *n't contractions. | ru | 2005-02-13 | 1 | -3/+3 |
| | |||||
* | Sort sections. | ru | 2005-01-18 | 1 | -2/+2 |
| | |||||
* | Utilize FILES, SCRIPTS, and SYMLINKS. While here, fixed a bug in | ru | 2004-10-18 | 1 | -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). | ru | 2004-07-04 | 1 | -2/+2 |
| | |||||
* | Mechanically kill hard sentence breaks. | ru | 2004-07-02 | 1 | -1/+2 |
| | |||||
* | Eliminated two dozens of superfluous cats and two r-cats (sorry, Jordan). | ru | 2003-06-13 | 1 | -73/+51 |
| | | | | Suggested by: Dan Nelson | ||||
* | Use __FBSDID over rcsid[]. Protect copyright[] where needed. | obrien | 2003-05-03 | 7 | -28/+14 |
| | |||||
* | style.Makefile(5) | obrien | 2003-04-04 | 1 | -2/+2 |
| | |||||
* | Add a target for the creation of a /etc/shells map and add it to | robert | 2003-03-21 | 1 | -2/+12 |
| | | | | the maps which are built by default. | ||||
* | ypserv(8) is now started from rc.d | mtm | 2003-01-23 | 1 | -1/+1 |
| | | | | Approved by: markm (mentor)(implicit) | ||||
* | Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ | schweikh | 2002-12-30 | 1 | -10/+6 |
| | | | | Add FreeBSD Id tag where missing. | ||||
* | english(4) police. | schweikh | 2002-12-27 | 1 | -1/+1 |
| | |||||
* | Uniformly refer to a file system as "file system". | ru | 2002-12-12 | 1 | -1/+1 |
| | | | | Approved by: re | ||||
* | The resolver library does a pretty acceptable set of domain | markm | 2002-09-20 | 1 | -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. | ru | 2002-08-13 | 1 | -1/+1 |
| | |||||
* | Drop support for COPY, -c has been the default mode of install(1) | ru | 2002-07-29 | 1 | -2/+2 |
| | | | | | | for a long time now. Approved by: bde | ||||
* | s/${INSTALL} -c/${INSTALL} ${COPY}/ | ru | 2002-07-18 | 1 | -2/+2 |
| | |||||
* | The .Nm utility | charnier | 2002-07-14 | 2 | -16/+24 |
| | |||||
* | Fix a boatload of format errors and constness violations. | des | 2002-05-08 | 2 | -36/+40 |
| | | | | Sponsored by: DARPA, NAI Labs | ||||
* | Spell void * as void * rather than caddr_t. This is complicated by the | des | 2002-04-28 | 2 | -28/+24 |
| | | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs | ||||
* | Sort out the documentation WRT TCP_WRAPPERs, which is now enabled. | markm | 2002-02-06 | 1 | -12/+2 |
| | |||||
* | Fix an inconsistency between what FreeBSD NIS and AMD think the | markm | 2002-02-06 | 1 | -3/+3 |
| | | | | AMD map name should be. | ||||
* | Enable TCP_WRAPPERs for the NIS server. The protection afforded is | markm | 2002-02-06 | 1 | -1/+4 |
| | | | | not massive, but usable. | ||||
* | ANSIfy and remove some dead code. | des | 2002-02-06 | 7 | -140/+93 |
| | | | | Sponsored by: DARPA, NAI Labs | ||||
* | Apply the following mechanical transformations in preparation for | des | 2002-02-06 | 6 | -53/+53 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | yp(4) -> yp(8). | ru | 2002-01-14 | 2 | -2/+2 |
| | | | | PR: docs/30797 | ||||
* | mdoc(7) police: join split punctuation to macro calls. | ru | 2001-08-10 | 1 | -2/+2 |
| | |||||
* | can not -> cannot | sheldonh | 2001-08-08 | 1 | -1/+1 |
| | |||||
* | sprintf -> snprintf | kris | 2001-07-23 | 1 | -4/+4 |
| | |||||
* | Perform a major cleanup of the usr.sbin Makefiles. | obrien | 2001-07-20 | 1 | -5/+4 |
| | | | | | 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. | dd | 2001-07-15 | 1 | -2/+2 |
| | |||||
* | mdoc(7) police: removed HISTORY info from the .Os call. | ru | 2001-07-10 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: remove extraneous .Pp before and/or after .Sh. | dd | 2001-07-09 | 1 | -1/+0 |
| | |||||
* | Fix the type of the NULL arg to execl() | brian | 2001-07-09 | 1 | -2/+2 |
| | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> |