Disable the forms-based authentication for the Exchange virtual directory
To create a secondary virtual directory for Exchange that is based on steps 1 through 7 of the following procedure, make sure that forms-based authentication is disabled for the Exchange virtual directory before you make the copy. Before you follow these steps, disable forms-based authentication in Exchange System Manager. Then restart Internet Information Services (IIS). To do this, follow these steps:- Open Exchange Manager.
- Expand Administrative Groups, expand the first administrative group, and then expandServers.
- Expand the server container for the Exchange Server 2003 server that you will be configuring, expand Protocols, and then expand HTTP.
- Under the HTTP container, right-click the Exchange Virtual Server container, and then clickProperties.
- Click the Settings tab, clear the Enable Forms Based Authentication check box, and then click OK.
- Close Exchange Manager.
- Click Start, click Run, type IISRESET/NOFORCE, and then press ENTER to restart Internet Information Services (IIS).
Create a secondary virtual directory for Exchange server
You must use Internet IIS Manager to create this virtual directory for Exchange ActiveSync and Outlook Mobile Access to work. If you are using Windows Server 2003, follow these steps:- Start Internet Information Services (IIS) Manager.
- Locate the Exchange virtual directory. The default location is as follows:Web Sites\Default Web Site\Exchange
- Right-click the Exchange virtual directory, click All Tasks, and then click Save Configuration to a File.
- In the File name box, type a name. For example, type ExchangeVDir. Click OK.
- Right-click the root of this Web site. Typically, this is Default Web Site. Click New, and then click Virtual Directory (from file).
- In the Import Configuration dialog box, click Browse, locate the file that you created in step 4, click Open, and then click Read File.
- Under Select a configuration to import , click Exchange, and then click OK.
A dialog box will appear that states that the "virtual directory already exists." - Select the Create a new virtual directory option. In the Alias box, type a name for the new virtual directory that you want Exchange ActiveSync and Outlook Mobile Access to use. For example, type exchange-oma. Click OK.
- Right-click the new virtual directory. In this example, click exchange-oma. ClickProperties.
- Click the Directory Security tab.
- Under Authentication and access control, click Edit.
- Make sure that only the following authentication methods are enabled, and then click OK:
- Integrated Windows authentication
- Basic authentication
- On the Directory Security tab, under IP address and domain name restrictions, clickEdit.
- Click the option for Denied access, click Add, click Single computer and type the IP address of the server that you are configuring, and then click OK twice.
- Under Secure communications, click Edit. Make sure that Require secure channel (SSL) is not enabled, and then click OK.
- Click OK, and then close the IIS Manager.
- Click Start, click Run, type regedit, and then click OK.
- Locate the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MasSync\Parameters
- Right-click Parameters, click to New, and then click String Value.
- Type ExchangeVDir, and then press ENTER. Right-click ExchangeVDir, and then clickModify.
NoteExchangeVDir is case-sensitive. If you do not type ExchangeVDir exactly as it appears in this article, ActiveSync does not find the key when it locates the exchange-omafolder. - In the Value data box, type the name of the new virtual directory that you created in step 8. For example, type /exchange-oma. Click OK.
- Quit Registry Editor.
- Restart the IIS Admin service. To do this, follow these steps:
- Click Start, click Run, type services.msc, and then click OK.
- In the list of services, right-click IIS Admin service, and then click Restart.
- If you want to reuse Forms-based Authentication on the Exchange server, follow these steps to re-enable Forms-based Authentication on the /Exchange virtual directory in Exchange System Manager.
- Open Exchange Manager.
- Expand Administrative Groups, expand the first administrative group, and then expand Servers.
- Expand the server container for the Exchange Server 2003 server that you will be configuring, expand Protocols, and then expand HTTP.
- Under the HTTP container, right-click the Exchange Virtual Server container, and then click Properties.
- Click the Settings tab, click to select the Enable Forms Based Authenticationcheck box, and then click OK.
- Close Exchange Manager.
- Click Start, click Run, type IISRESET/NOFORCE, and then press ENTER to restart Internet Information Services (IIS).
Note If the server is Microsoft Windows Small Business Server 2003 (SBS), the name of the Exchange OMA virtual directory must be exchange-oma.
The integrated setup of Microsoft Windows Small Business Server 2003 creates the exchange-omavirtual directory in IIS. Additionally, it points the ExchangeVDir registry key to /exchange-omaduring the initial installation. Other SBS wizards, such as the Configure E-mail and Internet Connection Wizard (CEICW) also expect the virtual directory name in IIS to be exchange-oma.
The integrated setup of Microsoft Windows Small Business Server 2003 creates the exchange-omavirtual directory in IIS. Additionally, it points the ExchangeVDir registry key to /exchange-omaduring the initial installation. Other SBS wizards, such as the Configure E-mail and Internet Connection Wizard (CEICW) also expect the virtual directory name in IIS to be exchange-oma.
No comments:
Post a Comment