-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.0-M19
-
Fix Version/s: 1.0.0-M20
-
Labels:None
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( "1.3.6.1.4.1.4203.1.11.1", 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.