Configuring Active Directory using CLI on systems running Server Administrator
You can use the omconfig preferences dirservice command to configure the Active Directory service. The productoem.ini file is modified to reflect these changes. If the adproductname is not present in the productoem.ini file, a default name is assigned.
The default value is system name-software-product name, where system name is the name of the system
running Server Administrator, and softwareproduct name refers to the name of the software product defined in omprv64.ini (that is, computerName-omsa).
NOTE: This command is applicable only on Windows.
|
NOTE: Restart the Server Administrator service after you have configured Active Directory.
|
The following table shows the valid parameters for the command.
| name=value pair | Description |
|---|---|
| prodname=<text> | Specifies the software product to which you want to apply the Active Directory configuration changes. Prodname refers to the name of the product defined in omprv64.ini. For Server Administrator, it is omsa. |
| enable=<true | false> |
|
| adprodname=<text> | Specifies the name of the product as defined in the Active Directory service. This name links the product with the Active Directory privilege data for user authentication. |