| 0 comments ]

The mail server infrastructure consists of several components that work together to send, relay, receive, store, and deliver email.
The mail server workload uses the following Internet standard protocols for sending and retrieving email:
  • Simple Mail Transfer Protocol (SMTP): the Internet standard protocol for sending email.
  • Post Office Protocol (POP): an Internet standard protocol for retrieving email.
  • Internet Message Access Protocol version 4 (IMAPv4): an Internet standard protocol for retrieving email.
The following table lists each mail server component, describes each component, and provides some examples of each component.
Table 1. Mail server components, descriptions, and examples
Component Description Examples
Mail User Agent (MUA) An application with which users can create, view, send, and receive email. The MUA is located on a client system, such as a workstation or PC.
  • Microsoft Outlook Express
  • Mozilla Thunderbird
  • Mutt E-Mail Client
Mail Transfer Agent (MTA) An application that sends, receives, and stores email. This program determines where and how to store email.
  • Postfix
  • Sendmail
  • Lotus Domino Server
  • Microsoft Exchange
Mail Delivery Agent (MDA) An application that saves received email to the MSA. This program might also perform additional tasks such as filtering email or delivering email to subfolders.
The Postfix, Dovecot, and Cyrus applications each implement some or all of the functions of the MDA.
Mail Storage Area (MSA) A local system or server where the MTA stores email. This is also the location from which the MSS retrieves email at the request of the MUA.
  • Mbox
  • Maildir
  • /var/mail/spool/username/
Mail Storage Server (MSS) An application that retrieves email from the MSA and returns it to the MUA.
  • Dovecot
  • Cyrus
The following figure shows the mail server components and the flow of email through those components.
Mail server architecture
Email flows through the mail server components as follows:
  1. From their MUA, the sender creates an email and clicks Send.
  2. The MUA uses SMTP to send the email to an MTA.
  3. The MTA relays and routes the email to an MTA in the domain of the recipient.
  4. The MTA in the domain of the recipient sends the email to an MDA of the system of the recipient.
  5. The MDA stores the email in an MSA.
  6. The MUA of the recipient queries an MSS.
  7. The MSS uses IMAPv4 or POP to retrieve the email for the recipient from the MSA.
  8. The MSS returns the email to the MUA.
  9. From their MUA, the recipient reads the email created by the sender.
In conjunction with mail server applications and email clients, you can use additional applications to pre-process and post-process email. For example, you can use filtering applications, anti-virus software, or anti-spam applications. A description of deploying such applications is outside the scope of this document. You may choose to select solutions to work in conjunction with the mail server workload for such additional functions.

Postfix overview

Postfix is an application that provides Simple Mail Transfer Protocol (SMTP) and Mail Transfer Agent (MTA) functions. Postfix is included in the mail server workload for PowerLinux servers.

Dovecot overview

Dovecot is an application that provides Post Office Protocol (POP), Internet Message Access Protocol version 4 (IMAPv4), and Mail Storage Server functions. Dovecot is included in the mail server workload for PowerLinux servers.

Cyrus overview

Cyrus is an application that provides Post Office Protocol (POP), Internet Message Access Protocol version 4 (IMAPv4), and Mail Storage Server functions. Cyrus is included in the mail server workload for PowerLinux servers.

| 0 comments ]

In order to configure TCP/IP settings such as the IP address, Subnet Mask, Default Gateway, DNS and WINS addresses and many other options you can use Netsh.exe.
Netsh.exe is a command-line scripting utility that allows you to, either locally or remotely, display or modify the network configuration of a computer that is currently running. Netsh.exe also provides a scripting feature that allows you to run a group of commands in batch mode against a specified computer. Netsh.exe can also save a configuration script in a text file for archival purposes or to help you configure other servers.
Netsh.exe is available on Windows 2000, Windows XP and Windows Server 2003.
You can use the Netsh.exe tool to perform the following tasks:
  • Configure interfaces
  • Configure routing protocols
  • Configure filters
  • Configure routes
  • Configure remote access behavior for Windows-based remote access routers that are running the Routing and Remote Access Server (RRAS) Service
  • Display the configuration of a currently running router on any computer
  • Use the scripting feature to run a collection of commands in batch mode against a specified router.

