Domains

Dernière rubrique modifiée : 2009-05-22

After the schema and then the forest are prepared, it's time to prepare the Office Communications Server Active Directory domain. This procedure requires Domain Admins credentials in the proposed Office Communications Server domain. Using the /Domain parameter without a value defaults to the local domain.

Dd572423.note(fr-fr,office.13).gifRemarque :
For details about preparing domains, see Préparation des services de domaine Active Directory pour Office Communications Server 2007 R2 in the Deployment documentation.

Preparing the Domain

The DomainPrep action prepares a domain to host Office Communications Server 2007 R2 by adding the necessary ACEs to universal groups that grant permissions to hosts and manage users within the domain. The syntax for the DomainPrep action follows.

LCSCmd.exe /Domain[:<domain FQDN>] /Action:DomainPrep [/PDCRequired[:{TRUE|FALSE}]]

Such as:

LCSCmd.exe /Domain:contoso.com /Action:DomainPrep

By default, DomainPrep uses the PDC in the current or specified domain and the PDC in the root domain. However, the optional parameter /PDCRequired can be specified to use any domain controller in both the current or specified domain and in the root domain. It can be preferable to use a domain controller other than the PDC when the PDC is not available or when network connectivity to the PDC is poor.

Check Domain Preparation

Verify that DomainPrep was successful by using the CheckDomainPrepState action as follows.

LCSCmd.exe /Domain[:<domain FQDN>] /Action:CheckDomainPrepState

Such as:

LCSCmd.exe /Domain:contoso.com /Action:CheckDomainPrepState

Before the domain has been prepared, the log generated by CheckDomainPrepState will show a Domain Setting of Not Ready. After the domain has been successfully prepared, the Domain Setting will be Ready.

Unprepping a Domain

DomainUnPrep reverses all actions initiated by the DomainPrep command and is useful in environments that have orphaned entries or settings. All activated Enterprise Edition or Standard Edition servers in the domain should be deactivated before you run this action. The following command runs the DomainUnPrep action.

LCSCmd.exe /Domain[:<Domain FQDN>] /Action:DomainUnPrep

Such as:

LCSCmd.exe /Domain:contoso.com /Action:DomainUnPrep

For details about domain actions, such as creating, checking, or removing permissions, see Delegating Permissions on a Domain.