pátek 7. srpna 2009

autodiscover

1. DNS
192.168.1.2 A autodiscover.domain.com

2. Exchange
Set-OutlookProvider –Identity exch –Server remote.domain.com

3. Certifikát
Role: Služba AD CS

New-ExchangeCertificate -GenerateRequest -DomainName remote.domain.com, autodiscover.domain.com, domain.com, servername, servername.domain.local, domain.local, Sites -PrivateKeyExportable:$True -Path c:\certreq.txt

certreq -submit -attrib “CertificateTemplate:webserver” c:\certreq.txt c:\certnew.cer
certreq -accept c:\certnew.cer

Zrušení starých certifikátů
Nastavení nových


4. IIS

Remove-AutodiscoverVirtualDirectory –Identity "servername\Autodiscover (SBS Web Applications)"
New-AutodiscoverVirtualDirectory -WebsiteName "SBS Web Applications" -WindowsAuthentication $true -BasicAuthentication $true

Disable-OutlookAnywhere -identity "SERVERNAME"
enable-OutlookAnywhere -Server "SERVERNAME" -ExternalHostname 'remote.domain.com' -DefaultAuthenticationMethod 'Basic' -SSLOffloading:$false

Set-ClientAccessServer -identity "SERVERNAME" -AutodiscoverServiceInternalUri https://servername.domain.local/autodiscover/autodiscover.xml
Set-ClientAccessServer -identity "SERVERNAME" -AutodiscoverServiceInternalUri https://remote.domain.com/autodiscover/autodiscover.xml

#OAB
Set-OABVirtualDirectory -identity "SERVERNAME\OAB (SBS Web Applications)" -internalurl https://servername.domain.local/OAB -externalurl https://remote.domain.com/OAB -RequireSSL:$True

#UM
Set-UMVirtualDirectory -identity "SERVERNAME\UnifiedMessaging (SBS Web Applications)" -internalurl https://servername.domain.local/UnifiedMessaging/Service.asmx -externalurl https://remote.domain.com/UnifiedMessaging/Service.asmx -BasicAuthentication:$True


Set-WebServicesVirtualDirectory -identity "SERVERNAME\EWS (SBS Web Applications)" -internalurl https://servername.domain.local/EWS/Exchange.asmx -externalurl https://remote.domain.com/EWS/Exchange.asmx -BasicAuthentication:$True


Kontroly

Test-OutlookWebServices | fl

Žádné komentáře: