Use ypmatch to view an entry in an NIS map
Applies To: Windows Server 2008
To use ypmatch to view an entry in an NIS map
To use ypmatch to view an entry in an NIS map
At a command prompt, type one of the following:
ypmatch [-d Domain] [-h HostName] [-t] [-k] Key [Key ...] MapName
or
ypmatch -x
The following table describes the arguments that are used with the ypmatch command to view entries in NIS maps. To view the complete syntax for this command, at a command prompt, type ypmatch /?.
Argument | Description |
---|---|
Domain |
A domain other than the default domain. |
HostName |
The name of the Network Information Service (NIS) server to which you want to send the request. |
-t |
Inhibits translation of nickname to map name. |
-k |
Prints a key followed by a colon before printing the value of the key. This is useful only if your keys do not have duplicate values, and you do not have an unreasonable number of keys to clutter the output. |
Key |
The key for which you want to print the value. |
MapName |
The name or the nickname of a map. |
-x |
Lists the nicknames as specified by the MapName parameter. |
Note
There is no Windows interface method for this procedure.