O'Reilly logo

Programming ColdFusion by Rob Brooks-Bilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. Interfacing with LDAP-Enabled Directories

This chapter covers techniques for accessing both public and private LDAP servers and provides examples of searching directories; displaying results; and adding, editing, and deleting entries. You can use Cold Fusion’s CFLDAP tag to access information stored in LDAP (Lightweight Directory Access Protocol) enabled directories (including X.500 directories). LDAP is quickly becoming a standard for delivering directory-based information over the Internet. Popular uses for the CFLDAP tag include creating search interfaces for public and private user directories and creating administrative interfaces for managing LDAP directories.

LDAP Basics

The Lightweight Directory Access Protocol (LDAP), currently at Version 3, originated at the University of Michigan. LDAP is a specification that defines a standardized way for organizations to store and access directory information over TCP/IP. Information stored in an LDAP directory is arranged in a hierarchal manner as depicted in Figure 15-1.

A typical LDAP structure

Figure 15-1. A typical LDAP structure

LDAP makes it possible to create complex directories of information that can quickly and easily be searched. LDAP directories are most commonly (although by no means exclusively) used to maintain “white-page” type information such as names, addresses and telephone numbers, or organizational structures and contact information. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required