What can we do with Netsh.exe?

With Netsh.exe you can easily view your TCP/IP settings. Type the following command in a Command Prompt window (CMD.EXE):
netsh interface ip show config
With Netsh.exe, you can easily configure your computer's IP address and other TCP/IP related settings. For example:
The following command configures the interface named Local Area Connection with the static IP address 192.168.0.100, the subnet mask of 255.255.255.0, and a default gateway of 192.168.0.1:
netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1
(The above line is one long line, copy paste it as one line)
Netsh.exe can be also useful in certain scenarios such as when you have a portable computer that needs to be relocated between 2 or more office locations, while still maintaining a specific and static IP address configuration. With Netsh.exe, you can easily save and restore the appropriate network configuration.
First, connect your portable computer to location #1, and then manually configure the required settings (such as the IP address, Subnet Mask, Default Gateway, DNS and WINS addresses).
Now, you need to export your current IP settings to a text file. Use the following command:
netsh -c interface dump > c:'location1.txt
When you reach location #2, do the same thing, only keep the new settings to a different file:
netsh -c interface dump > c:'location2.txt
You can go on with any other location you may need, but we'll keep it simple and only use 2 examples.
Now, whenever you need to quickly import your IP settings and change them between location #1 and location #2, just enter the following command in a Command Prompt window (CMD.EXE):
netsh -f c:'location1.txt
or
netsh -f c:'location2.txt
and so on.
You can also use the global EXEC switch instead of -F:
netsh exec c:'location2.txt
Netsh.exe can also be used to configure your NIC to automatically obtain an IP address from a DHCP server:
netsh interface ip set address "Local Area Connection" dhcp
Would you like to configure DNS and WINS addresses from the Command Prompt? You can. See this example for DNS:
netsh interface ip set dns "Local Area Connection" static 192.168.0.200
and this one for WINS:
netsh interface ip set wins "Local Area Connection" static 192.168.0.200
Or, if you want, you can configure your NIC to dynamically obtain it's DNS settings:
netsh interface ip set dns "Local Area Connection" dhcp
BTW, if you want to set a primary and secondary DNS address, add index=1 and index=2 respectively to the lines of Netsh command.
As you now see, Netsh.exe has many features you might find useful, and that goes beyond saying even without looking into the other valuable options that exist in the command.

| 0 comments ]

Netsh.exe is a tool an administrator can use to configure and monitor Windows-based computers at a command prompt. With the Netsh.exe tool, you can direct the context commands you enter to the appropriate helper, and the helper then carries out the command. A helper is a Dynamic Link Library (.dll) file that extends the functionality of the Netsh.exe tool by providing configuration, monitoring, and support for one or more services, utilities, or protocols. The helper may also be used to extend other helpers.

You can use the Netsh.exe tool to perform the following tasks:
  • Configure interfaces.
  • Configure routing protocols.
  • Configure filters.
  • Configure routes.
  • Configure remote access behavior for Windows-based remote access routers that are running the Routing and Remote Access Server (RRAS) Service.
  • Display the configuration of a currently running router on any computer.
  • Use the scripting feature to run a collection of commands in batch mode against a specified router.
The syntax for the Netsh.exe tool is:
netsh [-r router name] [-a AliasFile] [-c Context] [Command | -f ScriptFile]
To display a list of subcontexts and commands that can be used in a context, type the context name followed by a space and a ? at the netsh> command prompt. For example, to display a list of subcontext and commands that can be used in the /routing context, type routing ? at the netsh> command prompt, and then press ENTER.

Contexts

Context strings are appended to the Netsh.exe tool command and are passed to an associated helper. The helper may have one or more entry points that map to contexts. Some of the contexts available in the Netsh.exe tool are:

Context Command: /dhcp
Result: Changes to the Dynamic Host Configuration Protocol (DHCP) context.

Context Command: /ras
Result: Changes to the Remote Access Server (RAS) context.

Context Command: /routing
Result: Changes to the routing context.

Context Command: /wins
Result: Changes to the Windows Internet Name Service (WINS) context.

Contexts may also nest within other contexts. For example, the following contexts operate within the netsh>ras context:

Context Command: /ip
Result: Changes to the Internet Protocol (IP) context.

Context Command: /ipx
Result: Changes to the Internetwork Packet Exchange (IPX) context.

Context Command: /netbeui
Result: Changes to the NetBios Enhanced User Interface (NETBEUI) context.

The following subcontexts operate within the netsh>routing ip context:

Context Command: /autodhcp
Result: Changes to the autodhcp subcontext.

Context Command: /dnsproxy
Result: Changes to the dnsproxy subcontext.

Context Command: /igmp
Result: Changes to the Internet Group Membership Protocol (IGMP) subcontext.

Context Command: /mib
Result: Changes to the Management Information Base (MIB) subcontext.

Context Command: /nat
Result: Changes to the Network Address Translation (NAT) subcontext.

Context Command: /ospf
Result: Changes to the Open Shortest Path First (OSPF) subcontext.

Context Command: /relay
Result: Changes to the relay subcontext.

Context Command: /rip
Result: Changes to the Routing Information Protocol (RIP) subcontext.

Netsh.exe Commands

The following additional commands can be used with the Netsh.exe tool:

NOTE: Optional parameters are shown in brackets ([ ]). Alternative entries are shown with a pipe (|) character between them.

Context Command: /?
Result: Displays help.

Context Command: /abort
Result: Discards any changes made in offline mode. No effect in online mode.

Context Command: /add helper DLL-name
Result: Installs the helper .dll file in netsh.exe.

Context Command: /alias [alias-name] [string1] [string2 ...]
Result: If /alias, lists all aliases. If /alias alias-name, displays the equivalent string. If /alias alias-name string1 string2 ..., sets alias-name to the specified strings.

Context Command: /bye
Result: Exits the program.

Context Command: /commit
Result: Commits any changes made in the offline mode to the router. No effect in the online mode.

Context Command: /delete helper .dll file name
Result: Removes the helper .dll file from Netsh.exe.

Context Command: /dump -file name
Result: Dumps or appends configuration to a text file.

Context Command: /exec script file name
Result: Loads the script file and executes commands from it.

Context Command: /exit
Result: Exits the program.

Context Command: /h
Result: Displays help.

Context Command: /help
Result: Displays help.

Context Command: /offline
Result: Sets the current mode to offline. Any changes made in this mode are saved, but require a "commit" or "online" command to be set in the router.

Context Command: /online
Result: Sets the current mode to online. Any changes in this mode are immediately reflected in the router.

Context Command: /popd
Result: Pops a context from the stack.

Context Command: /pushd
Result: Pushes current context onto the stack.

Context Command: /quit
Result: Exits the program.

Context Command: /set mode [mode =] online | offline
Result: Sets the current mode to online or offline.

Context Command: /show alias | helper | mode
Result: If /show alias, lists all defined aliases. If /show helper, lists all top-level helpers. If /show mode, shows the current mode.

Context Command: /unalias alias name
Result: Deletes the specified alias.

Helper Dynamic Link Libraries Files Available

Routing & Remote Access IP Configuration - Ipmontr.dll
Routing & Remote Access IPX Configuration - Ipxmontr.dll
Interface - Ifmon.dll
RAS - Rasmontr.dll
DHCP - Dhcpmon.dll
WINS - Winsmon.dll

Associated Registry Entries for Helper Dynamic Link Libraries Files

HKEY_LOCAL_MACHINE/Software/Microsoft/NetSh/
REG_SZ: Ipmontr.dll
REG_SZ: Ipxmontr.dll
REG_SZ: Ifmon.dll
REG_SZ: Rasmontr.dll
REG_SZ: Dhcpmon.dll
REG_SZ: Winsmon.dll


