Bind To Active Directory
When the Macintosh computers on your network don't have a Macintosh server to control them, the result can be chaotic. Some users wind up with multiple passwords to keep track of while others give up by keeping their account passwords blank. Passwords to Windows resources can expire without warning because users have no PC to reset them with, and machines can be reconfigured with passwords that aren't even documented.
It's easy to only see the security implications and administrative issues in this scenario, but take a step back and you'll also understand the frustration Macintosh users have on a network designed without their experience in mind.
Binding workstations to Active Directory allows your existing Windows accounts to be used on Mac OS X. It eases maintenance by enabling the use of network administrative accounts, and improves security by allowing you to enforce password policy. Just as importantly, it empowers the people who use your Macintosh systems, by eliminating multiple passwords and allowing interaction directly with the Windows infrastructure.
To begin, check the "Network" pane in System Preferences, and be sure that your Windows domain is listed in the "Search Domains" for each interface. Then open the Directory Utility application in the Utilities folder, click the "Show Advanced Settings" button, and select "Services" from the toolbar that appears above.
Check "Active Directory" from the available list of services, then hit the pencil symbol at the bottom to edit the binding criteria. Leave the directory forest set to "Automatic" and enter the name of your Active Directory domain and the computer name you wish to bind your machine as. Resist the shiny, pulsing "Bind..." button and instead click the "Show Advanced Options" arrow at the very left hand side. The window will expand, revealing the full range of configuration choices.
Beginning with the "User Experience" pane, check "Create mobile account at login". Without this selected, Mac OS X won't cache account credentials, leaving users locked out of their machine when the Active Directory server can't be reached. This would prevent access not only during network failures, but also for any laptop user unable to connect with VPN (like those commuting by train, on airplanes, or in log cabins).
Next you'll see "Force local home directory" selected automatically. This will store user account data on the individual workstation rather than utilizing the home folder in the user's Active Directory profile. While it is possible to use a Windows server to store Macintosh home directories, the process can be inconsistent and poorly supported (and can lead to significant confusion if the same account is used for both OS X and Windows). To this end, you'll want to uncheck "Use UNC path from Active Directory to derive network home location" as well.
Now select the "Administrative" pane, and begin by unchecking "Allow authentication from any domain in the forest" at the bottom of the window. This will force OS X to locate user accounts only within the domain you've specified. You can then check "Allow administration by", allowing (at a minimum) domain and enterprise administrators to also administer the local machine. You can also add groups from your Active Directory set up, or even specific user accounts (as in the example above) who may not normally have administrative rights on Windows systems.
Having configured your options, click "Bind...", and enter the name and password of a domain administrator when prompted. If there's a pre-existing local account on the bound machine, you'll want to log in with the user's Windows name and password first to dynamically create a new home directory. Then, switch to an administrative account to migrate over the user data from their old home directory in /Users, making sure to match the permissions to the new Active Directory-based account.
When it's all finished, you'll now have the kind of account controls you're so used to on your Windows systems. Happily, your Macintosh users will, too.
Recommended Reading: Active Directory binding is important enough in corporate settings that we've written about it twice, once early on for Tiger and again in this updated Leopard version. It's also important enough that Apple has a resource page dedicated to it, Integrating Mac OS X and Active Directory, at their IT Pro site.



