{"id":448,"date":"2012-02-10T20:30:37","date_gmt":"2012-02-10T20:30:37","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=448"},"modified":"2018-09-06T23:25:20","modified_gmt":"2018-09-06T23:25:20","slug":"networking-basics-part-9-active-directory-information","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=448","title":{"rendered":"Networking Basics: Part 9 \u2013 Active Directory Information"},"content":{"rendered":"<p>How objects are stored in the Active Directory<\/p>\n<p>In the last few parts of this article series,  I\u00a0talked a lot about what the Active Directory is, and how it works in  regards to your network&#8217;s domain controllers.\u00a0You already know from the  previous articles in this series that the Active Directory is  essentially a database containing various objects such as user accounts  and computer accounts.\u00a0In this article, I want to continue the  discussion by showing you how the Active Directory is structured.<\/p>\n<p>If you have ever used Microsoft Access or SQL Server, then you are  probably used to being able to open the database and view it in its  entirety.\u00a0However, none of the primary administrative tools used for  managing the Active Directory will allow you to see the entire Active  Directory database.\u00a0Instead, Microsoft provides you with a variety of  management tools that each focus on a specific area of the database.\u00a0As a  new administrator, the administrative tool that you will probably use  the most often is the Active Directory Users and Computers console.<\/p>\n<p>You can access the Active Directory Users and Computers console from  any Windows Server 2003 domain controller by selecting the Active  Directory Users and Computers command from the server\u2019s Start\u00a0\/ All  Programs\u00a0\/ Administrative Tools menu.\u00a0 The console itself looks  something like what you see in Figure A<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.windowsnetworking.com\/img\/upl\/image0011184149730163.jpg\" border=\"0\" alt=\"\" hspace=\"0\" align=\"bottom\" \/><br \/>\n<strong>Figure A: <\/strong>The Active Directory Users and Computers console is the primary administrative tool for managing Active Directory objects.<\/p>\n<p>I will later discuss the process of creating or editing Active  Directory objects, meanwhile I wanted to go ahead and show you this  console because it reveals a little bit the structure of the Active  Directory.\u00a0 If you look at Figure A, you will notice that there are a  number of containers, each of which correspond to a specific object  type.\u00a0 Every object in the entire Active Directory is assigned an object  type (known as an object class).\u00a0 Each object also has a number of  attributes associated with it.\u00a0 The specific attributes vary depending  on the object type.<\/p>\n<p>For example, the Users container is filled with user accounts, which  are all classified as user objects as shown in Figure B. If you were to  right click on one of these user objects and choose the Properties  command from the resulting shortcut menu, you would see the user  objects&#8217; properties sheet, as shown in Figure C.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.windowsnetworking.com\/img\/upl\/image0031184150075881.jpg\" border=\"0\" alt=\"\" hspace=\"0\" align=\"bottom\" \/><br \/>\n<strong>Figure B: <\/strong>The Users container is filled with user accounts, which are all classified as user objects.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.windowsnetworking.com\/img\/upl\/image0051184150075897.jpg\" border=\"0\" alt=\"\" hspace=\"0\" align=\"bottom\" \/><br \/>\n<strong>Figure C:<\/strong> When you right click on a user object and select the Properties command  from the resulting shortcut menu, you will see the user\u2019s properties  sheet.<\/p>\n<p>If you look at figure C, you will see that there  are fields for various pieces of information such as first name, last  name, telephone number, etc.\u00a0 Each of these fields corresponds to a  specific attribute of the individual object.\u00a0 Although the majority of  the fields shown in the figure are not populated, in a real life  situation these fields could be used to create a corporate directory.\u00a0  In fact, many applications are designed to extract information directly  from the Active Directory. For example, Microsoft Exchange Server  (Microsoft\u2019s e-mail server product) creates a global address list that  is based on the contents of the Active Directory. This global address  list is used when sending e-mail messages to other users in the company.<\/p>\n<p>If you look at Figure D, you can see a screen in  which I performed a search on the name Hershey (my cat\u2019s name in case  you are wondering), and Outlook returned all of the Global Address List  entries that contain the name Hershey. Not surprisingly there is only  one result. If you look at the results portion of the window though, you  can see where Outlook would display the user\u2019s title, business phone  number, and location had these fields been populated. All of this  information was extracted from the Active Directory.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.windowsnetworking.com\/img\/upl\/image0061184150133881.jpg\" border=\"0\" alt=\"\" hspace=\"0\" align=\"bottom\" \/><br \/>\n<strong>Figure D<\/strong><\/p>\n<p>If you wanted to see even more information about  the user, you could right click on the user\u2019s name and choose the  Properties command from the resulting menu. Doing so would display the  screen shown in Figure E. Keep in mind that this is not an  administrative screen. This is a screen that any user in the company can  access directly through Outlook 2007 in order to find information about  other employees.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.windowsnetworking.com\/img\/upl\/image0071184150133881.jpg\" border=\"0\" alt=\"\" hspace=\"0\" align=\"bottom\" \/><br \/>\n<strong>Figure E: <\/strong>You can view Active Directory information directly through Microsoft Outlook.<\/p>\n<p>It is easy to dismiss the significance of what I  just showed you. After all, Outlook is a Microsoft product, so it only  makes sense that Outlook would be able to extract information from the  Active Directory which is a part of another Microsoft product.<\/p>\n<p>What a lot of people do not realize though, is that  it is fairly easy for anyone with the appropriate permissions to  extract information from the Active Directory.\u00a0 In fact, there are  countless third party products that are designed to interact with the  Active Directory. Some are even capable of storing data in dedicated  Active Directory partitions.<\/p>\n<p>The reason why it is possible for you or for third  party software vendors to interact with the Active Directory is because  the Active Directory is based on a well known standard. The Active  Directory is based on a standard called X.500. The X.500 standard is  basically just a common way of implementing a directory service.  Microsoft is not the only company to create a directory service based on  this service. Novell originally created the NetWare Directory Service  based on this standard.<\/p>\n<p>There is also a standard way of accessing directory  service information. In an Active Directory environment, accessing  directory information involves using the Lightweight Directory Access  Protocol, otherwise known as LDAP. The LDAP protocol runs on top of the  TCP\/IP protocol.<\/p>\n<p>The first thing that you need to know about the  LDAP protocol is that whoever named it must have been on crack, because  there is nothing lightweight about it (although it is more lightweight  than the original directory access protocol, which was not designed to  take advantage of the TCP\/IP protocol stack). Entire books have been  written on LDAP, and an in depth discussion is not really appropriate at  this point in the article series.<\/p>\n<p>What I will tell you is that every object in the  Active Directory is refered to by a distinguished name (often  abbreviated as DN). The distinguished name is based on the object\u2019s  position within the directory hierarchy. There are many different  components that can go into a distinguished name, but some of the more  common ones are a common name (abbreviated as CN) and a domain name  (abbreviated as DC). For example, suppose that the Contoso.com domain  contained an account named User1, and the account was located in the  Users container. In such a situation, the distinguished name for the  user account would be:<\/p>\n<p>CN=User1, CN=Users, DC=Contoso, DC=com<\/p>\n<p>In this article, I have explained that information stored in the Active  Directory can be used by external applications through the use of the  LDAP protocol. In the next article in this series, I will continue the  discussion of distinguished names as they relate to the Active  Directory.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How objects are stored in the Active Directory In the last few parts of this article series, I\u00a0talked a lot about what the Active Directory is, and how it works in regards to your network&#8217;s domain controllers.\u00a0You already know from the previous articles in this series that the Active Directory is essentially a database containing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-448","post","type-post","status-publish","format-standard","hentry","category-networking-stuff"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=448"}],"version-history":[{"count":3,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/448\/revisions"}],"predecessor-version":[{"id":2657,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/448\/revisions\/2657"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}