The previous chapters in this paper provide you with information about the typical issues, requirements, and design of an infrastructure for identity and access management. This chapter provides guidance on how to prepare the Contoso Pharmaceuticals infrastructure. It also introduces the tools and templates that you can use to establish the baseline environment, which is an implementation prerequisite for the remaining papers in this series. This guidance was created to help consultants and customers establish the provided Microsoft Identity and Access Management solution scenarios in a lab or proof-of-concept environment. On This Page
Tools and TemplatesThe Identity and Access Management download package includes Identity and Access Management Tools and Templates.msi, which is the Tools and Templates installer file. When you run the installer file, the resulting folder structure will look similar to the one displayed in the following figure, depending on where you install it. ![]() Figure 5.1. The Tools and Templates folder structure Note The Tools and Templates MSI package can occasionally produce an error during the installation process. See the Identity and Access Management Series Readme.htm file for more information. The Tools and Templates that are part of this download include text-based scripts, code samples, and configuration files that are related to identity and access management, but do not include any executable programs or compiled code. Note These samples are provided as examples only. Be sure to review, customize, and test these tools and templates before you use them in a production environment. Folder: Baseline
Infrastructure Services OverviewThe identity and access management infrastructure of Contoso Pharmaceuticals is built on guidance from the service blueprints in the Windows Server System Reference Architecture (WSSRA) page. In particular, Contoso has implemented the following Microsoft services to support their identity and access management initiatives:
Note Contoso Pharmaceuticals has chosen to use shadow accounts in the extranet Active Directory forest rather than implement a trust between the extranet Active Directory forest and the intranet Active Directory forest as described in the WSSRA guidance. In addition, Contoso has deployed the messaging services lifecycle guidance, part of the Windows Server System Reference Architecture, as described in Introduction to Messaging Services. For testing purposes, Contoso messaging services are running on one computer that runs the Windows Server 2003 operating system as well as Microsoft Exchange 2003. Infrastructure SecurityAll Windows Server 2003 servers in the Contoso environment have been securely configured by following the appropriate guidance in the Windows Server 2003 Security Guide. Baseline ImplementationContoso Pharmaceuticals has a number of groups, users, and other baseline configuration details that are required in their environment for subsequent solution scenarios described in this series to work properly. This section describes how to configure the basic Contoso environment on top of the services described earlier in this paper, including:
Populating the Contoso Exchange EnvironmentThe Contoso Exchange environment is the primary mail system for Contoso users. Prior to creating any Contoso users, the required Storage Groups and Mailbox Stores must exist. Run this script from an open command prompt by using cscript.exe as the script host. Using the ExchangeBaseline.vbs ScriptRun the ExchangeBaseline.vbs script by using the cscript executable as the script host. Ensure that you run the script as follows at the command prompt: CSCRIPT.EXE ExchangeBaseline.vbs <param1> The script takes the following parameter: /s — Mandatory. Denotes the target Exchange Server to connect to. The following is an example command line for running this script: Cscript.exe ExchangeBaseline.vbs /s <hostname> Note This script may take a few minutes to run due to the Microsoft Exchange process used to mount mailbox stores. To configure the Exchange environment
If any errors occur after you run the script, correct the problem, and then rerun the script. Populating the Intranet Active Directory ForestThe Contoso intranet Active Directory na.contoso.com forest is the primary intranet directory for Contoso. The ADBaseline.vbs script will create the required OUs, users, and groups needed for the Contoso solution scenarios in this series. Using the ADBaseline.vbs ScriptRun the ADBaseline.vbs script by using the cscript executable as the scripting host. Ensure that you run the script as follows at the command prompt: CSCRIPT ADBaseline.vbs <param1> <param2> <param3> <param4> The script takes the following parameters: /t — Mandatory. Denotes the target environment to prepare, which must be the intranet for this scenario. /s — Mandatory. Denotes the domain controller that Active Directory will target. /m — For the intranet only. Denotes the target Exchange Server to bind to. This parameter is ignored for the extranet. /f — Optional. Denotes the target data file that contains the Contoso intranet user information. By default, the script uses the IntranetADData.txt file. The following is an example command line for running this script: Note The line has been split into multiple lines for readability.However, while trying it out on a system you must enter it as one line without breaks. Cscript.exe ADBaseline.vbs /t intranet /s <domain controller> /m <Exchange Server> /f IntranetADData.txt You can also run this script remotely. If you do, ensure that the workstation is a member of the target domain, and that you are logged on as a domain administrator. To configure the na.corp.contoso.com forest
If any errors occur after you run the script, correct the problem, and then rerun the script. Populating the Extranet Active Directory ForestThe Contoso Active Directory perimeter.contoso.com domain is the extranet forest for Contoso. As in the previous procedure, use the ADBaseline.vbs script to populate this forest. To configure the perimeter.contoso.com forest
If any errors occur after you run the script, correct the problem, and then rerun the script. | In This Article |