https://bugs.openldap.org/show_bug.cgi?id=10019
--- Comment #1 from Howard Chu hyc@openldap.org --- The discrepancy between your app behavior and ldapsearch commandline behavior implies that you're not accurately describing what your app does. Also, if there is an ACL configuration issue, it's not helpful for you to omit the 13 other ACL rules in your config.
If you want anyone to actually have a chance of diagnosing your problem, you need to be able to provide a complete minimal configuration that demonstrates it. I suggest you start by using the configs used in the test suite itself.