Expand the Active Directory schema
If the user will install Exchange Server 2007 as a member of the schema and enterprise administrators group, installing Exchange will automatically expand the Active Directory schema and you do not have to run Active Directory extension manually. . This procedure is not too strange in large environments, where Active Directory and Exchange Management are severely separated.
For that reason, the Active Directory administrator of Windows Server 2003 - a member of the enterprise administration group and schema can extend the Active Directory schema without installing Exchange Server 2007.
Exchange Server 2003 uses the Setup / Forestprep switch to extend Windows' Active Directory schema, but Exchange Server 2007 uses a new tool to extend the Active Directory schema called SETUP.COM, this schema has. Can be used with many different parameters. It is one of the parameters that you need to extend the Active Directory schema .
Setup.com / prepareschema
This installation parameter is meant to add schema attributes to the Active Directory schema, which will be used by Exchange Server 2007 and its subsystems. This installation parameter is used in conjunction with the Setup.com / PrepareLegacyExchangePermissions parameter , if Exchange Server 2007 is installed in an existing Exchange Server 2003 environment.
Install and inherit Exchange terms
These installation parameters help prepare Exchange Server 2003 to be capable of working between Exchange Server 2003 and Exchange Server 2007. It requires enterprise administrator rights and will be executed as part of the switch. / PrepareSchema switch. You can refer to this installation information at http://technet.microsoft.com/en-us/library/bb125224.aspx. You only have to do this if it is a new Exchange Server installation.
Open schema files
Using Exchange Server 2007 installation is like Exchange Server 2003, there are many Schema extension files in LDF (Lightweight Directory Exchange) format. During the schema expansion process, these files will be imported into Active Directory. Exchange Server 2007 will use a lot of schema extension files, you can see them below.
Figure 1: Schema extension files
The image below shows an example of the schema definition file. The file you will see here is called Schema0.ldf. This file and other files will be imported during Exchange Server 2007 installation or manual execution of Setup.com / prepareschema .
Figure 2: Observing the file details Schema0.ldf
Use ADSIEDIT to observe all schema extensions during Exchange Server 2007 installation
You can use ADSIEDIT to view all schema entries in the Schema section of Active Directory. ADSIEDIT is one of the Windows Server 2003 support tools that can be found on the Windows Server 2003 installation CD.
Figure 3: Active Directory Schema section after extending the schema
Setup.com / preparedomain
If you have other domains that prefer to install the Exchange 2007 Server, execute the following command:
setup.com / PrepareAD
Property sets in Exchange Server 2007
You can use attribute sets in Exchange Server 2007 for attribute grouping to enable access control for specific object attributes. Property sets use an Access Control Entry (ACE) instead of an ACE for each individual attribute.
Exchange Server 2007 creates two new attribute sets for itself and does not use existing Active Directory attribute sets. During the process of extending Active Directory Schema, Exchange Server 2007 performs the following actions:
Schema extensions of Exchange Server 2007 SP1
Exchange Server 2007 SP1 has a lot of Schema extensions added:
Note :
There will be more changes in Schema during Exchange Server 2007 SP1 installation, but we do not list all changes in this article. If you are interested in what changes will appear, read the English content section of this article.
Verify schema extensions of Exchange Server 2007 SP1
You can verify the Active Directory schema extensions with ADSIEDIT, one of the Windows 200x support tools.
Navigate to:
CN = ms-Exch-Schema-Version-Pt, CN = Schema, CN = Configuration, DC = DN-of-forest-root-domaincontroller
In the Attribute Editor tab, locate the 'rangeUpper' attribute. If Exchange 2007 Service Pack 1 Beta 2 has been extended, the value will be 11116. If you are using Exchange 2007 RTM version, the value should be 10637. For Exchange 2003, the value should be 6870 and Exchange 2000 is 4397.
Figure 4: Display schema expansion version
Conclude
In this article, I have shown you how to extend Exchange Server 2007's Microsoft Active Directory schema and why Active Directory schema extensions are necessary. We also introduced how to add schema changes to Exchange Server 2007 SP1.