Building
LDAP-Enabled Applications with Microsoft's Active Directory and Novell Directory Service
shows how to build LDAP-savvy applications in Active Directory and NDS. LDAP is an open,
vendor-neutral standard for accessing directory information. The book uses real-world code
examples to demonstrate how to access LDAP-enabled applications using Java servlets, Java
applets, and Active Server Pages, and covers security issues.
The only applied
guide for LDAP development in Active Directory and NDS environments.
- LDAP-the open
standard for directories
- Integrate LDAP
into your Active Directory and NDS applications
- Explained by one
of the world's top directory authorities!
Lightweight
Directory Access Protocol (LDAP) is an open, vendor-neutral standard for accessing
directory information. Using LDAP, developers can transform directories built in Active
Directory and Novell Directory Services (NDS) into extendable, multiplatform,
Internet-enabled solutions. In this book, Bruce Greenblatt-one of the world's leading
directory experts-shows exactly how to develop custom LDAP solutions in both Active
Directory and NDS environments. With examples in Java, and with the near-universal access
afforded by LDAP, this book provides the tools you need to make your distributed
applications more widely available than ever before.
Greenblatt
begins with a discussion of LDAP and how it fits in with Internet standards, then explains
LDAP schema design and security concepts. After detailed coverage of LDAP implementations
in Active Directory and NDS, and an overview of how to use LDAP with Java, Greenblatt
gives a first-hand look at Internet directories in action and walks through three complete
application case studies-storage management, e-commerce, and a Web-based chat room. He
then demonstrates how to access LDAP-enabled applications using Java servlets, Java
applets, and Active Server Pages. Finally, you'll learn about LDAP's limitations (and how
to work around them!) and also how to use XML with LDAP. Background information on
Internet technologies, networking, and security is provided throughout. You'll learn how
- LDAP can
dramatically increase the reach of your distributed applications
- To enable LDAP in
Active Directory and NDS applications, step by step
- To integrate LDAP
technology into your own applications
This book is
designed for Active Directory and NDS software developers, especially those involved with
client-server or three-tier software development tools.
Author Bio
BRUCE GREENBLATT
is widely recognized as one of the world's leading experts on directory technology,
messaging, and messaging management systems. He has worked for IBM, Veritas, RSA, and
Novell, where he was one of the developers of NDS. Currently, Greenblatt is the president
and co-founder of Directory Tools and Application Services.
Table of
Contents
Acknowledgments.
PART I.
1. Introduction.
What Is Driving LDAP Application Development? Who Is the Target Audience of This Book?
What Background Is Needed to Understand This Book? How to Obtain Documentation on the
Internet. Organization of This Book.
2. An Overview of LDAP and the Internet.
The Internet. The TLS Layer. The TCP Layer. The UDP Layer. Tying the Layers Together.
Directories. LDAP. Data Storage. Protocol Usage. Distributed Operation. White Pages
Service. Chapter Summary.
3. LDAP Overview.
LDAP Namespace and Information Model. LDAP Functional Components. Command Details. Bind
and Unbind Commands. Search Command. Making Changes (Add, Modify, and Delete Commands).
Lesser Used Commands (Modify DN, Compare, and Abandon). Extended Commands and Controls.
What APIs Are Available for Programming to LDAP? What Kind of LDAP Server Is Included with
NDS and Active Directory?
4. Principles of LDAP Schema Design.
Typical Problems with LDAP Schema Design. Relational Database Normalization. Data
Redundancy. Retrieval of Unwanted Data. Delete and Update Anomalies. An Example. Summary.
5. LDAP Security.
Network Security. Secret-Key Encryption. Public-Key Encryption. Message Digests, Digital
Signatures, and Authentication. TLS. Access Control. Native NDS Access Control.
Application-Defined Permissions. Authentication.
PART II.
6. Using an
Installation of Active Directory.
A Typical ADS Installation. ADS Replication.
7. Using an Installation of Novell's NDS.
A Typical NDS Installation. NDS Replication.
PART III.
8. Building
LDAP Programs Using Java.
LDAP APIs for Java. The Netscape LDAP API for Java. Connecting to the LDAP Server.
Searching the Directory. Adding Entries. Modifying Entries. Deleting Entries. Using
Compare. Renaming Entries. Using Asynchronous Commands. Ending the Connection. Using LDAP
in Java Applets. Using LDAP in Servlets.
9. Example LDAP Applications.
Using LDAP to Store User Configuration Information. Using LDAP to Store
Application-Defined Access Control Information. An LDAP-Enabled Mailing List
Administration Application. Installing LDAP-Enabled Applications.
10. Limitations of LDAP.
11. LDAP and XML.
A Quick XML Overview. DSML.
Index.
196 pages