Tag Archives: ldap-sample-code

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

LDAP: Change Notification Using Persistent Search

The UnboundID Directory Server supports the LDAP change notification mechanism called “persistent search”. A persistent search is a search request that does not complete, but reports changes as they occur based on the parameters specified when the search request is … Continue reading

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

LDAP: In-Memory Directory Server Using UnboundID LDAP SDK.

The UnboundID LDAP SDK provides clients with the ability to create an in-memory directory server. This type of server allows quick testing of LDAP clients – there is no need to install a server locally. The following example shows code … Continue reading

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

LDAP: Operation Purpose Request Control

UnboundID’s Directory Server Suite 3.2 supports a new request control, the Operation Purpose Request Control. The Operation Purpose Request Control includes the following pieces of data: application name application version code location request purpose Applications can use this request control … Continue reading

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

LDAP: Moving and renaming entries and user data

Use ldapmodify with the moddn changetype keyword to move or rename entries in an LDAP database. The moddn request cannot be used to move entries between namingContexts or between servers. This article provides an example of moving an entry uid=user.0,ou=people,dc=example,dc=com … Continue reading

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