
Apply Legacy Exchange Permissions
The following sections provide the background, execution, and verification information needed to add an Exchange 2007 server to an existing Exchange 2003 or Exchange 2000 organization.
Background
The following is a review of how the Exchange 2003 or Exchange 2000 Recipient Update Service (RUS) is granted rights to update objects in Active Directory. A property set is a collection of attributes in Active Directory, and each attribute can be a member of only one single property set. The predefined Public Information property set in Active Directory contains attributes such as Proxy Addresses and Email Addresses. The Exchange 2003 or Exchange 2000 RUS is granted rights to update this property set to set e-mail addresses. Exchange 2003 or Exchange 2000 DomainPrep grants the Exchange Enterprise Servers group rights to these property sets at the domain level. The computer account of the Exchange 2003 or Exchange 2000 RUS server is added to the Exchange Domain Servers group and the Exchange Domain Servers group is a member of the Exchange Enterprise Servers group. Hence, the RUS has privileges to modify e-mail addresses on the Public Information property set for a particular domain.
But how can a property set simplify delegated administration? The property set can be used for granting access to a subset of an object's attributes by setting a single access control entry (ACE), rather than setting an ACE for each property. For further details about property sets, see the Exchange Server Team Blog article Property Sets in Exchange Server 2007.
Note: |
|---|
|
The content of each blog and its URL are subject to change without notice. The content within each blog is provided "AS IS" with no warranties, and confers no rights. Use of included script samples or code is subject to the terms specified in the Microsoft Terms of Use.
|
Exchange 2007 has more granular delegated administrative roles, such as Recipient Admin, that restrict the scope of tasks an administrator can perform. To facilitate this, the Exchange-Information and Exchange Personal Information property sets are created when the schema is extended for Exchange 2007. These property sets only contain Exchange-related attributes and enable more granular delegation of recipient administration than was possible using the built-in Active Directory property sets. Because an attribute can only be a member of a single property set, attributes such as Proxy Addresses and Email Addresses are moved from the Active Directory Public Information property set to the Exchange-Information property set.
In Exchange 2007, mail-enabled objects are created fully provisioned with e-mail addresses applied immediately, so there is no longer any need for RUS. The challenge is that during coexistence, the Exchange 2003 or Exchange 2000 RUS does not have rights to the Exchange-Information and Personal Information property sets. As soon as the schema is extended for Exchange 2007, the creation of any Exchange 2003 or Exchange 2000 mail-enabled objects cannot be completed. The remainder of this section describes how Setup solves this issue.
Execution
Setup /PrepareLegacyExchangePermissions or Setup /pl can be run from any Active Directory site or domain in the forest. Setup queries the global catalog in the domain where it is executed and confirms that an Exchange legacy (Exchange 2003 or Exchange 2000) server exists in the organization and then identifies domains where Exchange 2003 or Exchange 2000 DomainPrep has been run by looking for the following groups:
-
Exchange Enterprise Servers (EES)
-
Exchange Domain Servers (EDS)
Caution: |
|---|
|
Do not rename or move these groups.
|
The Microsoft Exchange Server Best Practices Analyzer Tool Exchange 2007 Readiness Check identifies the types of issues described in Microsoft Knowledge Base article 324949, Redirecting the users and computers containers in Windows Server 2003 domains. Setup does not need to be able to contact every domain in the forest because Setup determines from the global catalog which domains have EES and EDS. Setup only needs to be able to contact domains where Exchange 2003 or Exchange 2000 DomainPrep has been run. Where Setup needs to make contact, Setup will use port 389 to connect to the target domains.
Setup /pl grants the following rights in each Exchange 2003 or Exchange 2000 domain where DomainPrep is identified as having been run:
-
Grants the Exchange Enterprise Servers group write access to the Exchange-Information property set on the root of the domain.
-
Grants Authenticated Users read access to the Exchange-Information property set on the root of the domain.
-
Grants Exchange Enterprise Servers read/write access to the Exchange-Information property set on the AdminSDHolder object. For a description of the AdminSDHolder object, see Microsoft Knowledge Base article 232199, Description and Update of the Active Directory AdminSDHolder Object.
-
Grants Exchange Domain Servers write access to the Exchange-Information property set on the Exchange Organization container in the Active Directory Configuration partition.
If you want to execute Setup /pl from a single location and set permissions in all the identified target domains, you must run the command using an account that has Enterprise Admin permissions. If you prefer not to use an account with Enterprise Admin permissions, you must divide the Setup tasks into individual steps.
If the Active Directory forest has a single domain, you must use an account that has Domain Administrator permissions and Exchange Full Administrator permissions in the root domain. From a command prompt, run the following command.
setup /pl:<root domain's fully qualified domain name>
If Active Directory has multiple domains, Setup /pl can be targeted at a specific domain. To run the command, you must use an account that has Domain Administrator permissions and Exchange Full Administrator permissions in the domain that you specify. From a command prompt, run the following command.
setup /pl:<fully qualified domain name>
After Exchange 2007 has been installed, if Exchange 2003 or Exchange 2000 DomainPrep is run against a newly added domain or an existing domain, you should prepare the legacy Exchange permissions again. In this case, either run Setup /pl with Enterprise Admin rights from the forest root domain, or in the domain in which you ran DomainPrep, execute Setup /pl:<new domain's fully qualified domain name> with new Domain Admins and Exchange Organization Administrators rights. This is shown in Figure 1.
Figure 1 Setup /PrepareLegacyExchangePermissions.gif)
Verification
After Setup has completed, you can verify that the permissions have been applied and replicated in Active Directory. To do this, perform the following:
-
Launch Ldp.exe.
-
Click Connection, and then click Connect (leave server blank). Click OK.
-
Click Connection, and then click Bind (leave credentials blank). Click OK.
-
Click View, and then click Tree.
-
Enter the fully qualified domain name (FQDN) (for example, DC=northwindtraders,DC=co,DC=uk). Click OK.
-
Right-click the domain (for example, northwindtraders.co.uk), click Advanced, and then click Security Descriptor. Click OK.
The GUID for the Exchange-Information extended right is 1F298A89-DE98-47b8-B5CD-572AD53D267E.
-
Scroll through the results pane and look for Object Ace Type: Unknown with this GUID.
This is shown in Figure 2.
Figure 2 Object Ace Type is unknown.gif)
The Exchange-Information extended right is defined later in the Setup process and initially appears as Unknown. The Exchange-Information property set is created when the schema is extended and the Exchange-Information extended right is created during Setup /PrepareAD.