NOTE: If attempts to use Netsh dump - to dump configurations to a file does not work, try using the syntax: netsh dump >filename or path\filename, from a command line.

Refer to http://support.microsoft.com/?kbid=242468

| 0 comments ]

This post covers publishing Exchange 2007 Outlook Anywhere using ISA Server 2006, but the key differentiator being that we can achieve all of the following:


  • Provide transparent authentication for external Outlook Anywhere users if they are logged into domain member computers with cached credentials. This means that the Outlook password prompt seen with Exchange 2003 will no longer be present.
  • Provide ISA Server pre-authentication for all requests, thereby providing the ultimate level of protection for Exchange 2007 Client Access Servers.
  • Provide access to advanced Exchange 2007 Outlook Anywhere features like Autodiscovery, Out of Office, Offline Address Book, Unified Messaging and the Auto Account Setup Wizard etc.
Before getting started on the ISA Server configuration, it is helpful to provide an example environment upon which to base the examples. The diagram below shows an overview of a relatively standard architecture for external remote access to Exchange.


A summary of the environment is provided below:
  • A single ISA Server 2006 (pre-SP1) firewall named ISA2K6.
  • A single Exchange 2007 Client Access Server named CAS01.
  • Two SSL server certificates are installed on the ISA Server. These are issued from a public Certificate Authority (CA) each with unique common or subject names of email.msfirewall.org.uk and autodiscover.msfirewall.org.uk respectively.
  • A single SSL server certificate is installed on the Exchange CAS which replaces the default self-signed certificate. This is issued from an internal CA and is a Subject Alternate Name (SAN) certificate (sometimes called a Unified Communications (UC) certificate). The common or subject name of this certificate is email.msfirewall.org.uk and the primary SAN entry is also email.msfirewall.org.uk. Additional SANs have been defined as per the diagram to cater for alternate access names used by internal clients.

  • ISA Server is configured to trust the internal issuing CA that issued the Exchange CAS certificate and also trust any additional Root or Intermediate CAs, as necessary.
  • The ISA Server and Exchange CAS are both members of the same Active Directory domain.
  • SSL bridging is used to ensure all communications are encrypted across both the public and private networks.
  • All clients are using Microsoft Outlook 2007.
  • A dedicated FQDN is defined for Outlook Anywhere which resolves to a dedicated public IP address.
Please Note: In order to minimise potential problems with ISA Server 2006 pre-SP1, it is recommended to define the Exchange CAS certificate common name and first SAN as email.msfirewall.org.uk. This configuration will negate likely problems with ISA Server 2006 pre-SP1 from reading multiple SAN entries as discussed here. For the purposes of this article I have assumed that ISA Server is running the RTM pre-SP1 version and we would also be publishing access to Outlook Web Access using a URL of email.msfirewall.org.uk.
Although not covered in this article, it is possible to extend the simple approach defined above with the use of additional certificates to personalise external DNS names to specifically match each Exchange service. An overview of this architecture is shown below.


This configuration is not technically necessary, but it does provide a slightly more elegant solution and makes things a little bit more intuitive when looking at DNS names in Windows Mobile or Outlook configuration screens. However, apart from 'elegance', a solution comprising of two individual SSL server certificates is more than sufficient for a working configuration.
Please Note: In theory it is possible to use a single wildcard certificate for this scenario, but from my own testing I have found that the use of a wildcard certificate had an adverse effects on the Outlook Auto Account Setup wizard which I was unable to resolve (even after enabling the 'Set-OutlookProvider -identity EXPR -CertPrincipalName msstd:*.yourdomain.com' PowerShell command as defined here). We also need to consider that Windows Mobile 5 does not support wildcard certificates, so if you have a mixed Windows Mobile client base this will also cause issues. Based upon this, for the time being (and for this example solution) I have been cautious and used individual certificates for most of my deployments.


One of the challenging aspects of Outlook Anywhere publishing is how to achieve transparent authentication (e.g. not having to enter a password in Outlook when away from the office) and also ensure that all Outlook Anywhere connections are pre-authenticated by ISA Server. ISA Server pre-authentication is a vital part of any ISA Server deployment as this ensures no anonymous connections can ever reach the internal Exchange infrastructure.

