[Bug 54727] New: LDAP Explorer (LEX) throws an exception when attempting to connect over SSL
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(a)winehq.org Reporter: alexhenrie24(a)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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54727 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.ldapexplorer.com | |/download/LEX1.5.003/LEX.ms | |i Keywords| |download -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54727 --- Comment #1 from Alex Henrie <alexhenrie24(a)gmail.com> --- After implementing LDAP_OPT_SSL, LEX gets a little farther, but throws a similar exception after: 0024:fixme:wldap32:ldap_set_optionW Unsupported option: 0x10 0x10 is LDAP_OPT_REFERRAL_HOP_LIMIT. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54727 --- Comment #2 from Alex Henrie <alexhenrie24(a)gmail.com> --- And after stubbing out LDAP_OPT_REFERRAL_HOP_LIMIT, I get: 0024:fixme:wldap32:ldap_set_optionW Unsupported option: 0x81 0x81 is LDAP_OPT_SERVER_CERTIFICATE. After stubbing that out too, LEX connects successfully! However, for security reasons we probably don't want stub code that unconditionally skips the certificate validation step. I'm hoping that the "Ignore server certificate errors" checkbox means that we can pass a null certificate to LEX's certificate verification callback and it will return TRUE anyway. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54727 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8fb04515cfc733eaee66201941f | |cce5120865ce5 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Alex Henrie <alexhenrie24(a)gmail.com> --- Fixed by https://gitlab.winehq.org/wine/wine/-/commit/8fb04515cfc733eaee66201941fcce5... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54727 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 8.5. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54727 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=54772 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla