Category Archives: computing

Posts in this category are about, or have something to do with, computing.

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

The ‘tag’ field in Sun Directory Server access logs

From Neil Wilson: The tag field (in the Sun DSEE access log) holds a base 10 representation of the ASN.1 BER type of the protocol op of the LDAP request. Possible values are: Value Description 96 Bind request 97 Bind … Continue reading

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

Creating a Custom Alert Handler that transmits alerts to an IRC server

Alert Handlers The UnboundID Directory Server provides a mechanism to send alert notifications to Alert Handlers when certain events transpire during Directory Server processing. The server is shipped with useful Alert Handlers such as, but not limited to, an error … Continue reading

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

LDAP: size limit and time limit in search

Some important LDAP result codes that could result from issuing a search to the directory server. The non-zero result codes except for 10 refer to either an error, or some limit being exceeded. The result codes that are not errors … Continue reading

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