In it's current form, ISA Server is not able to require Windows integrated authentication and then delegate credentials using NTLM delegation. This is based upon the fact that this authentication protocol is designed to use a challenge/response process and specifically prevent 'man-in-the-middle' attacks. As ISA Server is the 'man-in-the-middle' in a reverse proxy topology, this is just not possible to achieve. Therefore, in order to authenticate Outlook Anywhere connections using Windows authentication is it necessary to use Kerberos Constrained Delegation (KCD). ISA Server 2006 introduces support for Kerberos constrained delegation to enable published Web servers to authenticate users by Kerberos after their identity has been verified by ISA Server using a non-Kerberos authentication method. When used in this way, Kerberos constrained delegation eliminates the need for requiring users to provide credentials twice. For example, because it is unrealistic to perform Kerberos authentication over the Internet (no access to the KDC server), Windows authentication might be used for authenticating users at the ISA Server computer. After ISA Server verifies the user's identity, ISA Server cannot pass the Windows credentials provided by the user to a published server, but it can impersonate the user and obtain a Kerberos service ticket for authenticating the user (client) to a published Web server.
Based upon this approach, the following diagram shows an overview of the authentication elements used in our solution example.

A key element of successfully using KCD is ensuring that the correct Service Principal Names (SPNs) are defined and used. Rather than creating new SPNs, it makes sense to me to utilise the built-in SPNs that are created by default. Hence, this example makes use of the default SPN created for the Exchange CAS. As we are publishing web services on the Exchange CAS, this means that we are specifically talking about the HTTP SPN. In our example solution (as shown above) the default system generated SPN for the Exchange CAS is http/cas01.internal.msfirewall.org.uk so we will use this in our configuration.
In addition to thinking about SPNs, for KCD to function correctly it is also necessary to configure the ISA Server computer object in Active Directory and enable delegation. In order for the ISA Server to be trusted for delegation, it needs to be correctly defined. Furthermore, to ensure we provide a least privilege solution, we will use constrained delegation to ensure that we only trust ISA Server to delegate the appropriate service (HTTP in our example) and not all services (hence constrained).
This can be achieved using Active Directory Users and Computers. Firstly, find the computer object for the ISA Server and select Properties. Click on the Delegation tab. Select the option for Trust this computer for delegation to specified service only, then select Use any authentication protocol. Finally, click the Add button and browse for the Exchange CAS computer object (CAS01 in our example). On the list of available SPNs defined for CAS01, select the entry for http/cas01.
Once configured, you should see the following:

If you tick the Expanded option, you will actually see that both NetBIOS and FQDN are listed as shown below:



So, with the above configuration, we have configured ISA Server to be trusted for delegation of credentials, but only to the Exchange CAS, and only for the HTTP service, hence the term constrained.

Please Note: Active Directory will need to be running at Windows 2003 native functional level (or greater) in order to see the Delegation tab. Also, both computer objects will need to be in the same Active Directory domain for KCD to function (even with ISA Server 2006 SP1).

