select_nis_map command to retrieve a NIS map in the currently selected zone from Active Directory. This command stores the NIS map in memory, and makes it the currently selected NIS map for subsequent ADEdit commands. The NIS map remains selected until you select another NIS map or zone, delete the NIS map, or end the ADEdit session.
If you use ADEdit commands such as
add_map_entry to change settings for the selected NIS map, you must save the selected NIS map using the
save_nis_map command for your changes to take effect in Active Directory. If you select another NIS map or end the ADEdit session before saving the currently selected NIS map, your changes will be lost.
This command takes no options.
This command takes the following arguments:
Required. Specifies the name of the NIS map to retrieve from Active Directory.
This command returns nothing if it runs successfully.
This example looks for the NIS map named “Printers” in the current zone and, if found, selects it as the current NIS map.
Before you use this command, you must have a currently selected zone stored in memory. The following commands enable you to view and select NIS maps:
- get_nis_maps returns a Tcl list of NIS maps in the current zone.
- list_nis_maps returns a list to stdout of all NIS maps in the current zone.
- new_nis_map creates a new NIS map and stores it in memory.
After you have a NIS map stored in memory, you can use the following commands to work with that map:
- add_map_entry or add_map_entry_with_comment adds an entry to the current NIS map stored in memory.
- delete_map_entry removes an entry from the current NIS map.
- delete_nis_map deletes the selected NIS map from Active Directory and from memory.
- get_nis_map or get_nis_map_with_comment returns a Tcl list of the map entries in the current NIS map.
- get_nis_map_field reads a field value from the current NIS map.
- list_nis_map or list_nis_map_with_comment lists to
stdoutthe map entries in the current NIS map.
- save_nis_map saves the selected NIS map with its current entries to Active Directory.