The ldap-server that is used with ISOCOR's X.500 DSA gave me this once:
ldap_result returned LDAP_SUCCESS
In LDAP structure:
lp_errno = 0 (LDAP_SUCCESS)
lp_error = "Bad search filter".
That is in my opinion clearly a bug.
Nils Andreas Thommesen