As Windows authentication and Forms Based Authentication (FBA) are mutually exclusive, it is not possible to use a single web listener for all Exchange 2007 publishing and achieve transparent authentication within Outlook Anywhere. Therefore, as part of this solution it is necessary to create a dedicated web listener that is used exclusively for Outlook Anywhere and associated services like Exchange Autodiscovery, EWS, OAB, UM etc. This is a bit of a shame, but an acceptable compromise in my opinion and likely to remain until ISA Server is able to perform fallback to NTLM. The introduction of a dedicated web listener for Outlook Anywhere also introduces the need for an additional public IP address.
Without going into specific details (more detail can be found here) the Outlook Anywhere client relies upon the Exchange 2007 Autodiscover service in order to determine where to find information about supplementary services like EWS, UM, and OAB. Therefore, within our solution we need to provide access to the Exchange 2007 autodiscover service located on the Exchange CAS. The Outlook Anywhere client is hard coded to look for the autodiscover services using the following URLs:
In our example, these become:
In reality, we only really need to consider the second of these URLs as this contains a specific hostname value which is more practical. Seeing as though this URL will always be required by the Outlook Anywhere client, it makes sense to me to reuse this URL as the Outlook RPC over HTTP(S) proxy definition URL. This ensures that a single URL and single SSL server certificate will be sufficient for all Outlook Anywhere functionality, including advanced features.
One of the critical steps in getting Outlook Anywhere to be fully function is to define external URLs for each Exchange service used by Outlook. This ensures that when Outlook is used externally (without access to Active Directory or the Exchange Service Connection Point) it will be able to determine the correct external URLs using the autodiscover process, as opposed to using the default internal URLs defined as part of the Exchange setup process. The default internal URLs will normally contain internal URLs of the form https://cas01.internal.msfirewall.org.uk which will probably not function externally.

At this time, I am not including specific details on configuring the Exchange CAS (as this is quite an in-depth subject!) but the following summary covers the key configuration steps:
Using the Exchange Management Console, enable Outlook Anywhere; define the external hostname as autodiscover.msfirewall.org.uk and client authentication method as NTLM authentication.
Using IIS Manager, ensure the following virtual directories have Integrated Windows authentication enabled:
  • Autodiscover
  • EWS
  • OAB
  • RPC
  • Unified Messaging
Using the Exchange Management Shell, define Exchange Web Services (EWS), Offline Address Book (OAB) and Unified Messaging (UM) External URLs as follows:
EWS: https://autodiscover.msfirewall.org.uk/ews/exchange.asmx
OAB: https://autodiscover.msfirewall.org.uk/oab
UM: https://autodiscover.msfirewall.org.uk/unifiedmessaging/service.asmx
This can be achieved using the following PowerShell commands:
Set-WebServicesVirtualDirectory -Identity 'CAS01\EWS (Default Web Site)' -ExternalUrl https://autodiscover.msfirewall.org.uk/ews/exchange.asmx
Set-OabVirtualDirectory -Identity 'CAS01\OAB (Default Web Site)' -ExternalUrl https://autodiscover.msfirewall.org.uk/oab
Set-UMVirtualDirectory -Identity 'CAS01\UnifiedMessaging (Default Web Site)' -ExternalUrl https://autodiscover.msfirewall.org.uk/unifiedmessaging/service.asmx
Please Note: For completeness, I would recommend defining the External URL reference for all services (as shown above) even if they are not in use at the present time. This minimises the risk of forgetting they have not been configured when you try to access a new Exchange service and it doesn't work via Outlook Anywhere!
If the above means nothing to you then I suggest you start by reading the Exchange 2007 Autodiscover Service whitepaper
here for a bit of background/bedtime reading...
The Exchange 2007 CAS is now configured, Active Directory delegation is enabled and hopefully we have an understanding of the solution approach and proposed authentication elements. So, let's start configuring ISA!
From within the ISA Server Management Console, select the Publish Exchange Web Client Access wizard.

Enter a suitable publishing rule name like Publish Exchange 2007 Outlook Anywhere


Define the Exchange Version as Exchange 2007, select Outlook Anywhere (RPC/HTTP(s)) and Publish additional folders on the Exchange Server for Outlook 2007 Clients.

Select Publish a single web site or load balancer



Define the Internal site name as email.msfirewall.org.uk. Select the Use computer name or IP address to connect to the published server option and enter cas01.internal.msfirewall.org.uk into the Computer name or IP address field.

Please Note: Due to issues with ISA Server 2006 pre-SP1 and SAN certificates (discussed here) it has been necessary to use an internal site name that matched the actual subject name (or first SAN entry) of the SSL server certificate installed on the Exchange CAS (email.msfirewall.org.uk in our example) as opposed to using autodiscover.msfirewall.org.uk. However, this issue has been fixed in ISA Server 2006 SP1 so we could actually specify autodiscover.msfirewall.org.uk as this is listed in the SAN entries of the Exchange CAS certificate. However, with an ISA Server 2006 SP1 both FQDNs should work fine.
Enter autodiscover.msfirewall.org.uk into the public name field.



