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.