LDAP Libraries for C on NetWare and Windows
LDAP Libraries for C on NetWare and Windows enables you to write applications to access, manage, update, and search for information stored in eDirectory and other LDAP-aware directories. The LDAP libraries provide access to eDirectoryeDirectory based on the C LDAP API, which is based on the draft proposed to the IETF. Portions of the source for this component are also based on the Directory SDK (Version 2.0), which is available from OpenLDAP.org LDAP Libraries for C LDAP (Lightweight Directory Access Protocol) is becoming an Internet standard for accessing directory information, allowing LDAP-enabled applications to access multiple directories. LDAP v3 supports such features as secure connections (through SSL and SASL), entry management, schema management, and LDAP controls and extensions for expanding LDAP's functionality. The LDAP Libraries for C kit enables you to write applications to access, manage, update, and search for information stored in eDirectory and other LDAP-aware directories. Installation on Windows During installation, your PATH variables are updated to include the following directories (default location is C:\Novell): C:\Novell\ndk\cldapsdk\bin\win32 Installation on NetWare From the installation location on your workstation, copy the following library files to the sys:\system directory: ldapsdk.nlm From the tools directory, copy the following files to the sys:\system directory: ice.cfg Documentation on Windows We've enabled Start menu documentation entries. After you have installed the documentation, use the "NDK Documents" entry on your Start menu to quickly locate and access NDK documentation. To read or print the documentation, you need Adobe Acrobat Reader, a free download from http://www.adobe.com. The documents in this download were created as standalone files; therefore, links between files in this download and links to files in other downloads will not resolve. The download includes the following files:
Supported Platforms In this release, the libraries can be installed on the following platforms:
The NDK has Early Access versions of libraries (in separate downloads) for the following platforms:
LDAP v2 and v3 Support This version of the LDAP Libraries for C supports both LDAP v2 and LDAP v3. However, the LDAP v2 support is for backwards compatibility with existing applications. New applications should be written using the LDAP v3 functions. Bind eDirectory supports simple bind. However, for non-encrypted connections, the LDAP server must be configured to allow clear-text passwords. The LDAP Libraries for C kit includes SASL functions and bind functions that perform simple binds. For secure, encrypted connections to eDirectory, use the SSL functions with certificates. SSL Support SSL support is provided by a companion library, ldapssl.dll (for Windows) or ldapssl.nlm (for NetWare). This library provides functions for initializing SSL and creating LDAP session handles that are SSL enabled. An SSL-enabled session handle ensures that all data is encrypted between the client and the server. Applications using SSL need to link with the ldapssl library and the client must have NICI 1.5.4 or higher installed. (See Section 2.0 Dependencies for more details.) The LDAP Libraries for C kit does not currently support establishing SSL connections with Microsoft and IBM LDAP servers. LDAP Controls LDAP servers on eDirectory (NDS 8.x) and above support the following controls:
The LDAP Libraries for C kit supplies functions to help applications use these controls. LDAP Extensions eDirectory supports the following LDAP extensions for obtaining effective rights, managing replicas and partitions, and refreshing the LDAP server: 2.16.840.1.113719.1.27.100.1 ndsToLdapResponse To use these extensions, the LDAP server must be running on eDirectory 8.5 or a higher version. To obtain a copy, see Novell's developer product site: http://developer.novell.com/edirectory/. The LDAP Libraries for C kit includes functions to help applications use these extensions. If you used an early beta version of eDirectory 8.5, be aware that the OIDs for the extensions changed for beta 5 and the final release. LDAP Utilities This release includes the command line version of the Novell Import Covert Export utility (ice.exe or ice.nlm). This utility performs all the functions of the legacy LDAP utilities. Novell recommends using this utility instead of the legacy LDAP utilities. NetWare NLMs are limited to names with a maximum of 8 characters; therefore the NetWare platform requires shorter names for the LDAP utilities. They have been renamed as follows for the NetWare platform:
These utilities are located in the tools directory. You need to either copy them to the system directory or include the directory in the PATH variable. Dependencies For full functionality, the LDAP Libraries for C kit is dependent upon the following:
|
|||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||