validate_license
Use the validate_license
command to specify a path to the Centrify license container and determine if there is a valid license. If there is a valid license, the command stores an indicator in the ADEdit current context. If the command does not find a valid license, it reports an error and exits.
ADEdit requires a valid license before a zone is created. The create_zone and create_computer_role commands do an implicit search for a valid license. For example, you can call create_zone
and let it attempt to find the container and validate the license. If that command fails to find a valid license, use validate_license
to validate the license container from an explicit path.
You can call the validate_license
command multiple times. Successive indicators take precedence. The command writes separate indicators for each forest—that is, each license is valid for a forest. You can use the show license command to see the list of forests that have been found to have a valid license.
Do not call validate_license
before you bind to the domain.
The validate_license
context is deleted when ADEdit exits.
Zone type
Not applicable
Syntax
validate_license path
Abbreviation
vl
Options
This command takes no options.
Arguments
This command takes the following argument:
Argument | Type | Description |
path |
string |
Required. Specifies the path is the license container’s distinguished name (DN). |
Return value
This command returns nothing.
Examples
validate_license “CN=Licenses,OU=Centrify,DC=acme,DC=com”
This example looks in the acme.com/Centrify/Licenses
container for a valid license.
Related commands
The following commands perform actions related to this command:
- bind defines the current domain.
- create_zone does in implicit validate license during execution.
- show with the
license
option lists all forests that have a valid license.