Home > Articles > Home & Office Computing

Extending the Active Directory Schema To Track Custom Info

  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
You can modify the Active Directory database to track almost anything you want: ID info, social security numbers, etc. Kurt Hudson shows how to track additional information about user accounts.

In the summer of 2000, a couple of network administrators at the University of California San Diego asked me whether there was a way they could store employee identification numbers and social security numbers in the Active Directory (AD) database. After a little research, I found a resource on the Microsoft Web site that helped me to get the answer. Since then, I've refined the solution a bit and updated it to work with Windows Server 2003 Active Directory. In this article, you'll learn just how easy it is to modify Active Directory to store all sorts of useful stuff.

As you may already know, the Active Directory schema consists mostly of classes and attributes:

  • Classes represent the types of objects that exist in Active Directory. For example, the user class defines the type of information that can be stored about users.

  • Each class has its own set of attributes. For example, the user class has Telephone-Number, Display-Name, Logon-Hours, and a whole lot more linked to it when Active Directory is installed. Each attribute represents a piece of information that can be stored about a user. Shortly, I'll show you how to create a new attribute for storing social security numbers (SSN) and how to extend the user class to include Employee-ID, Employee-Number, and SSN attributes (see Figure 1).

Figure 01Figure 1 An AD schema class and attributes to be modified.




The best way to learn how to modify the AD schema is to give it a try. I'll address key concepts along the way. If you can, go to a non-production Windows Server 2003 server that has Active Directory installed, and follow along.

NOTE

Most of these steps work pretty much the same way on Windows 2000—actually, there are fewer steps on Windows 2000—so you shouldn't get lost if you're still using that product.

Important: You won't be able to perform the steps in this article unless you have access to a user account that's a member of both the Schema Admins and Domain Admins groups (or with equivalent permissions). The default administrator of an Active Directory domain has all the necessary permissions to perform all the steps in this article. You must also be working on the computer that holds the Schema Master Operations role. By default, the first domain controller that you install in your forest is the Schema Master. You can learn more about operations master roles from Microsoft Knowledge Base Article 255690, "HOW TO: View and Transfer FSMO Roles in the Graphical User Interface" (FSMO stands for Flexible Single Master Operations).

  • Share ThisShare This
  • Your Account

Discussions

Worked
Posted May 26, 2009 05:37 PM by alsaydi23
0 Replies
I get error...
Posted Apr 23, 2008 12:03 PM by paul.wozniak
1 Replies
cannot search on newly created attributes
Posted Jan 24, 2008 05:41 PM by demon67
1 Replies

Make a New Comment

You must log in in order to post a comment.

Related Resources

Jennifer  BortelWin FREE iPhone Developer Books and Videos- Introducing @InformIT Giveaways
By Jennifer Bortel on February 5, 2010 No Comments

Apples’s recent iPad announcement made our hearts flutter so we couldn’t resist making an announcement of our own!

Today marks the first ever @InformIT Giveaway!

We’ll regularly post a video like this one profiling spectacular prizes we’re giving away—from books and videos to T-shirts and other exciting stuff. Check out the video below to see the giveaways for today, and then scroll down for more prize details and instructions on how to win them!

So Far So Good
By John Traenkenschuh on February 2, 2010 No Comments

So far, Win 7 is making a thoroughbred of what has been a plough mule laptop

Dustin Sullivan"Every OSX developer should have this book on their desk."
By Dustin Sullivan on February 1, 2010 No Comments

That was the sentence Mike Riley ended his recent Dr Dobb's CodeTalk review of Cocoa Programming Developer's Handbook with.

See All Related Blogs

Informit Network