http://bugs.winehq.org/show_bug.cgi?id=19517
Summary: XenCenter is unable to contact anything on the network possibly due to "fixme:ras:RasEnumConnectionsW" Product: Wine Version: 1.1.26 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: drwahls@gmail.com
To recreate this bug, download XenCenter from Citrix (http://www.citrix.com/lang/English/lp/lp_1688615.asp), install it with msiexec, then try to connect to a XenServer on your network. Every time XenCenter tries to make a network call, it immediately fails and the following error is dumped on the command line:
fixme:thread:NtQueryInformationThread info class 16 not supported yet fixme:shell:URL_ParseUrl failed to parse L"XenCenterMain.resources" fixme:shell:URL_ParseUrl failed to parse L"XenCenterMain.resources" fixme:ras:RasEnumConnectionsW (0x5d5ffd0,0x662dc0c,0x662dc08),stub! fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead! fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub fixme:ras:RasConnectionNotificationW (0xffffffff,0x34c,0x00000003),stub! fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
I have attached the full output from wine.
http://bugs.winehq.org/show_bug.cgi?id=19517
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #1 from David Wahlstrom drwahls@gmail.com 2009-07-30 11:04:43 --- Created an attachment (id=22717) --> (http://bugs.winehq.org/attachment.cgi?id=22717) Command line output from wine.
http://bugs.winehq.org/show_bug.cgi?id=19517
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|XenCenter is unable to |XenCenter is unable to |contact anything on the |contact anything on the |network possibly due to |network |"fixme:ras:RasEnumConnectio | |nsW" |
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2009-07-30 12:50:17 --- I'd be very surprised if RAS has anything to do with it, so I'm removing that bit of speculation from the subject.
Here are a couple lines from the log that stand out a bit more to me: fixme:secur32:schan_QueryContextAttributesW Unhandled attribute 0x5a fixme:secur32:schan_QueryContextAttributesW Unhandled attribute 0x53
Those are SECPKG_ATTR_CONNECTION_INFO and SECPKG_ATTR_REMOTE_CERT_CONTEXT, respectively (from schannel.h).
http://bugs.winehq.org/show_bug.cgi?id=19517
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|XenCenter |
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #3 from Bogdan Rudas bogdan.rudas@nivalnetwork.com 2009-08-06 12:14:56 --- Created an attachment (id=22864) --> (http://bugs.winehq.org/attachment.cgi?id=22864) wine output from XenCenter
http://bugs.winehq.org/show_bug.cgi?id=19517
Bogdan Rudas bogdan.rudas@nivalnetwork.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bogdan.rudas@nivalnetwork.c | |om
--- Comment #4 from Bogdan Rudas bogdan.rudas@nivalnetwork.com 2009-08-06 12:19:45 --- Hello! I can confirm bug.
Debian testing, x86, wine 1.1.26~winehq1-1
I can perform any necessary tests to confirm and hel slving this bug.
http://bugs.winehq.org/show_bug.cgi?id=19517
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #22864|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=19517
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-07 07:26:33 --- Confirming per comment 4.
http://bugs.winehq.org/show_bug.cgi?id=19517
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juan_lang@yahoo.com
--- Comment #6 from Juan Lang juan_lang@yahoo.com 2009-08-07 11:19:42 --- Could you try with today's git + this patch: http://www.winehq.org/pipermail/wine-patches/2009-August/076773.html and report what happens?
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #7 from David Wahlstrom drwahls@gmail.com 2009-08-07 13:16:40 --- (In reply to comment #6)
Could you try with today's git + this patch: http://www.winehq.org/pipermail/wine-patches/2009-August/076773.html and report what happens?
After checking out the latest version of wine from git and applying the patch, XenCenter still fails to contact the XenServer. Attaching the output.
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #8 from David Wahlstrom drwahls@gmail.com 2009-08-07 13:19:07 --- Created an attachment (id=22890) --> (http://bugs.winehq.org/attachment.cgi?id=22890) wine-1.1.27 XenCenter output
Built wine from today's (8/7/09) git checkout and applied patch as suggested in comment #5.
http://bugs.winehq.org/show_bug.cgi?id=19517
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #22890|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=19517
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |18337
--- Comment #9 from Juan Lang juan_lang@yahoo.com 2009-08-07 13:45:28 ---
From the log:
fixme:crypt:CertVerifyCertificateChainPolicy unimplemented for 4
That's CERT_CHAIN_POLICY_SSL, already mentioned in bug 18337. Making this bug depend on that one.
http://bugs.winehq.org/show_bug.cgi?id=19517
Cédric Schieli cschieli@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cschieli@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #10 from Juan Lang juan_lang@yahoo.com 2009-10-27 16:00:26 --- Created an attachment (id=24401) --> (http://bugs.winehq.org/attachment.cgi?id=24401) Patch
Does the attached patch help?
http://bugs.winehq.org/show_bug.cgi?id=19517
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |crypt32
--- Comment #11 from Juan Lang juan_lang@yahoo.com 2009-10-27 16:00:57 --- Changing component to crypt32.
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #12 from David Wahlstrom drwahls@gmail.com 2009-10-27 16:48:31 --- The patch did not fix the issue. When I try to 'Add New Server..', I input the server name, username, and password, then XenCenter tries to connect to the server. At that point, my CPU pinned (100% usage according to my widgets) for about 5 minutes, then dropped back to idle, but XenCenter just said "trying to contact host" (or something along those lines). I have attached the console ouput of this attempt.
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #13 from David Wahlstrom drwahls@gmail.com 2009-10-27 16:49:25 --- Created an attachment (id=24402) --> (http://bugs.winehq.org/attachment.cgi?id=24402) output from wine patch submitted 10/27/2009
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #14 from Juan Lang juan_lang@yahoo.com 2009-10-27 17:03:30 --- Thanks. From your log: fixme:crypt:CRYPT_CriticalExtensionsSupported unsupported critical extension "2.5.29.37" fixme:crypt:CRYPT_CriticalExtensionsSupported unsupported critical extension "2.5.29.32"
The first is szOID_ENHANCED_KEY_USAGE. I have a patch to implement that, but it also needs more testing. The second is szOID_CERT_POLICIES. I haven't implemented that yet. Still a crypt32 bug, though it appears I'm making progress.
http://bugs.winehq.org/show_bug.cgi?id=19517
Bug 19517 depends on bug 18337, which changed state.
Bug 18337 Summary: CertVerifyCertificateChainPolicy doesn't implement CERT_CHAIN_POLICY_SSL http://bugs.winehq.org/show_bug.cgi?id=18337
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=19517
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #24401|0 |1 is obsolete| |
--- Comment #15 from Juan Lang juan_lang@yahoo.com 2009-10-29 11:44:53 --- (From update of attachment 24401) The patch was committed. I also sent a patch for the enhanced key usage extension: http://www.winehq.org/pipermail/wine-patches/2009-October/080707.html
I don't yet have an implementation of the certificate policies extension.
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #16 from Juan Lang juan_lang@yahoo.com 2009-11-04 17:04:47 --- Would it be possible to get a +crypt,+chain log from a recent build of Wine? An example of a cert policies extension would be handy, and the log will provide me one.
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #17 from David Wahlstrom drwahls@gmail.com 2009-11-04 17:41:56 --- Created an attachment (id=24553) --> (http://bugs.winehq.org/attachment.cgi?id=24553) wine-1.1.32-378-g416cd48 xenctenter output
I'm not sure if this is what you are looking for, but hopefully it will help. I checked out today's wine build from git, ran ./configure then make depend && make, then ran ./wine ~/.wine/drive_c/Program\ Files/Citrix/XenCenter/XenCenter.exe and copied/pasted the output. Is there something else I need to do to obtain +chain or +crypt logs?
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #18 from Juan Lang juan_lang@yahoo.com 2009-11-04 17:51:48 --- (In reply to comment #17)
then ran ./wine ~/.wine/drive_c/Program\ Files/Citrix/XenCenter/XenCenter.exe and copied/pasted the output. Is there something else I need to do to obtain +chain or +crypt logs?
Yes, please run it like so instead: WINEDEBUG=+crypt,+chain ./wine ~/.wine/drive_c/Program\ Files/Citrix/XenCenter/XenCenter.exe >& crypt.chain.txt
Then attach crypt.chain.txt here. You'll probably need to compress it first, e.g. with bzip2.
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #19 from David Wahlstrom drwahls@gmail.com 2009-11-05 09:48:27 --- Created an attachment (id=24562) --> (http://bugs.winehq.org/attachment.cgi?id=24562) bzip2. +crypt,+chain winedebug of xencenter.
Thanks for the 'howto' to enable the correct debugging symbols. I have attached the log file. Enjoy the light reading :)
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #20 from Juan Lang juan_lang@yahoo.com 2009-11-22 22:25:15 --- Created an attachment (id=24914) --> (http://bugs.winehq.org/attachment.cgi?id=24914) Patch: Pretend to support the certificate policies extension
This isn't a real implementation, so I'm not going to send it in until I really add support for the extension, but I'm curious whether XenCenter is able to get further with it.
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #21 from David Wahlstrom drwahls@gmail.com 2009-11-23 10:36:51 --- The patch didn't seem to help. XenCenter appears to 'hang' when trying to connect to the server. I am unable to attach the debug output (even after tar/bzip) because it is too large. If you want to see the debug, I might be able to arrange temporary online storage (on my personal server).
http://bugs.winehq.org/show_bug.cgi?id=19517
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #24914|0 |1 is obsolete| |
--- Comment #22 from Juan Lang juan_lang@yahoo.com 2010-03-26 18:51:25 --- (From update of attachment 24914) I believe most uses for the certificate policies extension are to define the "any policy" OID in a CA cert, so this hack is no longer useful (and won't apply.)
http://bugs.winehq.org/show_bug.cgi?id=19517
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|crypt32 |-unknown
--- Comment #23 from Juan Lang juan_lang@yahoo.com 2010-03-26 18:52:06 --- Since I don't think the certificate policies extension is blocking this--ignoring it didn't help before--I'm not sure what the cause is. Setting component to unknown.
http://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #24 from David Wahlstrom drwahls@gmail.com 2010-03-30 10:51:44 --- I was contacted by a Citrix employee who saw this bug report and gave me a work around. When adding a server, you can include :80 which will work around most of the security stuff XenCenter does. So, after clicking "Add Server" in XenCenter, in the "Server:" box, put "foo.example.com:80". With this work around, XenCenter works well in Wine.
http://bugs.winehq.org/show_bug.cgi?id=19517
Adam Bolte boltronics@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |boltronics@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=19517
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #25 from Bruno Jesus 00cpxxx@gmail.com 2012-04-24 23:12:25 CDT --- Is this still and issue in wine 1.5.2?
http://bugs.winehq.org/show_bug.cgi?id=19517
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |33757
https://bugs.winehq.org/show_bug.cgi?id=19517
Aleksei Yamschikov mobilesfinks@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mobilesfinks@gmail.com
--- Comment #26 from Aleksei Yamschikov mobilesfinks@gmail.com --- XenCenter 6.2 build 1377 wine-1.7.34 lubuntu 14.04
this issue still present in wine-1.7.34
https://bugs.winehq.org/show_bug.cgi?id=19517
--- Comment #27 from Aleksei Yamschikov mobilesfinks@gmail.com --- Created attachment 50641 --> https://bugs.winehq.org/attachment.cgi?id=50641 XenCenter 6.2 build 1377 log file
Bug still available. XenCenter still cant connect to servers.
https://bugs.winehq.org/show_bug.cgi?id=19517 Bug 19517 depends on bug 33757, which changed state.
Bug 33757 Summary: XenCenter 5.5 crashes while starting https://bugs.winehq.org/show_bug.cgi?id=33757
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED