Home > Articles

This chapter is from the book

Administering OUs

As you know, it is more efficient to organize your disk files in folders than to keep them in the root directory of a disk. Similarly, you are usually better off when you store Active Directory users, groups, and other objects in "folders" called OUs (organizational units). These OUs form an OU tree (also referred to as a domain structure) inside your domain. Figure 3.5 illustrates this.

03fig05.gifFigure 3.5 OUs inside a domain form an OU tree.

In Figure 3.5, the uppermost circle (the root of the tree) is not an OU but rather the domain object that represents the domain (the triangle). We could drop the domain object out of the image, but it's more natural to have the tree as a whole. Also, in many ways the domain object behaves like an OU, so you can think of it as part of the tree.

Features of OUs

Besides providing a logical structure through the OU tree, OUs offer the following benefits.

  • An OU is a Group Policy target, so you can assign a different Group Policy to each OU.

  • If you want to delegate administration of some Active Directory objects, the most convenient way to do so is to put them in one OU and delegate administration of that OU. You could delegate administration of even single users and other objects, but the outcome would be difficult to manage. If you stick to only per-OU permissions, it is easier for you to track what you are doing.

  • Using per-OU permissions, you can control object visibility—that is, which objects and object properties various users may see.

Unfortunately, even though you can assign permissions for OUs, you cannot assign permissions to OUs. In other words, you cannot define that all users in a certain OU get access to a certain folder or other resource. This will probably result in extra work for you, because you need to create a security group and put all the users in this group to give them access.

In NDS you can give permissions to OUs, so there is no need to create a group to correspond to each OU.

In Active Directory, OUs are not related to partitioning the directory database. They are purely logical units inside a domain. The domain in turn is the partition unit.

If there are several domains in your forest, each has a totally independent OU tree. The OU tree of an upper domain does not "continue" to a tree in a lower domain. However, if you have a Windows 2000 workstation and look at the tree by selecting My Network Places, Entire Network, Directory, you will see the child domains as siblings of the first-level OUs, as Figure 3.6 illustrates. Windows XP or Windows Server 2003 doesn't show Directory in My Network Places.

03fig06.gifFigure 3.6 The Sales domain is a child of the Sanao domain. If you look at the tree via My Network Places of Windows 2000, you will see Sales as a sibling of the first-level OUs of Sanao.

Although it is not supported by Microsoft, you can enable the OU browsing of Windows 2000 also in Windows XP. Just copy the file DSFolder.dll from Windows 2000 to the System32 folder of Windows XP and register it with the command regsvr32 dsfolder.dll.

In NDS, all OUs form one big tree.

OUs are created primarily for administrators' use—end users don't usually see OUs. For example, when an end user performs a search operation for other people in Active Directory (by clicking the Start button and selecting Search), the user doesn't see the found users' OUs at all, and he couldn't even if he wanted to. For example, if there is a Jack Brown in OU Sales and another Jack Brown in OU Production, the person doing the search cannot tell the difference between them from the search dialog box. This is also true if a user is searching for a certain printer.

On the other hand, if the user has a Windows 2000 workstation and selects My Network Places, Entire Network, Directory, he will be able to browse the OU tree and see which user or printer is in which OU.

It is a matter of opinion whether hiding the OU tree from users is a good or bad thing.

Managing OUs

Managing OUs includes the following tasks:

  • Creating OUs

  • Setting OU properties

  • Moving, renaming, and deleting OUs

  • Setting Group Policy, checking the Resultant Set of Policy (RSoP), assigning a COM+ partition set, assigning permissions, and delegating administrative tasks

In this chapter, we focus on the first three items in the list. The last item is discussed in later chapters as follows: Group Policy and RSoP, see Chapter 7; permissions and delegating, see Chapter 4; and COM+ partition sets, see Windows Server 2003 Help and Support Center.

As you read on, we encourage you to try these management tasks in your domain. You cannot do any irreversible harm to your domain.

Creating OUs

Creating an OU is as easy as creating a disk folder. Just follow these steps:

  1. Launch the Users and Computers snap-in.

  2. Right-click the parent OU you want (or the domain object) and choose New, Organizational Unit.

  3. Type in the name you want and press Enter.

Unfortunately, the Insert key doesn't do the trick here as it does with the NwAdmin software for NDS.

The maximum number of characters in an OU's name is 64, which is usually more than enough. After all, it is best to use short (but descriptive) names. The OU name is a Unicode character string, so at least in theory you could have some Gurmukhi characters in an OU name. You could also put all the possible punctuation characters in an OU name, but this would make your life harder if every now and then you had to type the distinguished name of such an OU.

Setting OU Properties

After you have created an OU, you can set its properties by right-clicking the OU and choosing Properties. The dialog box in Figure 3.7 will appear.

