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-28789: Can ADEdit view/edit RFC2307 NIS Netgroups?

Authentication Service ,  

25 March,20 at 05:18 PM

Question: 

Can ADEdit view/edit RFC2307 NIS Netgroups?

 

Answer:

Yes, the Centrify ADEdit tool can view and edit the RFC2307 NIS Netgroups. As the RFC2307 NIS Netgroup information is stored in an Active Directory object, the generic AD object commands can be utilized to view and edit the RFC2307 NIS Netgroup object. 

 

Below is a sample of how to select and view a created RFC2307 NIS Netgroup with adedit commands:


bind [domain] [username] [password] (This command binds to the domain so that the subsequent commands know what domain to make the changes on)

select_object "CN=[RFC2307 netgroup name],CN=netgroup,CN=Rfc2307NisMaps,[zone DN]" ( This command selects an existing netgroup object in AD to view)

get_object_field nisNetgroupTriple (Returns the triples that are apart of the selected netgroup object)

 

ex.

bind stormten.ninja administrator password

select_object "CN=test,CN=netgroup,CN=Rfc2307NisMaps,CN=UNIX,CN=Global,CN=Zones,OU=Centrify,DC=stormten,DC=ninja"

get_object_field nisNetgroupTriple

 

returns:

(db1,greg,stormten.ninja) (dc2,kyle,stormten.ninja) (dc1,jim,stormten.ninja)

 

Please see our ADEdit Command Reference and Scripting Guide for more information on the Generic AD object commands.

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