On the Select Web Listener page, click New and define a suitable name for the listener like
Exchange Listener (Internet Integrated).

Select Require SSL secured connections with clients


Click Select Certificate and select the appropriate certificate from the list



Please Note: This step assumes that you have already purchased and installed certificates into the Local Computer certificate store on the ISA Server.

On the Authentication Settings page, select HTTP Authentication and Integrated.
Click Next and then Finish.


With the web listener created, click Next to continue.


On the Authentication Delegation page, select Kerberos constrained delegation and enter http/cas01.internal.msfirewall.org.uk into the SPN field.

Click Next


Click Finish to complete the rule wizard.



You should now see the rule defined in the firewall policy.


To make life a little easier for users, I generally enable HTTP to HTTPS redirection on the HTTPS listeners.

I also tend to enforce 128-bit (high) encryption for HTTPS traffic.

Looking at the Paths tab, we can clearly see all of the virtual directories used by Outlook Anywhere which should match the External URLs defined on the Exchange CAS earlier within this post.




So, with all this in place, all we need to do is configure Outlook with the appropriate settings. This can be done using the Auto Account Setup Wizard which is initiated from the Mail applet in Control Panel. The following diagrams show this process.



Looking at the Exchange Proxy settings (RPC/HTTP(s) settings) that have been configured by the wizard, you should see something like this:





So, you should now be able to start Outlook and successfully connect to Exchange 2007 without providing any credentials (assuming you are on a domain member computer and logged in with cached credentials).
Hopefully this blog entry has provided a good overview of the necessary elements required to publish Exchange 2007 via ISA Server with transparent authentication and ISA pre-authentication. Obviously, it does not cater for all scenarios (like wildcard certificates and ISA/CAS high availability for example) but it should be relatively easy to adapt to your specific needs.
I hope to add more blog entries for publishing other Exchange 2007 services, the next probably being publishing Exchange 2007 Outlook Web Access specifically covering the Document Access feature, which is pretty cool for remote users!

Post by http://blog.msfirewall.org.uk/2008/07/publishing-exchange-2007-services-with.html

| 0 comments ]

I. Giới thiệu :


_ Distributed File System (DFS) là một trong những cải tiến công nghệ của Windows Server 2003 R2 hỗ trợ cho hệ thống mạng WAN – nâng cao khả năng đồng bộ dữ liệu, khả năng chịu lỗi cao cho việc truy xuất đến các thành phần dữ liệu phân tán. Có 2 công nghệ trong DFS là :
            + DFS Replication : Dựa trên những cơ sở ứng dụng mới, nâng cao quá trình động bộ và tối ưu hóa trong môi trường hệ thống mạng WAN. DFS Replication hỗ trợ quá trình đồng bộ theo dạng lịch biểu, làm rộng băng thông,
            + DFS Namespaces : Công nghệ này đã giúp ích rất nhiều cho các nhà quản trị mạng trong việc chia sẽ những local folder trên các server khác, hiện tại chúng đang được dùng như là 1 cây thư mục ảo và những folder đó được nhìn thấy như là 1 namespace “ vùng không gian tên “. DFS Namespaces được hổ trợ từ những đời Windows 2000 và Windows Server 2003.

_ Nếu bạn muốn giữ lại các folder được đồng bộ khi sử dụng Windows Server 2003 R2, thì khuyên bạn nên sử dụng DFS Replication để thay thế cho FRS ( File Replication Service ). DFS Replication có nhiều thế mạnh hơn FRS bao gồm như các công cụ quản lý mạnh mẽ, khả năng quản lý việc ủy quyền.

Ở phần này ta sẽ thực hiện cấu hình là quản lý DFS Namespaces & Replication

II. Chuẩn bị :

