https://bugs.winehq.org/show_bug.cgi?id=54727
Bug ID: 54727 Summary: LDAP Explorer (LEX) throws an exception when attempting to connect over SSL Product: Wine Version: 8.4 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wldap32 Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Created attachment 74233 --> https://bugs.winehq.org/attachment.cgi?id=74233 WINEDEBUG=+wldap32
Steps to reproduce:
1. Run `winetricks dotnet452`
2. Run `wine LEX.msi`
3. Run `docker run --detach --env LDAP_TLS_VERIFY_CLIENT=never -p636:636 osixia/openldap`
4. Run `wine 'C:\Program Files (x86)\CerroTorre\LEX\LEX.exe'`
5. Wait for the splash screen to close, or move the "LDAP Connections" window out from under it
6. On the "Advanced" tab, check "Ignore server certificate errors"
7. On the "Server" tab, enter "localhost" for the server and check "SSL connect" (the port will automatically change from 389 to 636)
8. On the "Server" tab, click "Fetch"
At this point, an "Unhandled exception" dialog appears that says "The feature is not supported." Furthermore, the program crashes if you click the Quit button on the dialog, but since the dialog shouldn't appear in the first place, it's understandable that it doesn't function correctly.
The relevant part of the terminal output is:
0024:fixme:wldap32:ldap_set_optionW Unsupported option: 0x0a
0x0a is LDAP_OPT_SSL, which is not yet implemented in Wine.
$ sha256sum LEX.msi 68810d827de3f90c0223fcb18a66dde49aee189789b37dd4cdeebe013fa402be