Tag Archives: ldapsearch

LDAP: Operations by Proxy

LDAP-compliant directory servers like the UnboundID Directory Server support the notion of allowing an authenticated connection to perform operations using the identity of another distinguished name. This is called “operation by proxy” or “Proxied Authorization”. This capability is specified in … Continue reading

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

LDAP: Inhibiting line-wrap in ldapsearch output

LDIF (LDAP data interchange format), defined in rfc2849, lines may be folded by inserting a line-separator character and a space, except between bytes of a multi-byte UTF-8 character: ldapsearch –port 11389 \ –bindDn cn=RootDn \ –bindPassword password \ –baseDn uid=user.0,ou=people,o=training … Continue reading

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

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: Mastering Search Filters

Moved to Mastering Search Filters

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

LDAP: Modify-Increment Extension

Modern, professional-quality directory servers support an LDAP extension called “Modify-Increment”. The extension, if supported, allows the developer or operator to increment an integer or other incrementable value by a specified increment in one operation. If this operation is not supported, … Continue reading

Posted in computing, LDAP | Tagged , , , , , , , , , | Leave a 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: 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