https://bugs.winehq.org/show_bug.cgi?id=55459
Bug ID: 55459 Summary: Softerra LDAP Browser fails to turn off LDAP_OPT_ENCRYPT, LDAP_OPT_ROOTDSE_CACHE, and LDAP_OPT_SIGN Product: Wine Version: 8.14 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wldap32 Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Steps to reproduce:
1. Run `docker run --detach -p1389:1389 bitnami/openldap`
2. Run `wine ldapbrowser-4.5.19808.0-x64-eng.msi`
3. Run `wine 'C:\Program Files\Softerra\LDAP Browser 4\ldapbrowser.exe'`
3. Click File > New > New Profile
4. Connect to localhost port 1389 anonymously
"COM Error" is displayed in the main window and "fixme:wldap32:ldap_set_optionA Unsupported option: 0x96" is spammed to the terminal. 0x96 is LDAP_OPT_ENCRYPT. After fixing that, the error changes to "Unsupported option: 0x95" (LDAP_OPT_SIGN) and after fixing that, it changes to "Unsupported option: 0x9a" (LDAP_OPT_ROOTDSE_CACHE).
Since the program is only trying to turn off those three options, a full implementation is not necessary. We can simply make ldap_set_option return LDAP_SUCCESS if asked to turn off an option that Wine doesn't yet support.
$ sha256sum ldapbrowser-4.5.19808.0-x64-eng.msi 22fdae1fe8320043e8e9c50e3b4f5bd4d7f6a4b50c4680cc4216a1a65284083d