Exchange 2007 Setup checks if the organization is up to date by checking the objectVersion attribute in the Organization container in the Active Directory Configuration partition. The objectVersion of Exchange 2007 is 10666.
Setup /PrepareAD or Setup /p must be run from the same Active Directory site and domain as schema master. This is separate from extending the schema. Instead, you are using the schema master as a reference point to make configuration changes to avoid conflicts arising from replication latency.
Setup /p has the following requirements:
-
All domains must be available and able to be contacted on port 389.
-
Use an account with Enterprise Admins permissions.
Recognize that all domains in the forest must be able to be contacted regardless of whether they have Exchange 2003 or Exchange 2000 installed. This might be a challenge in complex Active Directory environments where connectivity between domains is restricted by firewalls.
Exchange 2007 has a new delegated administration model. Setup /p creates the following Exchange universal security groups (USG) in the Active Directory root domain in the Microsoft Exchange Security Groups organizational unit (OU):
-
ExchangeLegacyInterop
-
Exchange Organization Administrators
-
Exchange Recipient Administrators
-
Exchange View-Only Administrators
-
Exchange Servers
The ExchangeLegacyInterop group contains Exchange 2003 or Exchange 2000 bridgehead servers. A bridgehead server is added to this group when the first Exchange 2007 Hub Transport server is installed. The remaining groups are used for delegating administrative access to Exchange 2007. The groups can later be moved to different organizational units. Setup makes this possible by adding these groups to the Active Directory otherWellKnownObjects list. A well known GUID for each of the groups is stored along with the distinguished name (DN) of the object, and Active Directory updates the DN of the object if it is moved. The otherWellKnownObjects attribute is located on the CN=Microsoft Exchange, CN=Services, CN=Configuration container. Microsoft Exchange security groups are shown in Figure 4.
Figure 4 Microsoft Exchange security groups.gif)
For a new organization, you must specify an organization name that will be applied immediately. Setup will not create a placeholder object that is renamed when the first server is installed, as it did in Exchange 2003.
Setup /p creates the following containers in the Active Directory Configuration partition:
-
Exchange Administrative Group (FYDIBOHF23SPDLT)
-
Exchange Routing Group (DWBGZMFD01QNBJR)
These containers are only for Exchange 2007 servers.
Setup /p imports the Rights.ldf file, which adds the Exchange-Information extended right. To view this extended right, run Ldp.exe, and do the following:
-
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. Expand Configuration, expand Extended-Rights, and then select Exchange-Information. The right pane in Ldp.exe displays the following information:
-
dn: CN=Exchange-Information,CN=Extended-Rights,<ConfigurationContainerDN>
-
changetype: ntdsSchemaAdd
-
displayName: Exchange Information
-
objectClass: controlAccessRight
-
rightsGuid: 1F298A89-DE98-47b8-B5CD-572AD53D267E
-
validAccesses: 48
You can also view the security descriptors for the domain and scroll to find the rightsGUID 1F298A89-DE98-47b8-B5CD-572AD53D267E. Previously, when you validated the Setup /PrepareLegacyExchangePermissions step, the object type was Unknown. After the Rights.ldf file has been imported, the access control entry for the Exchange-Information extended right is no longer Unknown when viewed with Ldp.exe. This is shown in Figure 5.
Figure 5 Object Ace Type is Exchange-Information.gif)
Setup /p creates the following containers in the Active Directory root domain partition:
-
In a new organization, Setup /p creates a Microsoft Exchange System Objects container.
-
The objectVersion attribute on the Microsoft Exchange System Objects container stores the DomainPrep level.
-
The objectVersion is 10628 for Exchange 2007.
-
Grant Exchange Admin rights on domain container and Microsoft Exchange System Objects.
-
Create Exchange Install Domain Servers group and add to the Exchange Servers USG in the root domain. This is shown in Figure 6.
Figure 6 Install Domain Servers group.gif)
When an Exchange 2007 server is installed, the computer account is added to the Exchange Servers USG, which is located in the root domain by default. If the server being installed is in a different domain, Exchange services may fail to start during setup because the Exchange Servers membership has not replicated to the local domain. When installing an Exchange 2007 server, Setup adds the computer account to the local domain group Exchange Install Domain Servers and also to the Exchange Servers group, but the permissions given to the local domain group are enough for services to start.
Setup /p grants the seSecurityPrivilege (Manage Auditing and Security Log) to the Exchange Servers group.