.\" -*- nroff -*- .\" Copyright (C) 2002, 2007, 2010 Thorsten Kukuk .\" This file is part of the yp-tools. .\" Author: Thorsten Kukuk .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License version 2 as .\" published by the Free Software Foundation. .\" .\" This program 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 this program; if not, write to the Free Software Foundation, .\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. .\" .TH yptest 8 "April 2010" "YP Tools 4.2.3" .SH NAME yptest - test NIS configuration .SH SYNOPSIS .B yptest [\fB-q\fR] [\fB-d \fIdomain\fR] [\fB-h \fIhost\fR] [\fB-m \fImap\fR] [\fB-u \fIuser\fR] .LP .SH DESCRIPTION .BR yptest calls various NIS functions to check if the NIS configuration is correct and works as expected. .LP .SH OPTIONS .TP .B \-q Be quiet, don't print messages .TP .BI \-d " domainname" Specify a domain other than the default domain as returned by .BR domainname (8). This option is not supported by all tests. .TP .BI \-h " hostname" Query ypserv on .I hostname instead of the currently used one. This option is not supported by all tests. .TP .BI \-m " map" Use the map .I map for the tests instead of .I passwd.byname. This option should be used if the default map does not exist. .TP .BI \-u " user" Use the account .I user instead of .I nobody. This option should be used if the .I nobody account does not exist in the map used for testing .RI ( passwd.byname or the one given with the .B \-m option). .SH "SEE ALSO" .BR domainname (8), .BR ypbind (8), .BR ypcat (8), .BR ypmatch (1), .BR ypserv (8), .BR yppoll (8), .BR ypwhich (1) .LP .SH AUTHOR .B yptest is part of the .B yp-tools package, which was written by Thorsten Kukuk .