Tag Archives: attributes

LDAP: Retrieve all attributes of an objectClass

Use the following syntax to retrieve all attributes required or allowed by an objectClass definition with the following syntax for requested attributes: @objectClassName. The example below provide examples of how to search for entries where: no attributes are retrieved all … Continue reading

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

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 Attribute values and attributes are not ordered

Avoid the common mistake of expecting attribute values in an LDAP search result to be ordered. The LDAP standard explicitly notes that attributes and attribute values are not ordered. Too often, programmers expect data to be ordered, that is, for … Continue reading

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