directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRAPI-151) Result codes from extended operations are lost
Date Tue, 30 Jul 2013 14:09:49 GMT

     [ https://issues.apache.org/jira/browse/DIRAPI-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pierre-Arnaud Marcelot updated DIRAPI-151:
------------------------------------------

    Affects Version/s: 1.0.0-M19
        Fix Version/s: 1.0.0-RC1
             Assignee: Pierre-Arnaud Marcelot
    
> Result codes from extended operations are lost
> ----------------------------------------------
>
>                 Key: DIRAPI-151
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-151
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M19
>            Reporter: Daniel Fisher
>            Assignee: Pierre-Arnaud Marcelot
>             Fix For: 1.0.0-RC1
>
>
> 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:
> {code}
>     ExtendedResponse response = conn.extended(
>       "1.3.6.1.4.1.4203.1.11.1",
>       new byte[] {...});
>     response.getLdapResult(); // always returns success
> {code}
> 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: http://www.atlassian.com/software/jira

Mime
View raw message