ypclear - Windows command-line utility to clear the Network Information Service (NIS) server cache for an NIS map and its dependent maps
ypclear [-d domainName] [-t] [-h nisServer] mapname ypclear -x
The ypclear(1w) Windows command-line utility tells the specified Network Information Service (NIS) server in a specified domain that a map has changed and that the server should clear its cache. Without this notification, the NIS server can sometimes serve out-of-date information.
The ypclear command can be used to rebuild the map cache of an NIS server that still displays obsolete map data, even when Active Directory shows a current and accurate map of the network. Typically, using ypclear corrects the problem.
The ypclear command accepts the following options and arguments:
Specifies the NIS domain. If this option is not used, the NIS domain is assumed to be the domain named in the DEFAULT_NIS_DOMAIN environment variable.
Inhibits map nickname translation.
Specifies the name of the NIS server. If this option is not used, the NIS server is assumed to be the server named in the NIS_SERVER environment variable.
Displays the map nickname translation table.