03fig07.gifFigure 3.7 Some of the properties that you can enter for an OU include address-related information.

Table 3.6 lists the property choices. None of them affects the way Windows works. They just provide information for human beings.

Table 3.6. Properties of an OU Object

Property

LDAP Name [*]

Syntax

Indexed

In GC

Description

description

Text (1,024) [**]

 

X

Street

street (Street-Address)

Text (1,024) (Each new line takes two characters.)

 

X

City

l (Locality-Name)

Text (128)

X

X

State/province

st (State-Or-Province-Name)

Text (128)

 

X

Zip/Postal Code

postalCode

Text (40)

   

Country/region [***]

co (Text-Country)

Text (128)

 
 

c (Country-Name)

Text (3)

X

 

countryCode

Integer

 

Managed By

ManagedBy

DN [****] (You select a user or contact from a list.)

   

Table 3.6 shows the property LDAP names, which you will need if you use certain Resource Kit utilities or scripting, or if you set per-property permissions. One of the properties in the table is indexed, and five are part of the global catalog. Indexing makes searches faster, and the global catalog makes reading properties faster if you have multiple domains and sites.

When you set properties for an OU, if you add a user in the Managed By tab as the "manager" of an OU, that user doesn't get any permissions for the OU. This setting is purely informational. The other fields on that tab are the manager's properties, not the OU's.

Behind the scenes, the base schema lists 123 possible properties for an OU (104 in AD2000). Most of them are not used, so it doesn't matter that you can set only a few of them using the Users and Computers snap-in.

If you have Advanced Features turned on in the Users and Computers snap-in, you will see also the Security and Object tabs in the properties dialog box. The information in the former tab is discussed in Chapter 4, and the information in the latter tab is discussed in Chapter 5.

Moving, Renaming, and Deleting OUs in a Tree

You may find that your original OU tree is no longer optimal as a result of either insufficient planning or changed circumstances. If you need to rearrange your OU tree, you can easily move, rename, and delete OUs.

To move an OU inside a domain, either (a) drag it to a new location with the mouse, (b) use cut/paste with the keyboard or mouse, or (c) right-click the OU, select Move, and then choose the destination from the OU tree that opens up and click OK.

Note that not all of the OU's group policies and permissions move with it.

  • Group policies and permissions that are assigned for the object being moved move with the object.

  • Group policies and permissions that are inherited from above do not move with the object being moved. Instead, the OU will inherit new ones in its new location.

You can move several sibling OUs at once. Select them in the right-hand pane of the snap-in by using the Shift and/or Ctrl keys. Then proceed as previously described.

If you want to move an OU to another domain in your forest, you need to use another tool, such as the Support Tools command-line tool MoveTree. It is discussed further in Chapter 6.

You can rename an OU either by right-clicking the OU and selecting Rename or by selecting the OU and pressing F2. After you type the new name, press Enter.

Similarly, you delete an OU by right-clicking it and selecting Delete or by selecting the OU and pressing the Delete key. If the OU being deleted contains other objects, you are prompted to accept deleting them, too.

Planning OUs

Even though "OU" stands for "organizational unit," you don't necessarily create OUs to match the organizational units of your company. You create OUs for administrative units, physical locations, and object types (e.g., an OU for users, an OU for printers, and so on), or you can create OUs based on corporate structure.

OU trees are like folder trees on disk: There isn't just one "right" way to create them. When planning your OUs, keep in mind the following aspects of OUs:

  • OUs are purely logical entities: They are not related to physical partitions or replication.

  • OUs are for delegation of administration.

  • OUs are for Group Policy (including application publishing and assignment).

  • OUs are for controlling object visibility.

  • OUs are easy to reorganize. However, reorganizing them may confuse some users if they have learned a certain structure.

  • Each OU should have a specific need and purpose to exist.

  • There is no practical limit on how deep the OU tree can be. However, keep in mind the previous bullet about a specific purpose for each OU.

  • OUs are mainly administrative units; typically users do not see them (although Windows 2000 users can if they want).

If you have more than one domain, you might want the OU trees in all domains to be planned according to similar principles.

The aforesaid suggests that you should create OUs based on how administration is organized in your organization. The three typical scenarios are the following:

  • Geographical: If Boston has its own administrators and London has its own, you should probably create the Boston and London OUs.

  • Object type: If some people administer users and others administer printers, you should probably create the Employees and Printers OUs, for example.

  • Organization: If the Sales department has its own administrators and Production has its own, you should probably create the Sales and Production OUs.

It is also quite possible that more than one of these three divisions are used in your organization. In this case, you should create one level based on one division and another level based on another division. For example, your top-level OUs could be based on geography, and second-level OUs based on object type.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020