Hello community, here is the log from the commit of package ypbind checked in at Thu Oct 5 09:55:19 CEST 2006. -------- --- ypbind/ypbind.changes 2006-09-15 13:57:55.000000000 +0200 +++ /mounts/work_src_done/STABLE/ypbind/ypbind.changes 2006-10-04 17:58:36.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Oct 4 17:54:59 CEST 2006 - kukuk@suse.de + +- Update to 1.20.2 (Assume we are online if no DBUS is running) + +------------------------------------------------------------------- Old: ---- ypbind-mt-1.20.1.tar.bz2 New: ---- ypbind-mt-1.20.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ypbind.spec ++++++ --- /var/tmp/diff_new_pack.PYFCQr/_old 2006-10-05 09:55:08.000000000 +0200 +++ /var/tmp/diff_new_pack.PYFCQr/_new 2006-10-05 09:55:08.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package ypbind (Version 1.20.1) +# spec file for package ypbind (Version 1.20.2) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -21,7 +21,7 @@ Autoreqprov: on PreReq: %insserv_prereq %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build -Version: 1.20.1 +Version: 1.20.2 Release: 1 URL: http://www.linux-nis.org/nis/ypbind-mt Summary: NIS client daemon @@ -101,6 +101,8 @@ %dir /var/yp/binding %changelog -n ypbind +* Wed Oct 04 2006 - kukuk@suse.de +- Update to 1.20.2 (Assume we are online if no DBUS is running) * Fri Sep 15 2006 - kukuk@suse.de - Update to 1.20.1 (fix SIGPIPE ignore) - Remove obsolete obsoletes. ++++++ ypbind-mt-1.20.1.tar.bz2 -> ypbind-mt-1.20.2.tar.bz2 ++++++ ++++ 1858 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/ChangeLog new/ypbind-mt-1.20.2/ChangeLog --- old/ypbind-mt-1.20.1/ChangeLog 2006-09-15 13:53:17.000000000 +0200 +++ new/ypbind-mt-1.20.2/ChangeLog 2006-10-04 17:31:12.000000000 +0200 @@ -1,3 +1,18 @@ +2006-10-04 Thorsten Kukuk <kukuk@suse.de> + + * release version 1.20.2 + + * man/ypbind.8.xml: New, generate ypbind.8 from XML source. + * man/yp.conf.5.xml: New, generate yp.conf.5 from XML source. + + * src/ypbind_dbus_nm.c (dbus_init): In error case, assume we + are online (Reported by Mark Brown <broonie@sirena.org.uk>). + +2006-09-19 Thorsten Kukuk <kukuk@suse.de> + + * src/ypbind-mt.c (main): Fix compiling without DBUS support. + Reported by Peter Breitenlohner <peb@mppmu.mpg.de>. + 2006-09-15 Thorsten Kukuk <kukuk@suse.de> * release version 1.20.1 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/Makefile.am new/ypbind-mt-1.20.2/Makefile.am --- old/ypbind-mt-1.20.1/Makefile.am 2006-08-30 15:43:32.000000000 +0200 +++ new/ypbind-mt-1.20.2/Makefile.am 2006-09-21 16:25:20.000000000 +0200 @@ -9,7 +9,9 @@ CLEANFILES = *~ +M4_FILES = $(shell ls $(srcdir)/m4/*.m4) + EXTRA_DIST = config.rpath ChangeLog etc/yp.conf etc/ypbind.init \ - $(shell ls $(srcdir)/m4/*.m4) + $(shell ls $(srcdir)/m4/*.m4) $(M4_FILES) ACLOCAL_AMFLAGS = -I m4 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/NEWS new/ypbind-mt-1.20.2/NEWS --- old/ypbind-mt-1.20.1/NEWS 2006-09-15 13:52:46.000000000 +0200 +++ new/ypbind-mt-1.20.2/NEWS 2006-10-04 17:27:40.000000000 +0200 @@ -2,7 +2,11 @@ Copyright (C) 1998-2006 Thorsten Kukuk -Please send bug reports, questions and suggestions to <kukuk@suse.de>. +Please send bug reports, questions and suggestions to <kukuk@thkukuk.de>. + +Version 1.20.2 +* Fix ignore SIGPIPE patch +* Assume network is available if no DBUS is running Version 1.20.1 * Ignore SIGPIPE diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/README new/ypbind-mt-1.20.2/README --- old/ypbind-mt-1.20.1/README 2002-04-04 21:24:36.000000000 +0200 +++ new/ypbind-mt-1.20.2/README 2006-10-04 17:45:46.000000000 +0200 @@ -1,22 +1,5 @@ -This directory contains the version 1.11 of the ypbind-mt. - - -As of this release, ypbind-mt is known to run on the following -configuration: - - ix86-*-linux Linux 2.x on Intel with glibc 2.x - alpha-*-linux Linux 2.x on Alpha with glibc 2.x - mips-*-linux Linux 2.x on Mips with glibc 2.x - powerpc-*-linux Linux 2.x on PowerPC with glibc 2.x - sparc-*-linux Linux 2.x on SPARC with glibc 2.x - s390-*-linux Linux 2.x on S390 with glibc 2.x - s390x-*-linux Linux 2.x on S390x with glibc 2.x - ix86-*-linux-gnulibc1 Linux 2.x on Intel with libc5/linuxthreads 0.7 - sparc-sun-solaris2.x Solaris 2.x with pthread library - -If you have a configuration which works and isn't listed here, please -send me a note. +This directory contains the version 1.20.2 of the ypbind-mt. See the file INSTALL to find out how to configure, build, install, and port ypbind-mt. You might also consider reading the WWW pages for Linux NIS (YP) @@ -43,6 +26,8 @@ * Binds to the server which answered as first + * Listens to DBUS/NetworkManager if network is up and running or not. + -Thorsten Kukuk <kukuk@suse.de>, 04. April 2002 +Thorsten Kukuk <kukuk@suse.de>, October 4th, 2006 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/configure.in new/ypbind-mt-1.20.2/configure.in --- old/ypbind-mt-1.20.1/configure.in 2006-09-15 13:45:25.000000000 +0200 +++ new/ypbind-mt-1.20.2/configure.in 2006-10-04 17:26:52.000000000 +0200 @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(src/ypbind-mt.c) -AM_INIT_AUTOMAKE(ypbind-mt, 1.20.1) +AM_INIT_AUTOMAKE(ypbind-mt, 1.20.2) AM_CONFIG_HEADER(config.h) AC_PREFIX_DEFAULT(/usr) @@ -87,6 +87,23 @@ dnl Checks for library functions. AC_CHECK_FUNCS(getline getdelim vsyslog res_gethostbyname _dns_gethostbyname) +dnl +dnl Check for xsltproc +dnl +enable_man=yes +AC_PATH_PROG([XSLTPROC], [xsltproc]) +if test -z "$XSLTPROC"; then + enable_man=no +fi +AC_PATH_PROG([XMLLINT], [xmllint],[/bin/true]) +dnl check for DocBook DTD and stylesheets in the local catalog. +JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.3//EN], + [DocBook XML DTD V4.3], [], enable_man=no) +JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl], + [DocBook XSL Stylesheets], [], enable_man=no) +AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test x$enable_man != xno) + + dnl internationalization macros AM_GNU_GETTEXT_VERSION AM_GNU_GETTEXT([external]) @@ -150,5 +167,4 @@ AC_SUBST(USE_BROADCAST) -AC_OUTPUT(Makefile lib/Makefile src/Makefile man/Makefile \ - po/Makefile.in man/yp.conf.5 man/ypbind.8) +AC_OUTPUT(Makefile lib/Makefile src/Makefile man/Makefile po/Makefile.in) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/m4/jh_path_xml_catalog.m4 new/ypbind-mt-1.20.2/m4/jh_path_xml_catalog.m4 --- old/ypbind-mt-1.20.1/m4/jh_path_xml_catalog.m4 1970-01-01 01:00:00.000000000 +0100 +++ new/ypbind-mt-1.20.2/m4/jh_path_xml_catalog.m4 2006-07-25 09:55:50.000000000 +0200 @@ -0,0 +1,54 @@ +# Checks the location of the XML Catalog +# Usage: +# JH_PATH_XML_CATALOG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# Defines XMLCATALOG and XML_CATALOG_FILE substitutions +AC_DEFUN([JH_PATH_XML_CATALOG], +[ + # check for the presence of the XML catalog + AC_ARG_WITH([xml-catalog], + AC_HELP_STRING([--with-xml-catalog=CATALOG], + [path to xml catalog to use]),, + [with_xml_catalog=/etc/xml/catalog]) + jh_found_xmlcatalog=true + XML_CATALOG_FILE="$with_xml_catalog" + AC_SUBST([XML_CATALOG_FILE]) + AC_MSG_CHECKING([for XML catalog ($XML_CATALOG_FILE)]) + if test -f "$XML_CATALOG_FILE"; then + AC_MSG_RESULT([found]) + else + jh_found_xmlcatalog=false + AC_MSG_RESULT([not found]) + fi + + # check for the xmlcatalog program + AC_PATH_PROG(XMLCATALOG, xmlcatalog, no) + if test "x$XMLCATALOG" = xno; then + jh_found_xmlcatalog=false + fi + + if $jh_found_xmlcatalog; then + ifelse([$1],,[:],[$1]) + else + ifelse([$2],,[AC_MSG_ERROR([could not find XML catalog])],[$2]) + fi +]) + +# Checks if a particular URI appears in the XML catalog +# Usage: +# JH_CHECK_XML_CATALOG(URI, [FRIENDLY-NAME], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +AC_DEFUN([JH_CHECK_XML_CATALOG], +[ + AC_REQUIRE([JH_PATH_XML_CATALOG],[JH_PATH_XML_CATALOG(,[:])])dnl + AC_MSG_CHECKING([for ifelse([$2],,[$1],[$2]) in XML catalog]) + if $jh_found_xmlcatalog && \ + AC_RUN_LOG([$XMLCATALOG --noout "$XML_CATALOG_FILE" "$1" >&2]); then + AC_MSG_RESULT([found]) + ifelse([$3],,,[$3 +])dnl + else + AC_MSG_RESULT([not found]) + ifelse([$4],, + [AC_MSG_ERROR([could not find ifelse([$2],,[$1],[$2]) in XML catalog])], + [$4]) + fi +]) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/man/Makefile.am new/ypbind-mt-1.20.2/man/Makefile.am --- old/ypbind-mt-1.20.1/man/Makefile.am 2006-08-30 15:38:56.000000000 +0200 +++ new/ypbind-mt-1.20.2/man/Makefile.am 2006-09-21 16:22:30.000000000 +0200 @@ -1,11 +1,22 @@ # -# Copyright (c) 1997, 1998, 1999, 2002 Thorsten Kukuk, Germany +# Copyright (c) 1997, 1998, 1999, 2002, 2006 Thorsten Kukuk, Germany # # Author: Thorsten Kukuk <kukuk@suse.de> # CLEANFILES = *~ ypbind.8 yp.conf.5 -EXTRA_DIST = $(addsuffix .in,$(MANS)) +EXTRA_DIST = $(MANS) $(XMLS) man_MANS = ypbind.8 yp.conf.5 +XMLS = ypbind.8.xml yp.conf.5.xml + +if ENABLE_REGENERATE_MAN +%.5: %.5.xml + $(XMLLINT) --nonet --xinclude --postvalid --noout $< + $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) --xinclude --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + +%.8: %.8.xml + $(XMLLINT) --nonet --xinclude --postvalid --noout $< + $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) --xinclude --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< +endif diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/man/yp.conf.5 new/ypbind-mt-1.20.2/man/yp.conf.5 --- old/ypbind-mt-1.20.1/man/yp.conf.5 1970-01-01 01:00:00.000000000 +0100 +++ new/ypbind-mt-1.20.2/man/yp.conf.5 2006-10-04 17:26:35.000000000 +0200 @@ -0,0 +1,58 @@ +." Title: yp.conf +." Author: +." Generator: DocBook XSL Stylesheets vsnapshot_2006-08-24_0226 http://docbook.sf.net/ +." Date: 10/04/2006 +." Manual: ypbind-mt +." Source: ypbind-mt +." +.TH "YP.CONF" "5" "10/04/2006" "ypbind-mt" "ypbind-mt" +." disable hyphenation +.nh +." disable justification (adjust text to left margin only) +.ad l +.SH "NAME" +yp.conf - NIS binding configuration file +.SH "DESCRIPTION" +.PP +The file +\fI/etc/yp.conf\fR +is read from +\fBypbind\fR(8) +at startup or when receiving signal SIGHUP. The entries are used for the initial binding. Valid entries are +.TP 3n +\fBdomain\fR \fInisdomain\fR \fBserver\fR \fIhostname\fR +Use server +\fIhostname\fR +for the domain +\fInisdomain\fR. You could have more then one entry of this type for a single domain. +.TP 3n +\fBdomain\fR \fInisdomain\fR \fBbroadcast\fR +Use broadcast on the local net for domain +\fInisdomain\fR. +.TP 3n +\fBdomain\fR \fInisdomain\fR \fBslp\fR +Query the local running SLP server for hosts running ypserv and distributing +\fInisdomain\fR. This option is only available, if +\fBypbind\fR +was compiled with SLP support. +.TP 3n +\fBypserver\fR \fIhostname\fR +Use server +\fIhostname\fR +for the local domain. +.TP 3n +\fBbroadcast\fR +If no other server is given or all of them are not reachable, try a broadcast call for the default domain to find a server. +.PP +If for a specific domain the broadcast option and fixed server are given, +\fBypbind-mt\fR +tries at first the given servers before falling back to broadcasting for a running server. +.SH "SEE ALSO" +.PP + +\fBypbind\fR(8) +.SH "AUTHOR" +.PP + +\fBypbind-mt\fR +was written by Thorsten Kukuk <kukuk@thkukuk.de>. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/man/yp.conf.5.in new/ypbind-mt-1.20.2/man/yp.conf.5.in --- old/ypbind-mt-1.20.1/man/yp.conf.5.in 2005-07-12 09:25:20.000000000 +0200 +++ new/ypbind-mt-1.20.2/man/yp.conf.5.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,87 +0,0 @@ -." -*- nroff -*- -." Copyright 1998, 1999, 2002 Thorsten Kukuk <kukuk@suse.de> -." -." This file is part of ypbind-mt. -." -." ypbind-mt is free software; you can redistribute it and/or -." modify it under the terms of the GNU General Public License as -." published by the Free Software Foundation; either version 2 of the -." License, or (at your option) any later version. -." -." ypbind-mt is distributed in the hope that it will be useful, -." but WITHOUT ANY WARRANTY; without even the implied warranty of -." MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -." General Public License for more details. -." -." You should have received a copy of the GNU General Public -." License along with ypbind-mt; see the file COPYING. If not, -." write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -." Boston, MA 02111-1307, USA. -." -.TH yp.conf 5 "February 2004" "ypbind-mt Version @VERSION@" -.SH NAME -/etc/yp.conf - NIS binding configuration file -.SH DESCRIPTION -The file -.B /etc/yp.conf -is read from -.BR ypbind (8) -at startup or when receiving signal SIGHUP. -The entries are used for the initial binding. -Valid entries are - -.B domain -.I nisdomain -.B server -.I hostname -.RS -Use server -.I hostname -for the domain -.IR nisdomain . -You could have more then one entry of this type for a single domain. -.RE - -.B domain -.I nisdomain -.B broadcast -.RS -Use broadcast on the local net for domain -.IR nisdomain . -.RE - -.B domain -.I nisdomain -.B slp -.RS -Query the local running SLP server for hosts running ypserv -and distributing -.IR nisdomain . -This option is only available, if -.B ypbind -was compiled with SLP support. -.RE - -.B ypserver -.I hostname -.RS -Use server -.I hostname -for the local domain. -.RE - -.B broadcast -.RS -If no other server is given or all of them are not reachable, -try a broadcast call for the default domain to find a server. -.RE - -If for a specific domain the broadcast option and fixed server are given, -.BR ypbind-mt -tries at first the given servers before falling back to broadcasting -for a running server. -.SH "SEE ALSO" -.BR ypbind (8) -.SH AUTHOR -.B ypbind-mt -was written by Thorsten Kukuk <kukuk@suse.de>. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/man/yp.conf.5.xml new/ypbind-mt-1.20.2/man/yp.conf.5.xml --- old/ypbind-mt-1.20.1/man/yp.conf.5.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/ypbind-mt-1.20.2/man/yp.conf.5.xml 2006-10-04 17:26:28.000000000 +0200 @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> + +<!-- \-*\- nroff \-*\- --> +<!-- Copyright 1998, 1999, 2002, 2006 Thorsten Kukuk <kukuk@suse.de> --> + +<!-- This file is part of ypbind\-mt. --> + +<!-- ypbind\-mt is free software; you can redistribute it and/or --> +<!-- modify it under the terms of the GNU General Public License as --> +<!-- published by the Free Software Foundation; either version 2 of the --> +<!-- License, or (at your option) any later version. --> + +<!-- ypbind\-mt is distributed in the hope that it will be useful, --> +<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of --> +<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --> +<!-- General Public License for more details. --> + +<!-- You should have received a copy of the GNU General Public --> +<!-- License along with ypbind\-mt; see the file COPYING. If not, --> +<!-- write to the Free Software Foundation, Inc., 59 Temple Place \- Suite 330, --> +<!-- Boston, MA 02111\-1307, USA. --> + +<refentry id='ypconf5'> + <refmeta> + <refentrytitle>yp.conf</refentrytitle> + <manvolnum>5</manvolnum> + <refmiscinfo class='sectdesc'>ypbind-mt</refmiscinfo> + </refmeta> + + <refnamediv id='name'> + <refname>yp.conf</refname> + <refpurpose>NIS binding configuration file</refpurpose> + </refnamediv> + + <refsect1 id='description'> + <title>DESCRIPTION</title> + <para> + The file <filename>/etc/yp.conf</filename> is read from + <citerefentry><refentrytitle>ypbind</refentrytitle><manvolnum>8</manvolnum></citerefentry> + at startup or when receiving signal SIGHUP. The entries are + used for the initial binding. Valid entries are + </para> + + <variablelist> + <varlistentry> + <term> <emphasis remap='B'>domain</emphasis> <emphasis remap='I'>nisdomain</emphasis> <emphasis remap='B'>server</emphasis> <emphasis remap='I'>hostname</emphasis> </term> + <listitem> + <para> + Use server <emphasis remap='I'>hostname</emphasis> for the + domain <emphasis remap='I'>nisdomain</emphasis>. You could + have more then one entry of this type for a single domain. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term><emphasis remap='B'>domain</emphasis> <emphasis remap='I'>nisdomain</emphasis> <emphasis remap='B'>broadcast</emphasis></term> + <listitem> + <para> + Use broadcast on the local net for domain + <emphasis remap='I'>nisdomain</emphasis>. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term><emphasis remap='B'>domain</emphasis> <emphasis remap='I'>nisdomain</emphasis> <emphasis remap='B'>slp</emphasis></term> + <listitem> + <para> + Query the local running SLP server for hosts running + ypserv and distributing <emphasis remap='I'>nisdomain</emphasis>. + This option is only available, if + <emphasis remap='B'>ypbind</emphasis> was compiled with SLP + support. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term><emphasis remap='B'>ypserver</emphasis> <emphasis remap='I'>hostname</emphasis></term> + <listitem> + <para> + Use server <emphasis remap='I'>hostname</emphasis> + for the local domain. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term><emphasis remap='B'>broadcast</emphasis></term> + <listitem> + <para> + If no other server is given or all of them are not reachable, + try a broadcast call for the default domain to find a server. + </para> + </listitem> + </varlistentry> + </variablelist> + + <para> + If for a specific domain the broadcast option and fixed server + are given, <emphasis remap='B'>ypbind-mt</emphasis> tries at + first the given servers before falling back to broadcasting + for a running server. + </para> + </refsect1> + + <refsect1 id='see_also'> + <title>SEE ALSO</title> + <para> + <citerefentry><refentrytitle>ypbind</refentrytitle><manvolnum>8</manvolnum></citerefentry> + </para> + </refsect1> + + <refsect1 id='author'> + <title>AUTHOR</title> + <para> + <emphasis remap='B'>ypbind-mt</emphasis> + was written by Thorsten Kukuk <kukuk@thkukuk.de>. + </para> + </refsect1> +</refentry> diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/man/ypbind.8 new/ypbind-mt-1.20.2/man/ypbind.8 --- old/ypbind-mt-1.20.1/man/ypbind.8 1970-01-01 01:00:00.000000000 +0100 +++ new/ypbind-mt-1.20.2/man/ypbind.8 2006-10-04 17:26:33.000000000 +0200 @@ -0,0 +1,185 @@ +." Title: ypbind +." Author: +." Generator: DocBook XSL Stylesheets vsnapshot_2006-08-24_0226 http://docbook.sf.net/ +." Date: 10/04/2006 +." Manual: ypbind-mt +." Source: ypbind-mt +." +.TH "YPBIND" "8" "10/04/2006" "ypbind-mt" "ypbind-mt" +." disable hyphenation +.nh +." disable justification (adjust text to left margin only) +.ad l +.SH "NAME" +ypbind - NIS binding process +.SH "SYNOPSIS" +.HP 7 +\fBypbind\fR [-c] [-d | -debug] [-broadcast] [-broken-server] [-ypset] [-ypsetme] [-no-ping] [-f\ \fIconfigfile\fR] [-local-only] [-ping-interval\ \fIping-interval\fR] [-no-dbus] +.HP 7 +\fBypbind\fR --version +.SH "DESCRIPTION" +.PP + +\fBypbind\fR +finds the server for NIS domains and maintains the NIS binding information. The client (normaly the NIS routines in the standard C library) could get the information over RPC from +\fBypbind\fR +or read the binding files. The binding files resides in the directory +\fI/var/yp/binding\fR +and are conventionally named +\fB[domainname].[version]\fR. The supported versions are 1 and 2. There could be several such files since it is possible for an NIS client to be bound to more than one domain. +.PP +After a binding has been established, +\fBypbind\fR +will send YPPROC_DOMAIN requests to the current NIS server at 20 seconds intervals. If it doesn't get an response or the NIS server reports that he doesn't have this domain any longer, +\fBypbind\fR +will search for a new NIS server. All 15 minutes +\fBypbind\fR +will check to see if the current NIS server is the fastest. If it find a server which answers faster, it will switch to this server. You could tell +\fBypbind\fR +to use network broadcasts to find a new server, what is insecure, or you could give it a list of known secure servers. In this case +\fBypbind\fR +will send a ping to all servers and binds to first one which answers. +.PP +Unless the option +\fB-debug\fR +is used, ypbind detaches itself from the controlling terminal and puts itself into background. +\fBypbind\fR +uses +\fBsyslog\fR(3) +for logging errors and warnings. At startup or when receiving signal SIGHUP, +\fBypbind\fR +parses the file +\fI/etc/yp.conf\fR +and tries to use the entries for its initial binding. +.PP +A broadcast entry in the configuration file will overwrite a ypserver/server entry and a ypserver/server entry broadcast. If all given server are down, +\fBypbind\fR +will +\fBnot\fR +switch to use broadcast. +\fBypbind\fR +will try at first +\fI/etc/hosts\fR +and then +\fBDNS\fR +for resolving the hosts names from +\fI/etc/yp.conf\fR. If +\fBypbind\fR +couldn't reconfigure the search order, it will use only +\fBDNS\fR. If +\fBDNS\fR +isn't available, you could only use IP-addresses in +\fI/etc/hosts\fR. +\fBypbind\fR +could only reconfigure the search order with glibc 2.x. If the +\fB-broadcast\fR +option is specified, +\fBypbind\fR +will ignore the configuration file. If the file does not exist or if there are no valid entries, +\fBypbind\fR +exit. +.PP +This +\fBypbind\fR +version listens for DBUS messages from NetworkManager. If no NetworkManager is running at startup, +\fBypbind\fR +will behave as usual and assumes there is a working network connection. If NetworkManager is running on the system, ypbind will only search and providde NIS informations, if NetworkManager tells that a network connection is available. If NetworkManager establishes a connection, +\fBypbind\fR +will reread all configuration files, registers at the local portmapper and try to search NIS servers. If NetworkManager drops a connection, +\fBypbind\fR +will unregister from portmapper. +.SH "OPTIONS" +.TP 3n +\fB-broadcast\fR +Send a broadcast to request the information needed to bind to a specific NIS server. With this option, +\fI/etc/yp.conf\fR +will be ignored. +.TP 3n +\fB-ypset\fR +Allow +\fBroot\fR +from any remote machine to change the binding for a domain via the +\fBypset\fR(8) +command. By default, no one can change the binding. This option is really insecure. If you change a binding for a domain, all the current known servers for this domain will be forgotten. If the new server goes down, +\fBypbind\fR +will use the old searchlist. +.TP 3n +\fB-ypsetme\fR +The same as +\fB-ypset\fR, but only +\fBroot\fR +on the local machine is allowed to chang the binding. Such requests are only allowd from +\fBloopback\fR. +.TP 3n +\fB-c\fR +\fBypbind\fR +only checks if the config file has syntax errors and exits. +.TP 3n +\fB-debug\fR +starts +\fBypbind\fR +in debug mode. +\fBypbind\fR +will not put itself into background, and error messages and debug output are written to standard error. +.TP 3n +\fB-broken-server\fR +lets +\fBypbind\fR +accept answers from servers running on an illegal port number. This should usually be avoided, but is required by some +\fBypserv\fR(8) +versions. +.TP 3n +\fB-no-ping\fR +\fBypbind\fR +will not check if the binding is alive. This option is for use with dialup connections to prevent +\fBypbind\fR +from keeping the connection unnessecarily open or causing autodials. +.TP 3n +\fB-f\fR configfile +\fBypbind\fR +will use +\fBconfigfile\fR +and not +\fI/etc/yp.conf\fR +.TP 3n +\fB-local-only\fR +\fBypbind\fR +will only bind to the loopback device and is not reacheable from a remote network. +.TP 3n +\fB-ping-interval\fR ping-interval +The default value for +\fBypbind\fR +to check, if a NIS server is still reacheable, is 20 seconds. With this options another frequency in seconds can be specified. +.TP 3n +\fB-no-dbus\fR +Disables DBUS support if compiled in. +.TP 3n +\fB--version\fR +Prints the version number +.SH "FILES" +.TP 3n +\fI/etc/yp.conf\fR +configuration file. +.TP 3n +\fI/var/yp/binding/[domainname].[version]\fR +binding file containing information about each NIS domain. +.TP 3n +\fI/var/run/ypbind.pid\fR +contains the process id of the currently running +\fBypbind\fR +master process. +.SH "SEE ALSO" +.PP + +\fBsyslog\fR(3), +\fBdomainname\fR(1), +\fByp.conf\fR(5), +\fBypdomainname\fR(8), +\fBypwhich\fR(1), +\fBypserv\fR(8), +\fBypset\fR(8) +.SH "AUTHOR" +.PP + +\fBypbind-mt\fR +was written by Thorsten Kukuk <kukuk@thkukuk.de>. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/man/ypbind.8.in new/ypbind-mt-1.20.2/man/ypbind.8.in --- old/ypbind-mt-1.20.1/man/ypbind.8.in 2006-09-13 14:43:37.000000000 +0200 +++ new/ypbind-mt-1.20.2/man/ypbind.8.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,252 +0,0 @@ -." -*- nroff -*- -." Copyright 1998, 1999, 2002, 2004, 2005, 2006 Thorsten Kukuk, Germany -." -." This file is part of ypbind-mt. -." -." Author: Thorsten Kukuk <kukuk@thkukuk.de> -." -." ypbind-mt is free software; you can redistribute it and/or -." modify it under the terms of the GNU General Public License as -." published by the Free Software Foundation; either version 2 of the -." License, or (at your option) any later version. -." -." ypbind-mt is distributed in the hope that it will be useful, -." but WITHOUT ANY WARRANTY; without even the implied warranty of -." MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -." General Public License for more details. -." -." You should have received a copy of the GNU General Public -." License along with ypbind-mt; see the file COPYING. If not, -." write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -." Boston, MA 02111-1307, USA. -." -.TH ypbind 8 "August 2006" "ypbind-mt Version @VERSION@" -.SH NAME -ypbind - NIS binding process -.SH SYNOPSIS -.B -ypbind -[ -.BR -c -] [ -.BR -d | -debug -] [ -.B -broadcast -] [ -.B -broken-server -] [ -.B -ypset -] [ -.B -ypsetme -] [ -.B -no-ping -] [ -.BR -f " configfile" -] [ -.B -local-only -] [ -.BR -ping-interval " ping-interval" -] [ -.B -no-dubs -] -.LP -.B -ypbind -.BR --version -.SH DESCRIPTION -.B ypbind -finds the server for NIS domains and maintains the NIS binding -information. The client (normaly the NIS routines in the standard C library) -could get the information over RPC from -.B ypbind -or read the binding files. The binding files resides in the directory -.B /var/yp/binding -and are conventionally named -.BR [domainname].[version] . -The supported versions are 1 and 2. -There could be several such files since it is possible for an NIS client -to be bound to more than one domain. -.LP -After a binding has been established, -.B ypbind -will send YPPROC_DOMAIN requests to the current NIS server at 20 seconds -intervals. If it doesn't get an response or the NIS server reports that he -doesn't have this domain any longer, -.B ypbind -will search for a new NIS server. All 15 minutes -.B ypbind -will check to see if the current NIS server is the fastest. If it find -a server which answers faster, it will switch to this server. -You could tell -.B ypbind -to use network broadcasts to find a new server, what is insecure, -or you could give it a list of known secure servers. -In this case -.B ypbind -will send a ping to all servers and binds to first one which answers. -.LP -Unless the option -.B -debug -is used, ypbind detaches itself from the controlling terminal and puts -itself into background. -.B ypbind -uses -.BR syslog (3) -for logging errors and warnings. -At startup or when receiving signal SIGHUP, -.B ypbind -parses the file -.B /etc/yp.conf -and tries to use the entries for its initial binding. -.LP -A broadcast entry in the configuration file will overwrite a ypserver/server -entry and a ypserver/server entry broadcast. If all given server are down, -.B ypbind -will -.B not -switch to use broadcast. -.B ypbind -will try at first -.B /etc/hosts -and then -.B DNS -for resolving the hosts names from -.BR /etc/yp.conf . -If -.B ypbind -couldn't reconfigure the search order, it will use only -.BR DNS . -If -.B DNS -isn't available, you could only use IP-addresses in -.BR /etc/hosts . -.B ypbind -could only reconfigure the search order with glibc 2.x. -If the -.B -broadcast -option is specified, -.B ypbind -will ignore the configuration file. -If the file does not exist or if there are no valid entries, -.B ypbind -exit. -.LP -This -.B ypbind -version listens for DBUS messages from NetworkManager. If no NetworkManager -is running at startup, -.B ypbind -will behave as usual and assumes there is a working network -connection. If NetworkManager is running on the system, ypbind will only -search and providde NIS informations, if NetworkManager tells that a network -connection is available. If NetworkManager establishes a connection, -.B ypbind -will reread all configuration files, registers at the local portmapper and -try to search NIS servers. If NetworkManager drops a connection, -.B ypbind -will unregister from portmapper. - -.SH OPTIONS -.TP -.B "-broadcast" -Send a broadcast to request the information needed to bind to a -specific NIS server. With this option, -.B /etc/yp.conf -will be ignored. -.TP -.B "-ypset" -Allow -.B root -from any remote machine to change the binding for a domain via the -.BR ypset (8) -command. By default, no one can change the binding. This option is really -insecure. If you change a binding for a domain, all the current known -servers for this domain will be forgotten. If the new server goes down, -.B ypbind -will use the old searchlist. -.TP -.B "-ypsetme" -The same as -.BR -ypset , -but only -.B root -on the local machine is allowed to chang the binding. Such requests -are only allowd from -.BR loopback . -.TP -.B "-c" -.B ypbind -only checks if the config file has syntax errors and exits. -.TP -.B "-debug" -starts -.B ypbind -in debug mode. -.B ypbind -will not put itself into background, and error messages and debug -output are written to standard error. -.TP -.B "-broken-server" -lets -.B ypbind -accept answers from servers running on an illegal port number. This should -usually be avoided, but is required by some -.BR ypserv (8) -versions. -.TP -.B "-no-ping" -.B ypbind -will not check if the binding is alive. This option is for use with -dialup connections to prevent -.B ypbind -from keeping the connection unnessecarily open or causing autodials. -.TP -.BR "-f" " configfile" -.B ypbind -will use -.B configfile -and not -.B /etc/yp.conf -.TP -.B "-local-only" -.B ypbind -will only bind to the loopback device and is not reacheable from -a remote network. -.TP -.BR "-ping-interval" " ping-interval" -The default value for -. B ypbind -to check, if a NIS server is still reacheable, is 20 seconds. -With this options another frequency in seconds can be specified. -.TP -.B "-no-dbus" -Disables DBUS support if compiled int. -.TP -.B "--version" -Prints the version number -.LP -.SH FILES -.TP -.B /etc/yp.conf -configuration file. -.TP -.BI /var/yp/binding/[domainname].[version] -binding file containing information about each NIS domain. -.TP -.B /var/run/ypbind.pid -contains the process id of the currently running -.B ypbind -master process. -.LP -.SH "SEE ALSO" -.BR syslog (3), -.BR domainname (1), -.BR yp.conf (5), -.BR ypdomainname (8), -.BR ypwhich (1), -.BR ypserv (8), -.BR ypset (8) - -.SH AUTHOR -.B ypbind-mt -was written by Thorsten Kukuk <kukuk@suse.de>. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/man/ypbind.8.xml new/ypbind-mt-1.20.2/man/ypbind.8.xml --- old/ypbind-mt-1.20.1/man/ypbind.8.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/ypbind-mt-1.20.2/man/ypbind.8.xml 2006-10-04 17:26:24.000000000 +0200 @@ -0,0 +1,320 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" + "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"> + +<!-- \-*\- nroff \-*\- --> +<!-- Copyright 1998, 1999, 2002, 2004, 2005, 2006 Thorsten Kukuk, Germany --> + +<!-- This file is part of ypbind\-mt. --> + +<!-- Author: Thorsten Kukuk <kukuk@thkukuk.de> --> + +<!-- ypbind\-mt is free software; you can redistribute it and/or --> +<!-- modify it under the terms of the GNU General Public License as --> +<!-- published by the Free Software Foundation; either version 2 of the --> +<!-- License, or (at your option) any later version. --> + +<!-- ypbind\-mt is distributed in the hope that it will be useful, --> +<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of --> +<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --> +<!-- General Public License for more details. --> + +<!-- You should have received a copy of the GNU General Public --> +<!-- License along with ypbind\-mt; see the file COPYING. If not, --> +<!-- write to the Free Software Foundation, Inc., 59 Temple Place \- Suite 330, --> +<!-- Boston, MA 02111\-1307, USA. --> + +<refentry id='ypbind8'> + <refmeta> + <refentrytitle>ypbind</refentrytitle> + <manvolnum>8</manvolnum> + <refmiscinfo class='sectdesc'>ypbind-mt</refmiscinfo> + </refmeta> + + <refnamediv id='name'> + <refname>ypbind</refname> + <refpurpose>NIS binding process</refpurpose> + </refnamediv> + + <refsynopsisdiv id='synopsis'> + <cmdsynopsis> + <command>ypbind</command> + <arg choice='opt'>-c </arg> + <group choice='opt'><arg choice='plain'>-d </arg><arg choice='plain'>-debug </arg></group> + <arg choice='opt'>-broadcast </arg> + <arg choice='opt'>-broken-server </arg> + <arg choice='opt'>-ypset </arg> + <arg choice='opt'>-ypsetme </arg> + <arg choice='opt'>-no-ping </arg> + <arg choice='opt'>-f <replaceable>configfile</replaceable></arg> + <arg choice='opt'>-local-only </arg> + <arg choice='opt'>-ping-interval <replaceable>ping-interval</replaceable></arg> + <arg choice='opt'>-no-dbus </arg> + </cmdsynopsis> + <cmdsynopsis> + <command>ypbind</command> + <arg choice='plain'>--version </arg> + </cmdsynopsis> + </refsynopsisdiv> + + + <refsect1 id='description'> + <title>DESCRIPTION</title> + <para> + <command>ypbind</command> finds the server for NIS domains and + maintains the NIS binding information. The client (normaly the + NIS routines in the standard C library) could get the information + over RPC from <command>ypbind</command> or read the binding files. + The binding files resides in the directory + <filename>/var/yp/binding</filename> and are conventionally named + <emphasis remap='B'>[domainname].[version]</emphasis>. The supported + versions are 1 and 2. There could be several such files since it + is possible for an NIS client to be bound to more than one domain. + </para> + + <para> + After a binding has been established, <command>ypbind</command> + will send YPPROC_DOMAIN requests to the current NIS server at 20 + seconds intervals. If it doesn't get an response or the NIS server + reports that he doesn't have this domain any longer, + <command>ypbind</command> will search for a new NIS server. + All 15 minutes <command>ypbind</command> will check to see if the + current NIS server is the fastest. If it find a server which answers + faster, it will switch to this server. You could tell + <command>ypbind</command> to use network broadcasts to find a new + server, what is insecure, or you could give it a list of known + secure servers. In this case <command>ypbind</command> will send + a ping to all servers and binds to first one which answers. + </para> + + <para>Unless the option +<option>-debug</option> +is used, ypbind detaches itself from the controlling terminal and puts +itself into background. +<command>ypbind</command> +uses +<citerefentry><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry> +for logging errors and warnings. +At startup or when receiving signal SIGHUP, +<command>ypbind</command> +parses the file +<filename>/etc/yp.conf</filename> +and tries to use the entries for its initial binding.</para> + +<para>A broadcast entry in the configuration file will overwrite a ypserver/server +entry and a ypserver/server entry broadcast. If all given server are down, +<command>ypbind</command> +will +<emphasis remap='B'>not</emphasis> +switch to use broadcast. +<command>ypbind</command> +will try at first +<filename>/etc/hosts</filename> +and then +<emphasis remap='B'>DNS</emphasis> +for resolving the hosts names from +<filename>/etc/yp.conf</filename>. +If +<command>ypbind</command> +couldn't reconfigure the search order, it will use only +<emphasis remap='B'>DNS</emphasis>. +If +<emphasis remap='B'>DNS</emphasis> +isn't available, you could only use IP-addresses in +<filename>/etc/hosts</filename>. +<command>ypbind</command> +could only reconfigure the search order with glibc 2.x. +If the +<option>-broadcast</option> +option is specified, +<command>ypbind</command> +will ignore the configuration file. +If the file does not exist or if there are no valid entries, +<command>ypbind</command> +exit.</para> + +<para>This +<command>ypbind</command> +version listens for DBUS messages from NetworkManager. If no NetworkManager +is running at startup, +<command>ypbind</command> +will behave as usual and assumes there is a working network +connection. If NetworkManager is running on the system, ypbind will only +search and providde NIS informations, if NetworkManager tells that a network +connection is available. If NetworkManager establishes a connection, +<command>ypbind</command> +will reread all configuration files, registers at the local portmapper and +try to search NIS servers. If NetworkManager drops a connection, +<command>ypbind</command> +will unregister from portmapper.</para> + + </refsect1> + + <refsect1 id='options'> + <title>OPTIONS</title> + <variablelist> + <varlistentry> + <term><option>-broadcast</option></term> + <listitem> + <para> + Send a broadcast to request the information needed to + bind to a specific NIS server. With this option, + <filename>/etc/yp.conf</filename> will be ignored. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-ypset</option></term> + <listitem> +<para>Allow +<emphasis remap='B'>root</emphasis> +from any remote machine to change the binding for a domain via the +<citerefentry><refentrytitle>ypset</refentrytitle><manvolnum>8</manvolnum></citerefentry> +command. By default, no one can change the binding. This option is really +insecure. If you change a binding for a domain, all the current known +servers for this domain will be forgotten. If the new server goes down, +<command>ypbind</command> +will use the old searchlist.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-ypsetme</option></term> + <listitem> +<para>The same as +<option>-ypset</option>, +but only +<emphasis remap='B'>root</emphasis> +on the local machine is allowed to chang the binding. Such requests +are only allowd from +<emphasis remap='B'>loopback</emphasis>.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-c</option></term> + <listitem> +<para><command>ypbind</command> +only checks if the config file has syntax errors and exits.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-debug</option></term> + <listitem> +<para>starts +<command>ypbind</command> +in debug mode. +<command>ypbind</command> +will not put itself into background, and error messages and debug +output are written to standard error.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-broken-server</option></term> + <listitem> +<para>lets +<command>ypbind</command> +accept answers from servers running on an illegal port number. This should +usually be avoided, but is required by some +<citerefentry><refentrytitle>ypserv</refentrytitle><manvolnum>8</manvolnum></citerefentry> +versions.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-no-ping</option></term> + <listitem> +<para><command>ypbind</command> +will not check if the binding is alive. This option is for use with +dialup connections to prevent +<command>ypbind</command> +from keeping the connection unnessecarily open or causing autodials.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-f</option> configfile</term> + <listitem> +<para><command>ypbind</command> +will use +<emphasis remap='B'>configfile</emphasis> +and not +<filename>/etc/yp.conf</filename></para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-local-only</option></term> + <listitem> +<para><command>ypbind</command> +will only bind to the loopback device and is not reacheable from +a remote network.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-ping-interval</option> ping-interval</term> + <listitem> +<para>The default value for +<command>ypbind</command> +to check, if a NIS server is still reacheable, is 20 seconds. +With this options another frequency in seconds can be specified.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-no-dbus</option></term> + <listitem> +<para>Disables DBUS support if compiled in.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>--version</option></term> + <listitem> +<para>Prints the version number</para> + </listitem> + </varlistentry> +</variablelist> + +</refsect1> + +<refsect1 id='files'><title>FILES</title> +<variablelist remap='TP'> + <varlistentry> + <term><filename>/etc/yp.conf</filename></term> + <listitem> +<para>configuration file.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><filename>/var/yp/binding/[domainname].[version]</filename></term> + <listitem> +<para>binding file containing information about each NIS domain.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><filename>/var/run/ypbind.pid</filename></term> + <listitem> +<para>contains the process id of the currently running +<command>ypbind</command> +master process.</para> + </listitem> + </varlistentry> +</variablelist> + +</refsect1> + + <refsect1 id='see_also'> + <title>SEE ALSO</title> + <para> + <citerefentry><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry>, + <citerefentry><refentrytitle>domainname</refentrytitle><manvolnum>1</manvolnum></citerefentry>, + <citerefentry><refentrytitle>yp.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>, + <citerefentry><refentrytitle>ypdomainname</refentrytitle><manvolnum>8</manvolnum></citerefentry>, + <citerefentry><refentrytitle>ypwhich</refentrytitle><manvolnum>1</manvolnum></citerefentry>, + <citerefentry><refentrytitle>ypserv</refentrytitle><manvolnum>8</manvolnum></citerefentry>, + <citerefentry><refentrytitle>ypset</refentrytitle><manvolnum>8</manvolnum></citerefentry> + </para> + </refsect1> + + <refsect1 id='author'> + <title>AUTHOR</title> + <para> + <emphasis remap='B'>ypbind-mt</emphasis> was written by + Thorsten Kukuk <kukuk@thkukuk.de>. + </para> + </refsect1> +</refentry> diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/src/ypbind-mt.c new/ypbind-mt-1.20.2/src/ypbind-mt.c --- old/ypbind-mt-1.20.1/src/ypbind-mt.c 2006-09-13 15:08:26.000000000 +0200 +++ new/ypbind-mt-1.20.2/src/ypbind-mt.c 2006-09-19 17:44:12.000000000 +0200 @@ -875,8 +875,11 @@ portmapper_disconnect (); exit (1); } + +#ifdef USE_DBUS_NM if (!is_online) portmapper_disconnect (); +#endif pthread_create (&ping_thread, NULL, &test_bindings, NULL); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ypbind-mt-1.20.1/src/ypbind_dbus_nm.c new/ypbind-mt-1.20.2/src/ypbind_dbus_nm.c --- old/ypbind-mt-1.20.1/src/ypbind_dbus_nm.c 2006-09-13 14:02:07.000000000 +0200 +++ new/ypbind-mt-1.20.2/src/ypbind_dbus_nm.c 2006-10-04 13:59:44.000000000 +0200 @@ -249,6 +249,7 @@ log_msg (LOG_ERR, "Connection to D-BUS system message bus failed: %s.", error.message); dbus_error_free (&error); + connection = NULL; goto out; } @@ -267,6 +268,8 @@ error.name, error.message); dbus_error_free (&error); + dbus_connection_close (connection); + connection = NULL; goto out; } @@ -280,6 +283,8 @@ log_msg (LOG_ERR, "Error adding match, %s: %s", error.name, error.message); dbus_error_free (&error); + dbus_connection_close (connection); + connection = NULL; goto out; } @@ -310,7 +315,12 @@ return 1; } else - return 0; + { + if (debug_flag) + log_msg (LOG_DEBUG, "No connection possible, assume online mode"); + is_online = 1; + return 0; + } } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org