directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Fisher (JIRA)" <>
Subject [jira] [Created] (DIRAPI-151) Result codes from extended operations are lost
Date Wed, 10 Jul 2013 19:37:48 GMT
Daniel Fisher created DIRAPI-151:

             Summary: Result codes from extended operations are lost
                 Key: DIRAPI-151
             Project: Directory Client API
          Issue Type: Bug
            Reporter: Daniel Fisher

Invoking LdapConnection#extended(String, byte[]) always returns success.

Performing a PasswordModifyOperation with an incorrect old password should result in an error
code 53, unwilling to perform.
However, the API returns error code 0, success, for the following code:

    ExtendedResponse response = conn.extended(
      new byte[] {...});
    response.getLdapResult(); // always returns success

The bug may be around line 3106 of LdapNetworkConnection, where the actual response is discarded
in favor of a response built from the request object.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message