validate_license
Use the validate_license command to specify a path to the Delinea 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=Acme,DC=acme,DC=com”
This example looks in the acme.com/Acme/Licenses container for a valid license.
Related Commands
The following commands perform actions related to this command:
binddefines the current domain.create_zonedoes in implicit validate license during execution.showwith thelicenseoption lists all forests that have a valid license.