try {
    LdapContext ctx = new InitialLdapContext(env, null);

    // Create "extended" operation to use
    Request req = new GetTimeRequest();

    // Perform the operation
    GetTimeResponse response = (GetTimeResponse) ctx.extendedOperation(req);
} catch (NamingException e) {

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.