ypwhich(1yp)ypwhich(1yp)Name
ypwhich - determine which host is the current YP server or map master.
Syntax
ypwhich [-d domain] [-V1] [-V2] [hostname]
ypwhich [-d domain] [-m mname][-t]]
ypwhich -x
Description
The command identifies the YP server that currently supplies yellow pages services to a YP client. It also identifies which YP server is
the master for a map. If invoked without arguments, returns the host name of the YP server for the local machine. If hostname is speci-
fied, checks that machine to find out which YP master it is using.
Refer to and for an overview of the yellow pages.
Options-V1
Identifies which server is serving v.1 YP protocol-speaking client processes.
-V2
Identifies which server is serving v.2 YP protocol-speaking client processes.
If neither version is specified, attempts to locate the server that supplies the current v.2 services. If there is no v.2 server cur-
rently bound, attempts to locate the server supplying the v.1 services. Since YP servers and YP clients are both backward compatible,
the user need seldom be concerned about which version is currently in use.
-d Uses domain instead of the current domain.
-m mname
Finds the master YP server for a map. No hostname can be specified with -m. The mname argument can be a mapname, or a nickname for a
map.
-t Inhibits nickname translation and is useful if there is a mapname identical to a nickname.
-x Displays the map nickname table. This option lists the nicknames (mnames) that the command knows of, and indicates the mapname associ-
ated with each nickname.
See Alsoypfiles(5yp), rpcinfo(8nfs), ypserv(8yp), ypsetup(8yp)ypwhich(1yp)
Check Out this Related Man Page
ypwhich(1) User Commands ypwhich(1)NAME
ypwhich - return name of NIS server or map master
SYNOPSIS
ypwhich [-d domain] [ [-t] -m [mname] | [-Vn] hostname]
ypwhich -x
DESCRIPTION
ypwhich returns the name of the NIS server that supplies the NIS name services to a NIS client, or which is the master for a map. If
invoked without arguments, it gives the NIS server for the local machine. If hostname is specified, that machine is queried to find out
which NIS master it is using.
Refer to ypfiles(4) for an overview of the NIS name services.
OPTIONS -d domain Use domain instead of the default domain.
-t This option inhibits map nickname translation.
-m mname Find the master NIS server for a map. No hostname can be specified with -m. mname can be a mapname, or a nickname for a map.
When mname is omitted, produce a list of available maps.
-x Display the map nickname translation table.
-Vn Version of ypbind, V3 is default.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO ypfiles(4), attributes(5)SunOS 5.11 7 Apr 1995 ypwhich(1)
New to ws2003 standard edition. I configured this server to be a domain controler, terminal services server and the cal server as well. I added users and joined them to the remote desktop users group. Still cant log in as a configured user. I get the erro message that this user needs to join the... (1 Reply)
Is there a way to find out what name a client is using to connect to a server? For example: client is telnet'ing or ftp'ing to Server B.domain.com, using name C.domain.com. (B and C resolve to the same IP). Can we, on the server B find out that the client used C.domain.com to connect? I have tried... (1 Reply)
Hello guys,
what is a sure-shot single command to find out if the NIM environment is working properly from both master as well as client side? (2 Replies)
Hello All,
I believe my NIM master is fine. lsnim and cat /etc/niminfo gives me the right output. While doing "lsnim" on a client machine, I get ksh:lsnim:"not found".
Please someone be nice enough to explain what are the steps to verify the master and client connectivity to do all the NIM... (3 Replies)
Hi,
i would like to know how can i find , in a client machine , the nim server.
the nim server that this machine have , if the machine have it
Thanks :confused: (1 Reply)
I have a master host I want to use to issue some start/stop of LDAP services.
I changed the client hosts /etc/sudoers to have
Defaults:infra !requiretty
The master host kicks off the jobs using the infra account doing a ssh session to the infra account on the clients.
#!/bin/ksh
ps -fu... (5 Replies)
Hi.
I change my client's IP and hostname but I forgot to change anything on the master. How can I redefine or modify my client's resource from my master, or with using smit niminit from my client ?
Tks (2 Replies)
Hello, I have an AIX6.1 machine which is a nim client to my nim master which is also AIX6.1 machine. I had some problem to perform an installation on my client using smit nim . i removed /etc/niminfo file in order to do the initialization again but when i run the command niminit -a name=client... (0 Replies)
OK HPUX masters I need help. I have a HPUX 11.23 server that I am using as a Ignite server that services two HPUX services for backups only. The other day I noticed that our Make Net Recoveries were failing. Upon attempting to login to the server SSH and could not I then tried to ping and could... (6 Replies)