Category Archives: LDAP

The Lightweight Directory Access Protocol is a small, fast TCP/IP protocol used for exchanging data with a Directory Server.

LDAP: Using authrate to measure authentication performance

Use the authrate command line tool to measure authentication performance of a directory server. The example below illustrates how to execute searches and binds against an LDAP directory server. The example: searches and binds against random entries in the range … Continue reading

Posted in LDAP, UnboundID | Tagged , , , | Leave a comment

LDAP: Example of Processing Time Histogram

The UnboundID Directory Server provides a breakdown of LDAP operations that been processed by the server. Below is an example of the processing time histogram from the directory server monitor: The following ldapsearch example shows how to retrieve information about … Continue reading

Posted in LDAP, UnboundID | Tagged , | Leave a comment

LDAP: Authentication Best Practices

LDAP: Authentication Best Practices is now available. This page offer best practices and hints from my experience with customer LDAP deployments over the last 15 years.

Posted in LDAP | Tagged , , , , | 2 Comments

Quick setup for Tomcat manager authentication using LDAP

Purpose Steps Create users in the Directory Server database Create JNDI realm in the Tomcat configuration Restart Tomcat Notes Tomcat’s manager is not enabled by default. This entry shows a quick setup for the Tomcat manager using LDAP. The steps … Continue reading

Posted in computing, LDAP | Tagged , , , , , | Leave a comment

LDAP: Unsolicited Notification

LDAP is a request-response protocol with the exception of the unsolicited notification. The unsolicited notification is a transmission from the server to a connected LDAP client. LDAP clients should be prepared to handle the unsolicited notification because the notification is … Continue reading

Posted in computing, Java, LDAP, UnboundID LDAP SDK | Tagged , , , , | Leave a comment

LDAP: Authorization Identity and BIND

To demonstrate the authorization identity at stages of the life of a connection to an LDAP-compliant server, the following code fragment: connects and does not authenticate authenticates successfully attempts to authenticate but fails transmits a bind request with empty DN … Continue reading

Posted in computing, Java, LDAP, UnboundID LDAP SDK | Tagged , , , , , , | 2 Comments

LDAP: Add an entry using LDIF and the UnboundID LDAP SDK

Add Example (Java) See Also The following example uses the standard edition of the UnboundID LDAP SDK to add an entry using LDIF. The standard edition of the LDAP SDK is free and the source code is supplied. Using the … Continue reading

Posted in computing, Java, LDAP, UnboundID LDAP SDK | Tagged , , , , | Leave a comment