Mô hình gồm 4 máy  :
+ 1 Domain Controller ( dựng domain : NHATNGHE.LOCAL )
+ 2 Files Server
+ 1 Storage Server
B1. Join domain cho Storage Server và 2 file server vào domain NHATNGHE.LOCAL
B2. Cấu hình Shares hoàn chỉnh trên 2 file server.
B3. Tạo các users u1, u2 / 123 trên DC
B4. Gán quyền NTFS cho u1 full control trên ( ketoan1, ketoan2 ) , u2 full control trên ( nhansu1, nhansu2 )

III. Thực hiện :
1. Cấu hình tạo Namespaces :

B1. Mở Start > Program > Administrative tools > Windows Storage Server Management
B2. Trong cửa sổ Windows Storage Server Management > mở File Server Management > DFS Management > Click phải lên Namespaces > Chọn New Namespace


B3. Trong cửa sổ Namespace Server > Dòng server nhập vào tên computer của máy Storage đầy đủ : WSS.NHATNGHE.LOCAL

B4. Cửa sổ Namespace Name and Setting > Dòng Name : nhập vào ABC > Sau đó chọn Edit

B5. Cửa sổ Edit Settings > chọn Use custom permissions > Sau đó chọn Customize…để phân quyền share cho folder ABC

B6. Cho group Everyone quyền Allow Fullcontrol > Sau đó OK liên tục > và chọn Next

B7. Cửa sổ Namespace Type > Chọn Domain – Based namespace > Chọn Next

B8. Cửa sổ Review Settings and Create Namespace > Chọn Create

B9. Cửa sổ Confirmaion > Chọn Close

Sau khi tạo xong Namespace ta kiểm tra thấy trong Namespace có NHATNGHE.LOCAL\ABC


2. Tạo folder đại diện và đưa các folder share trên 2 File Server vào Namespace vừa tạo :

B1. Bên cửa sổ trái chọn và click phải chuột lên \\NHATNGHE.LOCAL\ABC > Chọn New folder

B2. Cửa sổ New Folder > Dòng Name : nhập ketoan à Sau đó chọn Add

B3. Nhập vào tên computer name của File Server 1 vào sau đó check name để kiểm tra và OK

B4. Trong cửa sổ Browse for Shared Folder ta sẽ thấy hiển thị ra tất cả các folder share trên Files Server 1 > Mở data1 > Chọn vào ketoan1 > Chọn OK 2 lần

B5. Sau đó ta tiếp tục chọn Add  > Chọn Browse và add tiếp tục Files Server 2 vào

B6. Trong cửa sổ Browse for Shared Folder ta sẽ thấy hiển thị ra tất cả các folder share trên Files Server 2 > Mở data2 > Chọn vào ketoan2 > Chọn OK 2 lần

B7. Kiểm tra ta thấy với tên folder ketoan đã được redirect về 2 mục ketoan1 và ketoan2 trên 2 Files Server > Sau đó chọn OK

B8. Cửa sổ Replication hiện ra ta chọn NO

B9. Kiểm tra ta thấy đã tạo thành công Folder đại diện ketoan

B10. Bên trái chọn ketoan > Bên phải Tab Folder Targets chọn và click phải lên ketoan1 > Chọn Properties

B11. Cửa sổ Properties chọn Tab Advanced > Check vào Override referral ordering > Chọn OK


B12. Tương tự properties ketoan2 và check vào Override referral ordering trong tab Advanced > Chọn OK

B13. Bên cửa sổ trái click phải lên ketoan > Chọn properties > Tab Referrals > Check vào Exclude targets outsite of the client’s site > Chọn OK

B14. Làm tương tự cho nhansu









B15. Kiểm tra lấy 1 máy client đã join domain và truy cập network access đến đường dẫn được Public : \\NHATNGHE.LOCA\ABC > ta thấy có folder ketoan.

B16. Vào folder ketoan > click phải chuột new folder ta thấy u1 có thể tạo folder được

B17. Vào folder nhansu kiểm tra thấy ta ko thể tạo folder được

B18. Kiểm tra tương tự cho u2.


http://toan.nhatnghe.vn/WSS2k3DFS.htm