Monthly Archives: July 2011

LDAP: Replace a value of a multi-valued attribute

create an entry add attributes delete all values of a multi-valued attribute example using Java This article describes how to replace values of a multi-valued attribute in a directory database using the ldapmodify tool. For more general information about ldapmodify … Continue reading

Posted in computing, Java, LDAP, UnboundID LDAP SDK | Tagged , , , , , , , | 1 Comment

LDAP: Type or value exists

Introduction The result code decimal 20 (‘Type or value exists’ or ‘Attribute or value exists’) occurs when a user attempts to add an attribute to an entry with a value that already exists for that attribute type for that entry. … Continue reading

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

LDAP: The Subtree Delete Control

The LDAP directory information model prescribes that a directory resembles a upside-down tree-like structure, much like a file-system with a root, branches, and leaves. The root is known as the “suffix”or “naming context”, or “prefix”. Modern, professional-quality directory servers can … Continue reading

Posted in computing, Java, LDAP | Tagged , , , , , , | 1 Comment

LDAP: Using ldapsearch

ldapsearch is a command-line tool distributed with most directory server software used to search for entries in a directory information tree (DIT) and possibly return specified attributes from the entry. ldapsearch can also return just the distinguished name (DN) of … Continue reading

Posted in computing, LDAP, ldapsearch | Tagged , , , , , , , , , , , | 4 Comments

LDAP: Using ldapmodify

ldapmodify is a command-line tool that can be used to modify directory server entries via the LDAP protocol. ldapmodify is distributed with most directory server software. Examples are given first in the legacy OpenLDAP syntax and second in the more … Continue reading

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