Commit Graph

61 Commits

Author SHA1 Message Date
ws 199624cb52 Use an integer instead of a char to store the getopt() return value in
order to match prototypes.
1996-10-02 18:21:03 +00:00
chuck 3745979128 fix broken case statement for "-C", also check to make sure we've got
the proper number of args for -C and give up if not.   fixes yp slave servers.
1996-08-15 22:17:57 +00:00
chuck 6ad546e352 fix printf format (%s -> %d) in yplog debug statement 1996-08-15 21:47:53 +00:00
thorpej 7026126974 Alter the ypservers rule a bit to always make sure that this map
exists.
1996-08-09 21:04:32 +00:00
thorpej e20d4be867 Add a rule for the `ypservers' map (the map containing a list of
slaves for the YP domain).  This map is not built by default, but the
rule exists to make adding slave servers a bit easier.
1996-08-09 20:58:36 +00:00
thorpej 5bf41ee467 Error out if we can't determine the YP domain name to be used for
the RPC.
1996-08-09 20:24:34 +00:00
thorpej 34ca0ef5c8 Use the key, not the val from the datum when reading the `ypservers'
map.  SunOS ypservers maps place the host name in the key and the val,
but HP-UX and NetBSD ypservers maps place the hostname only in the
key, leaving the val empty.  Since there is no clear standard for this map,
best to play it safe.
1996-08-09 20:18:50 +00:00
thorpej 5c49628ed7 Remove hard-coded a /var/yp. 1996-08-09 15:16:30 +00:00
thorpej 012dde15fd Install the Makefiles with mode 0644, not ${BINMODE} 1996-08-09 15:11:47 +00:00
thorpej 236743c464 Make this script a little more sane. 1996-08-09 15:09:04 +00:00
thorpej 60aa689c94 A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
1996-08-09 10:14:49 +00:00