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;
}