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 


December 1997

Active Directory and LDAP


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!

About a decade ago, different mail systems stored messages in different ways, which was a big problem. To simplify the matter, the world settled on a standard format (X.400) for mail messages. This standard wasn't the mail format for any particular mail system, just an intermediate format that everyone agreed on. In theory, with X.400, you don't need to write gateways between cc:Mail and MSMail, PROFS, All-in-1, CEO, Simple Mail Transfer Protocol (SMTP), and so on. You write just one gateway from cc:Mail to X.400. Similarly, you get a gateway from MSMail to X.400, and mail can go from Acme to Apex as cc:Mail to X.400 to MSMail. Terrific. We've solved the "How do I send mail from a cc:Mail user to an MSMail user in a format MSMail can understand" problem. But that's not the whole mail interface problem because the user databases that MSMail and cc:Mail use present another point of incompatibility.

An Acme employee can fire up cc:Mail and create a new message, and cc:Mail will present the user with a list of the users that cc:Mail knows. At the end of that list, a bogus user such as X400GTW will appear. cc:Mail is conveniently showing the Acme employee its user database, but no MSMail users appear on the list. To send mail to an Apex user, the Acme employee must send mail to X400GTW. Then cc:Mail will prompt the employee for the name of the person on the other side of the gateway that she wants to communicate with. Bummer. Now she has to call the person she's mailing to and ask him his email name. The same kind of thing happens to an Apex user trying to use MSMail to email a cc:Mail person.

The problem of connecting mail systems is, then, twofold. First, different mail systems use different message formats; a standard intermediate format called X.400 solves this part of the problem. Second, different mail systems use different formats for querying their databases of recognized users. Again, the standards folks came to the rescue with something called X.500, a standard for accessing databases of users.

Is this situation starting to sound familiar? Many database vendors have very different database engines, but most vendors have agreed on a set of verbs for accessing a database: Structured Query Language (SQL). The beauty of SQL is (in theory) that a client accessing data on a database can be relatively ignorant of whether the data is stored in DB-2, Oracle, Informix, or SQL Server. (I say in theory because every vendor likes to enhance SQL, making for some incompatibilities.)

The Directory Server Solution
Now suppose the MSMail and cc:Mail programmers (and the Novell and NT programmers, for that matter) decide that they're tired of writing code to keep track of a database of users. Instead, they'll let anyone do it, so long as users can query that database in some standard way. Just as you can have file, print, and Web servers provide services on the network, you can also have a "user database server" (or directory server) keep the user database and respond to queries from MSMail, cc:Mail, Novell, NT, and the like. Ultimately, that's what a domain controller will do under NT 5.0. In NT 5.0, third-party client-server products such as databases, mail systems, and groupware systems could all "open hailing frequencies" to their nearby domain controller to find out about a user.

But those programs still need an interface, a standard set of programming commands to query the directory. Writing a program to interrogate an NT 3.x or 4.0 domain controller about what's in its SAM is possible, but the language and protocol to do that job is a proprietary Microsoft one. SQL could be the answer, but it's awfully resource-heavy. Making every domain controller speak SQL would be overkill, because SQL is designed to solve a wide range of data query problems in a relational model. In contrast, databases of users, directories, are simpler: They tend to be flat files, and they tend to be read more frequently than they are written. As Microsoft's Steve Judd said, "You put things into Active Directory that need to be visible in a lot of places but that don't change very often." The term for such a database is a directory. You can think of X.500 as SQL for directories.

Many people considered X.500 to be something of a cumbersome protocol, and the Internet world came up with LDAP, an alternative method of accessing X.500 directories. Running an LDAP client imposes less system overhead than X.500. Also, LDAP is an Internet protocol, and X.500 is a Consultative Committee for International Telegraphy and Telephony (CCITT) protocol. LDAP will definitely correct one of the sins of NT.

Before I go, let me add one more point. I've been referring to the Active Directory as a database of users, but that's not all you'll find in the Active Directory. Under NT 5.0, Active Directory will also contain information about the machines on the network, shares available on the network, and available applications. Active Directory will be the central repository of network configuration information.

End of Article

   Previous  1  [2]  Next  


Reader Comments
Thank you for the information provided to me and all using this site.
This site gave me basic information about copmlications in building up & maintaining the directories.

Swapna Reddy November 16, 2003


I am running Domino mail server and I am getting the port 389 ldap is already running how to stop system ldap services.
thanks

naveed December 23, 2003


dear sir i want to abt windows 2003 server tips & abt tcpip. pls send the full details.

n.meenakshisundaram December 30, 2003


Sir i did read your document regarding the Active Directory and LDAP but still its not clear to me, If u can mail me the same in details then i wll be thank full to u.

Regards


Mitesh Agrawal March 11, 2004


This is a good introduction artical. Done good job in explaning the difference between the x.400 & X.500 standards

kotaru March 23, 2004


sir,
I had read ur document but still it is not clear, If you can mail me I will be thankful to u.

vinod April 14, 2004


How to configure ldap on windows 2000 server. please send details via email. your immediate respose shaal be highly appreciated.

Ajikumar April 28, 2004


Guys, look up LDAP and AD on Microsoft's website. No one is going to do your job for you.

lamar May 26, 2004


hi


Anonymous User February 18, 2005


What is the version of LDAP in Windows 2000 Server Active Directory and what is the version of LDAP in Windows 2003 Server Active Directory?

Anonymous User February 21, 2005


 See More Comments  1   2 

You must log on before posting a comment.

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




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

How can I stop and start services from the command line?

...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...


Related Articles Active Directory

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

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

Addressing the Insider Threat with NetIQ Security and Administration Solutions

Related Events How IE7 & The New Extended Validation SSL Certificates Impact Your Site

Concrete Ways to Make Sure Your SharePoint Deployment Doesn't Blow Up

Top 10 Email Security Challenges and Solutions

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

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.


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