Migration Guide : Migrating from Version 11.0.1 : LDAP search parameter handling changed
LDAP search parameter handling changed
Parameters passed to the underlying LDAP library are passed in a different way and many ‘PlatformFunction’'s signatures changed its return type from ‘uint32’ to ‘int32’.
Starting with Version 12.0.0, if there is an error in the LDAP search, subsequent operations in the same search will return an ‘LDAPError’ with the code ‘89’ (‘"LDAP_PARAM_ERROR"‘).
Reason for change
To provide better support of different platform architectures and avoid returning wrong codes when there was an error in the platform function call.
Action required
None in general, unless your code somehow relies on or has workarounds to non-accurate millisecondClockValue answered in previous versions of the product.
E.g. In previous versions of the product an empty result would return a ‘LDAP_NO_SUCH_OBJECT (32)’ error object, and trying to retrieve the entries afterwards would return the same error object. Starting with version 12.0.0 , an empty result will return ‘LDAP_PARAM_ERROR (89)’.
 
Last modified date: 01/19/2023