Sun logo      Previous      Contents      Index      Next     

Sun Java System LDAP SDK for C Programming Guide


The Sun™ Java System Directory Server Resource Kit LDAP SDK for C Programming Guide documents the Sun Java System LDAP SDK for C, a software development kit (SDK) for writing Lightweight Directory Access Protocol (LDAP) client applications. This preface contains the following sections:

Audience for This Guide

This LDAP SDK for C Programming Guide is intended for use by C and C++ programmers who want to enable new or existing client applications to connect to, search or update databases that are managed by LDAP servers located on a network or the Internet. This book assumes that you are a programmer familiar with writing and compiling C applications on the platform(s) for which you want to implement this functionality. It is also recommended that programmers attempting this implementation understand the LDAP Data Interchange Format (LDIF).

In addition, programmers should be familiar with Sun Java System Directory Server, Sun Microsystems’ LDAP data repository, and the command-line syntax for the particular shell and platform on which the server is installed. The books and guides described in "Related Sources of Information" provide a good introduction to this information.

Directory Server Resource Kit Documentation Set

The Sun Java System DSRK documentation set contains three manuals:

Tools Reference

The Tools Reference explains how to use each of the tools shipped with the DSRK. The book details their command-line syntax, listing all options, functionality, and return values (where applicable), as well as providing examples of usage.

LDAP SDK for C Programming Guide

The LDAP SDK for C Programming Guide (this guide) documents the LDAP SDK for C by explaining how to use it to enable applications to interact with LDAP servers. It offers a references to the LDAP API, which consists of data structures and functions. This manual is divided into four parts:

LDAP SDK for Java Programming Guide

The LDAP SDK for Java Programming Guide documents the LDAP SDK for Java. It includes descriptions of, and reference material for, the interfaces, classes, and methods used to enable Java applications with the functionality to interact and communicate with LDAP servers. Also available are the Java API specifications or Javadocs.

Documentation Conventions Used in This Guide

In the DSRK documentation, certain typographical conventions and terminology are used. These are described in the following sections.

Typographical Conventions

This book uses the following typographical conventions:


Below is a list of general terms used in the Directory Server Resource Kit documentation set:

Related Sources of Information

In addition to the documentation provided with Directory Server Resource Kit, there are several other sources of information that might be helpful.

Directory Server Documentation

The tools in the DSRK interact with Sun Java System Directory Server. The following documentation is referenced throughout this guide:

A listing of the full set of documentation can be found at:

Sources of Information

Sun Microsystems has other helpful sources of information. Table 0-1 lists these sources.

Table 0-1  Additional Sources of Information 



Sun Java System Download Center

Sun Java System Technical Support

Sun Java System Professional Services Information

Sun Enterprise Services, Solaris Patches and Support

JavaServer Pages

The Source for Developers

Sun Training and Certification

Third-Party Sources of Information

The following sections list sources of information found on sites that are not under the auspices of Sun Microsystems.


Sun is not responsible for the availability of third-party Web sites mentioned in this document. Sun does not endorse nor is responsible or liable for any content, advertising, products, or other material available from such sites or resources. Sun will not be responsible or liable for any damage or loss caused by, alleged to be caused by, or in connection with, the use of or reliance on any such content, goods, or services that are available on or through any such sites or resources.

The Mozilla Project

SDKs for accessing LDAP in C and Java are also released through the Mozilla™ open source project. Instructions on obtaining the source code and contributing to the development of these API is available at:

LDAP and Associated Information

There are many sources of information detailing LDAP and its associated technologies.


Note that some of the links provided are time-sensitve with drafts that might expire.


This product includes software developed by the Apache Software Foundation:

This product also includes software developed through Mozilla

Documentation Feedback

Sun is interested in improving its documentation and welcomes your comments and suggestions. Use this web-based form to provide feedback to Sun:

Please provide the full document title and part number in the appropriate fields. The part number can be found on the title page of the book or at the top of the document, and is usually a seven or nine digit number. For example, the part number of this Directory Server Resource Kit 5.2.1 LDAP SDK for C Programming Guide is 817-6707-05.

Previous      Contents      Index      Next     

Copyright 2004 Sun Microsystems, Inc. All rights reserved.