Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-7049:Create NIS maps through adedit

22 June,16 at 06:55 PM

Question: 

How to create NIS map automount entries through adedit and specify its options? 


Answer: 

The basic flow of creating NIS maps and their entries as follows: 

  1. Bind to a DC.
  2. Select a zone.
  3. Create a new NIS map, if necessary. 
  4. Create map entries. 

For example, the following commands will create an automount NIS map with rw option. 
 

#adedit
>bind dc01@always.sunny freynolds
freynolds@dc01@ALWAYS.SUNNY's password: 
>select_zone "CN=Paddy,CN=Zones,OU=Centrify,DC=always,DC=sunny"
>new_nis_map -automount auto.home
>save_nis_map
>add_map_entry_with_comment Charlie "-rw    iasip:/home/ckelly" "For Charlie"
>get_nis_map_with_comment 
{Charlie:1{-rw    iasip:/home/ckelly} {For Charlie}}

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.