nismap

NAME

nismap - Windows command-line utility to manage Network Information Service (NIS) maps

SYNOPSIS

nismap add [common_option[...]] -e "mapentry" 
		 [-r {yes | no}] [-c conflictfile] mapname
nismap mod [common_option[...]] -e "mapentry" -k key mapname
nismap del [common_option[...]] -k key mapname
nismap create [common_option[...]] -i fieldnum -g separator mapname

DESCRIPTION

The nismap Windows command-line utility manages the Network Information Service (NIS) map specified by mapname maintained by Server for NIS on a local computer or a remote computer. If you are logged on with an account that does not have the required privileges, you can specify the user name and password of an account that does. The specific action that nismap performs depends on the command argument you specify.

In addition to specific command arguments, nismap accepts the following common options and arguments, represented by common_option in the command synopsis:

-a AD_domain
The name of the NIS domain in Active Directory. This option is not available for the create command argument.
-f logfile
Specifies the fully qualified path and name of the log file. Logged events are appended to this file. The default path and file name is %temp%\conflicts.log.
-s server
Specifies the name of the domain controller. The default is the domain controller of the domain of the computer on which the command is executed.
-u usr
Specifies the user name of the user whose credentials are to be used. It might be necessary to add the domain name to the user name in the form domain\username.
-p pword
Specifies the password of the user specified using the -u option. If you specify the -u option but omit the -p option, you are prompted for the user's password.
-h/-?
Displays usage information for the command.

The following command arguments are accepted by nismap:

add
Adds a map entry. The following options and arguments are used with add:
-e "mapentry"
Specifies the new map entry as a string in the appropriate NIS map format. The string must be enclosed in quotation marks (" ").
-r {yes | no}
Specifies whether the existing object in Active Directory is to be replaced with this entry. The default is no.
-c conflictfile
Specifies the name of the file in which conflict information is to be recorded. If this option is not provided, a default file name is used.
mod
Modifies an existing map entry. The following options and arguments are required with mod
-e "mapentry"
Specifies the replacement map entry as a string in the appropriate NIS map format. The string must be enclosed in quotation marks (" ").
-k key
Specifies the search key that identifies the map entry to be modified.
del
Deletes an existing map entry. The following option and argument are required with del:
-k key
Specifies the search key that identifies the map entry to be deleted.
create
Creates a structure for a nonstandard map. The following options and arguments are required with create:
-i fieldnum
Specifies the field number of the key field.
-g separator
Specifies the character that separates fields in the map.

NOTES

SEE ALSO

Server for NIS