Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


March 13, 2000

Publishing Objects in Active Directory


RSS
Subscribe to Windows IT Pro | See More Active Directory (AD) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

In an overview of Windows 2000's (Win2K's) Active Directory (AD) a few weeks ago, I described objects and containers and explained how users can query AD to locate them. However, For example, to make a shared folder called Budget available to the folks in the finance department, an administrator (or someone else with the proper authority) must share the folder and publish it in the Finance Organizational Unit (OU). You can publish computers, contacts, groups, OUs, printers, users, and shared folders.

What Must You Publish Manually?
AD automatically publishes most objects, including users and computer objects, when you create them. However, you must publish the following objects manually in AD on Windows 2000 Server (Win2K Server):

  • Shared folders
  • Downlevel printers (i.e., printers connected to computers running pre-Win2K OSs, such as Windows NT or Windows 9x)
  • Dfs roots

You can also grant rights to other individuals or groups to publish objects in certain OUs so that they can manage their department resources.

When you install a printer on a Win2K server, you automatically publish the printer in AD, as Screen 1 shows. Let's discuss the procedure for manually publishing objects in AD.

Publishing shared folders. You have to publish all shared folders in some container in Active Directory Users and Computers (ADUC). Typically, you create OUs and publish objects in them instead of in the built-in containers. You don’t want to use built-in containers because you need to organize network resources by grouping them into OUs. The default containers exist so that there’s a place for objects when you upgrade from NT 4.0. You need to move users to the new OUs and then delegate certain individuals or groups to manage these OUs. You can’t delete or rename the built-in containers, so you’re stuck with the names. OUs are also used to apply group policies. If you were to use the Users OU, for example, it contains not only the Guests account, but the Domain Admins group. So if you apply a policy to restrict guests, you’ll lock yourself out as well if you are a domain administrator.

To create a shared folder called Customers in a Sales OU, right-click Sales OU and select Shared Folder. Type Customers in the Name box and enter the path to the folder in the network path box using the format \\server\share. Unfortunately, there's no Browse button to help you locate existing shared folders, so you have to create the folders that you want to share and then publish them in the OU. But a Browse button isn't the only thing missing here: If you make a typographical error, ADUC publish the folder anyway. You can mistype a folder's name, and you won't know that you made an error until users report that they can’t locate the published folder. Unfortunately, Microsoft needs to do some serious work to improve the process of sharing and locating shared folders. Searching shared folders is the most common of all the searches that users conduct in AD, and yet the shared folder search capabilities are the most poorly designed.

Once you have created a shared folder, you can double-click the folder and enter a description and keywords. The keyword feature is really cool. As Screen 2 shows, you can add keywords that users can search on—they no longer need to know server names, locations, or share names. For example, if Chris sends an email message to Sharee to let her know that he has updated the new vendors list, Sharee can search for the keywords New Vendors in the Sales OU, and the results will take her straight to \\corpdata\customers.

Publishing downlevel printers. As I mentioned earlier, AD publishes printers attached to Win2K Server machines automatically. To publish a downlevel printer, right-click the OU you want to publish the printer in and enter the network path to the pre-Win2K print share using the format server\share. You can't add downlevel printers that don't exist (as you can with shared folders).

Publishing Dfs Roots. Publishing a Dfs root is similar to publishing a shared folder. Right-click the OU and select Shared Folder, but enter the name of the Dfs root as the shared folder.

Searching for Objects in AD
Now that we know how to publish objects, let's talk about how to locate them in AD. You can easily locate computers, printers, and users under "Search for other items" by clicking Start, Search, For Files or Folders. However, Microsoft has made searching for shared folders more difficult:

  1. Go to My Network Places.
  2. Double-click Entire contents.
  3. Double-click Directory.
  4. Right-click an AD object, such as an OU, and click Find.
  5. In the search box, click the down arrow next to Find, and select Shared Folders.
  6. Search on names or keywords.

Be aware that if you right-click an OU, you'll limit your search to that OU. To search an entire directory, you might have to select Entire Directory next to In, as Screen 3 shows. As you can see, you can also search for Users, Contacts, and Groups; Computers; Printers; and OUs. The Custom Search option lets you search for several additional categories, such as Trusted Domains and Certificate Templates.

I know of several other methods for searching for shared folders in AD, but the bottom line is that there's no simple way. In some early Win2K builds, you could get to the Find command by right-clicking My Network Places—a convenient way to locate AD objects, including shared folders—but Microsoft has removed that option. To get to the Find option quickly, go to Start, Run and type the case-sensitive command

Rundll32 dsquery,OpenQueryWindow

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

More fun TechEd 2005 Resources

Kevin points out some more TechEd resources ...

WinInfo Short Takes: Week of October 13, 2008

An often irreverent look at some of the week's other news... ...


Active Directory (AD) Whitepapers Sustainable Compliance: How to reconnect compliance, security and business goals

User Provisioning and Access Control

Managing Unix/Linux with Microsoft System Center Operations Manager 2007 Cross Platform Extensions Beta

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Windows 2003: Active Directory Administration Essentials

Related Active Directory (AD) Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Microsoft Exchange & Windows Connections event returns to Las Vegas Nov 10 - 13
Connections returns to Las Vegas for this exciting event where each attendee will receive SQL Server 2008 standard with 1 CAL. Co-located with Microsoft ASP.NET, SQL Server, and SharePoint Connections with over 250 in-depth sessions.

Free Online Event! Virtualization:Get the Facts!
Register now and attend this free, live in-depth online conference on November 13 and 20, 2008, produced by Windows IT Pro. All registrants are eligible to receive a complimentary one-year digital subscription to Windows IT Pro (a $49.95 value)!

Check Out Hyper-V Video on ITTV
Watch Karen Forster's interview on Hyper-V's performance on ITTV.net.

Ease Your Scripting Pains with the Flexibility of PowerShell!
Join MVP Paul Robichaux on December 11, 2008 at 11:00 AM EDT as he equips you with PowerShell basics in 3 introductory lessons, each followed by a live Q&A session—all on your own computer!

Latest Advancements in SSL Technology
There are a variety of different kinds of SSL to explore to ensure customer data is kept confidential and secure. In this paper, we will discuss some of these SSL advances to help you decide which would be best for your organization.

PASS Community Summit 2008 in Seattle on Nov 18-21
The don’t-miss event for Microsoft SQL Server Professionals. Register now and you’ll enjoy top-notch Microsoft and Community speakers and more.



Solving PST Management Problems
In this white paper, read about the top PST issues and how to administer local/network PST Files.

Get Protected -- Data Protection Manager 2007
Protect your virtualized environment with Data Protection Manager

Order Your SQL Fundamentals CD Today!
Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.

Maximize Your SharePoint Investment: Get Your Data Moving
Watch this web seminar now to learn how to maximize your SharePoint investment! Join us as we take a look at the complex business of securing, accessing and managing vast amounts of information in a global network and various ways to get your data moving.
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing