https://bugs.winehq.org/show_bug.cgi?id=40649
Bug ID: 40649 Summary: apps that require ActiveDirectory connections/ADsOpenObject fail Product: Wine Version: 1.9.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: alexchandel@gmail.com Distribution: ---
Whenever a program attempts to make an AD connection in wine, e.g. for browsing or pre-authentication purposes, wine fails and produces an error like this:
fixme:activeds:ADsOpenObject (L"LDAP://foo-domain-bar/rootDSE",L"FooUserBaz",33,{fd8256d0-fd15-11ce-abc4-02608c9e7553},0x33bef8)!stub
This affects a large number of programs. Both free ones like sysinternals' ADExplorer (probably the best AD gui that would be usable on linux) and Cisco's AD VPN client, as well as propriety programs like Honeywell programs that work with Honeywell's Experion server (e.g. Honeywell's HMIWebBuilder, their Control Builder, their ConfigurationStudio, their Operator Station) (i.e. their entire product line) fail and are inoperable in wine.
https://bugs.winehq.org/show_bug.cgi?id=40649
alexchandel@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.9.10 |1.9.11
https://bugs.winehq.org/show_bug.cgi?id=40649
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #1 from winetest@luukku.com --- Can you offer a trial version of some program and steps how to reproduce the bug?
https://bugs.winehq.org/show_bug.cgi?id=40649
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #2 from fjfrackiewicz@gmail.com --- (In reply to winetest from comment #1)
Can you offer a trial version of some program and steps how to reproduce the bug?
ADExplorer download here:
https://download.sysinternals.com/files/AdExplorer.zip
https://bugs.winehq.org/show_bug.cgi?id=40649
--- Comment #3 from alexchandel@gmail.com --- * To reproduce this bug, just download and run ADExplorer.exe (a free program from Microsoft's sysinternals suite: https://technet.microsoft.com/en-us/sysinternals/adexplorer.aspx).
* It'll open a popup window titled "Connect to Active Directory" with three fields: "Connect to:", "User:", and "Password:".
* Enter anything into the three fields (ideally, a Windows domain server in the first field, and a valid username and password in the latter two, but the bug happens before that).
* Hit OK.
* A popup displays "Error -2147467263 (0x80004001)", and wine prints out something like "fixme:activeds:ADsOpenObject (L"LDAP://ExampleServer/rootDSE",L"UserFoo",33,{fd8256d0-fd15-11ce-abc4-02608c9e7553},0x33bf18)!stub" in the console.
* Connecting fails, and you're taken to the "Connect to Active Directory" again.
https://bugs.winehq.org/show_bug.cgi?id=40649
Plaag Geest plaaggeest+winehq@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |plaaggeest+winehq@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40649
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW URL| |https://download.sysinterna | |ls.com/files/AdExplorer.zip Summary|apps that require |apps (e.g. sysinternals' |ActiveDirectory |ADExplorer) that require |connections/ADsOpenObject |ActiveDirectory |fail |connections/ADsOpenObject | |fail See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=42885 Keywords| |download Ever confirmed|0 |1 CC| |xerox.xerox2000x@gmail.com
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- confirming + added downloadlink
https://bugs.winehq.org/show_bug.cgi?id=40649
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |activeds
https://bugs.winehq.org/show_bug.cgi?id=40649
Richard winehq-bugzilla@richardpayne.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq-bugzilla@richardpayn | |e.name
--- Comment #5 from Richard winehq-bugzilla@richardpayne.name --- Confirmed, still not fixed in wine-4.0.3. Any idea of when this might be scheduled, or is it just too niche?
https://bugs.winehq.org/show_bug.cgi?id=40649
--- Comment #6 from Zebediah Figura z.figura12@gmail.com --- (In reply to Richard from comment #5)
Confirmed, still not fixed in wine-4.0.3. Any idea of when this might be scheduled, or is it just too niche?
As far as I'm aware, nobody is working on it.
https://bugs.winehq.org/show_bug.cgi?id=40649
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/activeds-ADsOpen | |Object Status|NEW |STAGED
https://bugs.winehq.org/show_bug.cgi?id=40649
--- Comment #7 from Richard winehq-bugzilla@richardpayne.name --- Forgive the noob question, but this issue was just moved to STAGED status. What does that mean? Can I now download the wine-staging build to get a fix for it?
https://bugs.winehq.org/show_bug.cgi?id=40649
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #8 from Zebediah Figura z.figura12@gmail.com --- (In reply to Richard from comment #7)
Forgive the noob question, but this issue was just moved to STAGED status. What does that mean? Can I now download the wine-staging build to get a fix for it?
Yes, at least once a wine-staging build containing the patchset has been published.
https://bugs.winehq.org/show_bug.cgi?id=40649
--- Comment #9 from Richard winehq-bugzilla@richardpayne.name --- No idea where best to post this, so here it goes.
I just tried to install winehq-staging and got:
The following packages have unmet dependencies. winehq-staging : Depends: wine-staging (= 5.0~rc1~bionic) E: Unable to correct problems, you have held broken packages.
Following down the dependency chain:
winehq-staging (= 5.0~rc1~bionic) wine-staging (= 5.0~rc1~bionic) wine-staging-amd64 (= 5.0~rc1~bionic) libfaudio0
results in this:
E: Package 'libfaudio0' has no installation candidate
https://bugs.winehq.org/show_bug.cgi?id=40649
--- Comment #10 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Richard from comment #9)
No idea where best to post this, so here it goes.
I just tried to install winehq-staging and got:
The following packages have unmet dependencies. winehq-staging : Depends: wine-staging (= 5.0~rc1~bionic) E: Unable to correct problems, you have held broken packages.
Following down the dependency chain:
winehq-staging (= 5.0~rc1~bionic) wine-staging (= 5.0~rc1~bionic) wine-staging-amd64 (= 5.0~rc1~bionic) libfaudio0
results in this:
E: Package 'libfaudio0' has no installation candidate
https://wiki.winehq.org/Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=40649
--- Comment #11 from Richard winehq-bugzilla@richardpayne.name --- (In reply to Alistair Leslie-Hughes from comment #10)
lol, sorry. I looked at that page and completely missed the huge warning at the top. :D
So, I've installed Wine Staging 5.0-rc1, and run adexplorer with it. I got this when trying to connect:
000b:fixme:winediag:start_process Wine Staging 5.0-rc1 is a testing version containing experimental patches. 000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. 0009:fixme:activeds:ADsOpenObject (L"LDAP://<my_dc.com>/rootDSE",L"<my_username>",33,{fd8256d0-fd15-11ce-abc4-02608c9e7553},0032C0E8)!stub 002c:fixme:reg:GetEnabledXStateFeatures 002c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 002c:fixme:wer:WerSetFlags (2) stub! 002c:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
And the following dialog pops up:
--------------------------- Active Directory Explorer --------------------------- Error -2147467263 (0x80004001) --------------------------- OK ---------------------------
It does not crash the program completely and I can retry the connection repeatly with the same result.
https://bugs.winehq.org/show_bug.cgi?id=40649
--- Comment #12 from Richard winehq-bugzilla@richardpayne.name --- ok, so updated to 5.0-rc2 and getting the same error:
000b:fixme:winediag:start_process Wine Staging 5.0-rc2 is a testing version containing experimental patches. 000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. 0009:fixme:adsldp:openobj_OpenDSObject 0094A984,L"LDAP://my_server/rootDSE",L"my_user_name",L"my_password",33,0032BAB8: stub
https://bugs.winehq.org/show_bug.cgi?id=40649
--- Comment #13 from Richard winehq-bugzilla@richardpayne.name --- actually, to clarify, it's a different error, but looks rather similar.
https://bugs.winehq.org/show_bug.cgi?id=40649
--- Comment #14 from Richard winehq-bugzilla@richardpayne.name --- Re-tested on 5.0-rc4. Same adsldp:openobj_OpenDSObject error.
https://bugs.winehq.org/show_bug.cgi?id=40649
--- Comment #15 from Richard winehq-bugzilla@richardpayne.name --- Re-tested on 5.0-rc5. Same adsldp:openobj_OpenDSObject error
https://bugs.winehq.org/show_bug.cgi?id=40649
--- Comment #16 from Richard winehq-bugzilla@richardpayne.name --- Re-tested on 5.0-rc6. Same adsldp:openobj_OpenDSObject error
https://bugs.winehq.org/show_bug.cgi?id=40649
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |af0d92364e4beedb884e1e6e568 | |a33c416e60e7c
--- Comment #17 from Dmitry Timoshkov dmitry@baikal.ru --- ADsOpenObject is implemented, however it's still requires a lot of of code on the provider's side to make this functionality work.
https://bugs.winehq.org/show_bug.cgi?id=40649
--- Comment #18 from Richard winehq-bugzilla@richardpayne.name --- Is this issue tracking the required provider changes or do I/you need to open another issue somewhere for that?
https://bugs.winehq.org/show_bug.cgi?id=40649
--- Comment #19 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Richard from comment #18)
Is this issue tracking the required provider changes or do I/you need to open another issue somewhere for that?
Let's leave this bug report devoted to ADsOpenObject, feel free to open a separate bug report for the LDAP provider (adsldp): 0009:fixme:adsldp:openobj_OpenDSObject 0094A984,L"LDAP://my_server/rootDSE",L"my_user_name",L"my_password",33,0032BAB8: stub
https://bugs.winehq.org/show_bug.cgi?id=40649
--- Comment #20 from Richard winehq-bugzilla@richardpayne.name --- Related bug for the adsldp issue: https://bugs.winehq.org/show_bug.cgi?id=48623
https://bugs.winehq.org/show_bug.cgi?id=40649
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.3.
https://bugs.winehq.org/show_bug.cgi?id=40649
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://download.sysinterna |https://web.archive.org/web |ls.com/files/AdExplorer.zip |/20190929213059/http://down | |load.sysinternals.com/files | |/AdExplorer.zip CC| |focht@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=40649
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgkos.bugzilla@yahoo.com
--- Comment #22 from Anastasius Focht focht@gmx.net --- *** Bug 42885 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=40649
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|apps (e.g. sysinternals' |Multiple applications need |ADExplorer) that require |ADsOpenObject |ActiveDirectory |(Sysinternals' AD Explorer, |connections/ADsOpenObject |SQL Server 2012/2014) |fail |