save_nis_map

Use the save_nis_map command to save the currently selected NIS map stored in memory to Active Directory. You must save the NIS map for any changes you make using ADEdit 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.

Zone Type

Not applicable

Syntax

save_nis_map

Abbreviation

svnm

Options

This command takes no options.

Arguments

This command takes no arguments.

Return Value

This command returns nothing if it runs successfully.

Examples

save_nis_map

This example saves the currently selected NIS map to Active Directory.

Before you use this command, you must have a currently selected NIS map stored in memory. The following commands enable you to view and select a NIS map:

  • get_nis_maps returns a Tcl list of NIS maps in the current zone.
  • list_nis_maps lists to stdout the NIS maps in the current zone.
  • new_nis_map creates a new NIS map and stores it in memory.
  • select_nis_map retrieves a NIS map from Active Directory 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_entryor add_map_entry_with_comment adds a map entry to the currently selected NIS map.

  • delete_map_entry removes an entry from the currently selected 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 currently selected NIS map.
  • get_nis_map_field reads a field value from the currently selected NIS map.
  • list_nis_map or list_nis_map_with_comment lists to stdout the map entries in the currently selected NIS map.