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-2598: Why does adedit provide commands with similar functions starting with create_* and new_*?

Centrify DirectControl ,  

12 April,16 at 11:09 AM

Applies to: All version of DirectControl agent on All Platforms

Questions:

Why does adedit provide commands with similar functions starting with create_* and new_*?
What are the differences between the two?

Answer:

Most of the create_* functions are procedures inside the ade_lib.tcl script.
These are based on the new_* functions built into the binary provided by adedit. 

create_* usually provides more functionality than the built-in binary 
new_* commands are used by the binary for building up the create_* procedures.

Example:

For newzg and create_group, the newzg command only sets the new zone group as the currently selected zone group in MEMORY.
The new zone group has no field values set.

But the create_group is a procedure based on newzg and will execute the creation and set GID and UNIX group names in AD:

proc create_group {adg name gid} {
new_zone_group $adg;
szgf name $name;
szgf gid $gid;
save_zone_group;
}

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

Related Articles

No related Articles