LDAP support (OMLDAP)

LDAP is an acronym for "Lightweight Directory Access Protocol", a client-server protocol to retrieve and manage directory information. The OMLDAP library contains functions that let you create connections to different LDAP data sources and let you display, create, modify, and delete entries in those sources.

You can access any LDAP-compliant server with the LDAP library functions.

LDAP was first designed as a lightweight interface for PCs to access X.500 directories, but can also be used with any other directory system that follows the X.500 data models. Directory information is organizational information based on entries. An entry is a collection of attributes that have a name. A directory entry could be the following:

  "cn=Henrik Larsen, ou=sales, o=ABC Industries, c=Norway"

The functions in this library use the following opaque data types:

  • ldap.connection—used by functions performing actions on the entire LDAP instance.
  • ldap.attribute—used by functions performing actions on the entry or attribute instance.

Usage Note

To use OMLDAP, you must import it into your program using an import declaration such as:

  import "omldap.xmd" prefixed by ldap.

Platform Note

OMLDAP is not available on 64-bit Windows.