2002-05-27 Thorsten Kukuk * release version 2.4 * scripts/ypMakefile.in (MINUID/MINGID): increase both variables to 500 as defined by LSB and to be compatible with most Linux distributions. * lib/ypserv.conf.5: move from here ... * etc/ypserv.conf.5: ... to here. Remove mangle field description. * lib/Makefile.am: Remove ypserv.conf.5 * etc/Makefile.am: Add ypserv.conf.5 2002-05-23 Martin Vidner * yphelper/yphelper.c: Add -i option to getopt_long 2002-05-14 Thorsten Kukuk * release version 2.3 * yppush/yppush.c (hostcmp): Get ride of this function, since it could remove correct slaves which have the same hostname but are in other domains. * yphelper/yphelper.c (is_master): New function, check if we are the master for a given map. * yphelper/Makefile.am (yphelper_LDADD): Link against dbm library. 2002-05-13 Thorsten Kukuk * configure.in: Prefer libxcrypt over libcrypt. 2002-04-26 Thorsten Kukuk * configure.in: Adjust for new autoconf. * config.guess: Deleted. * config.sub: Deleted. * acconfig.h: Deleted. * lib/ypserv.conf.5: Document trusted_master option. * yphelper/yphelper.c: Fix compiler warnings. * mknetid/mknetid.c: Use getline/getdelim instead of fgets to avoid static buffer. * scripts/create_printcap.in: Fix syntax error to get it to work with all awk implementations. 2002-04-06 Thorsten Kukuk * yppush/yppush.c (yppush_xfrrespprog_1): Exit from thread if not YPPUSHPROC_NULL was called. 2001-12-16 Thorsten Kukuk * ypserv/server.c: Add missing break in switch statement. * ypserv/ypserv.c (main): getopt returns -1, not EOF. 2001-12-03 Thorsten Kukuk * ypxfr/ypxfr.c (ypxfr): Don't replace name of master with FQDN, else ypserv cannot compare it later. 2001-11-26 Thorsten Kukuk * release version 2.2 * scripts/ypinit.in (ypinit_master): Add missing else case (don't print error message in success case). Reported by Michael Sterrett . * lib/access.c (is_valid): Fix return value if host is not allowed to connect. * scripts/ypxfr_1perday.in: Add variable for maps. * scripts/ypxfr_1perhour.in: Likewise. * scripts/ypxfr_2perday.in: Likewise. 2001-10-29 Thorsten Kukuk * acinclude.m4: New, contains macro for ElectricFence option * configure.in: Add option for dmalloc and ElectricFence * ypserv/server.c (ypproc_all_2_svc): Reset callback data at beginning to avoid bogus data if we abort with an error. (ypall_close): Abort if data is NULL. * yphelper/yphelper.c: Allow IP numbers as hostname, also lookup hostname from NIS map for compare. 2001-09-02 Thorsten Kukuk * release version 2.1 * rpc.yppasswdd/yppasswdd.c: Implement --port parameter to bind to a special port. * rpc.yppasswdd/rpc.yppasswdd.8.in: Document new parameter. 2001-09-02 Martin Vidner * Fix various errors in manual pages 2001-08-30 Thorsten Kukuk * lib/Makefile.am: Remove ypproc_all_2.c * ypxfr/ypxfr_xdr.c: Add special ypproc_all_2 function * ypxfr/ypxfr.8: Renamed from this ... * ypxfr/ypxfr.8.in: ... to this * yppush/yppush.8: Renamed from this ... * yppush/yppush.8.in: ... to this * configure.in: create ypxfr/ypxfr.8 and yppush/yppush.8 * revnetgroup/revnetgroup.8.in: New 2001-08-26 Thorsten Kukuk * scripts/Makefile.am: Don't strip scripts * ypserv/server.c: Fix null byte termination of order number (reported by Juergen Holm ) 2001-08-20 Thorsten Kukuk * configure.in: Create ypserv/ypserv.8 * ypserv/ypserv.8: renamed from this .. * ypserv/ypserv.8.in: .. to this. 2001-08-12 Thorsten Kukuk * configure.in: Rename variable MAIL_ALIASES to ALIASES. * lib/Makefile.am: Install ypxfrd.h into include/rpcsvc. * scripts/ypMakefile.in: Fix makedbm path. 2001-08-11 Thorsten Kukuk * ypserv/ypserv.c (main): Fix missing format string, only change database directory if we are in debug mode. 2001-08-07 Thorsten Kukuk * release version 2.0 2001-08-06 Thorsten Kukuk * scripts/Makefile.am (varyp_SCRIPTS): Add ypMakefile * configure.in: Create scripts/ypMakefile 2001-08-05 Thorsten Kukuk * lib/ypserv_conf.c (load_ypserv_conf): * etc/netgroup.5: Add comment about non existing getnetgrent manual page. * scripts/ypMakefile.in: Implement 'MINUID' for shadow map. * rpc.ypxfrd/ypxfrd.c (closedown): Removed external svs_fdset declaration. Patches from Miquel van Smoorenburg ) * yphelper/yphelper.c (print_maps): Make a copy of gethostbyname result (we call gethostbyname later again) and fix a minor memory leak. Based on patch by Richard Gooch 2001-04-08 Thorsten Kukuk * scripts/Makefile.am: Add ypinit script and manual page * scripts/ypinit.in: New. * scripts/ypinit.8.in: New. * scripts/create_printcap.in: New. * scripts/match_printcap.in: New. * scripts/pwupdate.8.in: New. * scripts/pwupdate.in: New. * mknetid/mknetid.c: New. * mknetid/mknetid.h: New. * mknetid/netid_hash.c: New. * rpc.ypxfrd: New. * rpc.yppasswdd: New. 2001-03-25 Thorsten Kukuk * configure.in: Create revnetgroup/yphelper Makefile * Makefile.am (SUBDIRS): Add revnetgroup and yphelper directory. * revnetgroup/Makefile.am: New. * revnetgroup/revnetgroup.c: New. * revnetgroup/revnetgroup.8: New. * revnetgroup/getnetgrent.c: New. * revnetgroup/hash.c: New. * yphelper/yphelper.c: New. * yphelper/yphelper.8: New. * ypxfr/ypxfr.c (ypxfr): Check return value from NIS server for yp_order call. * lib/ypserv_conf.c (load_ypserv_conf): Don't free buffer allocated with alloca, use stpcpy instead of sprintf. 2001-03-11 Thorsten Kukuk * ypserv/yp_db.c: Enable caching of gdbm file handles. 2000-11-19 Thorsten Kukuk * ypxfr/ypxfr.c: Major rewrite. * ypxfr/ypxfr.c(ypxfr): properly terminate a string before run "atoi" on it (reported by Andy Stevens ) * ypserv/ypserv.c (main): Fix typo (install SIGCHLD handler) 2000-10-28 Thorsten Kukuk * ypserv/ypserv.c: Add SIGCHLD handler for forked processes. * ypserv/yp_db.c (_db_open): Add hook to set gdbm cache size. 2000-10-24 Thorsten Kukuk * lib/ypserv_conf.c (load_ypserv_conf): Parse for trusted_master * lib/ypserv_conf.h: Add prototype for trusted_master. * ypserv/server.c (ypproc_xfr_2_svc): Check if new map is from trusted master * ypserv/Makefile.am (noinst_HEADERS): Add access.h * start major rewrite of ypserv for version 2 .