|
|||||
|
|||
Functions | Platforms | ||
LDAP support (OMLDAP) |
LDAP is an acronym for "Lightweight Directory Access Protocol", a client-server protocol to retrieve and manage directory information. The OmniMark LDAP 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.
You must have the SUN ONE LDAP Directory 5.0 client driver installed. If you do not have this driver, the OMLDAP library will not load. You can get this driver for your platform from the "SUN ONE Directory SDK for C 5" from the SUN download page.
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"
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.
OMLDAP consists of the following files:
The functions in this library use the following OMX components:
The OMLDAP library is packaged as a module. To use OMLDAP, you must import the OMLDAP module into your program using a statement like this:
import "omldap.xmd" prefixed by ldap.
Note that the prefix "ldap.", which is attached to all functions, constants, and OMX's exported by this library, is set in this statement and can be changed. For readability, we recommend that you always use the standard prefix when importing modules supplied by OmniMark.
Functions ldap.add-entry ldap.advance-entry ldap.attribute ldap.close ldap.connection ldap.create-attribute ldap.delete-entry ldap.entry-exists ldap.entry-name ldap.modify-entry ldap.name ldap.omldap-version ldap.open ldap.reader ldap.rename-entry ldap.retrieve-values ldap.search |
Platforms HP/UX HP-UX Itanium 2 IBM AIX 5.3 Linux (Intel) Linux Red Hat Enterprise 5 MS Windows 98/ME MS Windows NT/2000/XP MS Windows Vista Sun Solaris 8 |
Copyright © Stilo International plc, 1988-2008.