Previous | Next | Trail Map | Tips for LDAP Users | Contents

Tips for LDAP Users

The lessons in the LDAP trail provide details on the mapping between the LDAP and the JNDI. They also give hints and tips for accessing the LDAP service through the JNDI.

The Comparison of the LDAP and JNDI Models lesson gives an overview of the LDAP and describes the differences and similarities between the JNDI and the LDAP.

The Security lesson shows how to use different security authentication mechanisms and SSL (Secure Socket Layer) to access the LDAP service.

The Miscellaneous lesson shows how to perform various tasks such as reading nonstring attributes and dealing with LDAP aliases and URLs.

The Searches lesson explains search filters in more detail. It also explains how the LDAP "compare" operation relates to the JNDI search methods and how the LDAP "search" operation is related to other JNDI methods.

The Referrals lesson explains how LDAP referrals work and how you can use them from within the JNDI.

The Schema lesson describes schema information that is available from the LDAP and how it can be accessed from the JNDI.

The Controls and Extensions lesson describes how to use LDAP controls and extensions.

The Connections lesson discusses the relationship between contexts and connections to LDAP servers. It also includes topics such as connection pooling, automatic discovery of LDAP service, connection timeouts and detection of connection closures.

The Frequently Asked Questions lesson answers many of the questions that you might have when using the JNDI to access the LDAP service.


Before you go on: The Preparations (in the Basics trail) lesson described how to set up the software required to use the JNDI to run the examples in this tutorial. The Directory Operations (in the Basics trail) lesson explained how to set the Context.INITIAL_CONTEXT_FACTORY(in the API reference documentation) and Context.PROVIDER_URL(in the API reference documentation) environment properties to contact the LDAP server that you are using.

This trail contains more LDAP-specific examples and requires that additional data be added to the LDAP server (such as for setting up aliases and referrals). To do this, add the entries found in ldaptrail.ldif to the LDAP server that you set up according to the Preparations (in the Basics trail) lesson. This task is typically performed by the directory server's administrator.


Previous | Next | Trail Map | Tips for LDAP Users | Contents