https://bugs.winehq.org/show_bug.cgi?id=39508
Bug ID: 39508 Summary: OneDrive for Business installer reports failure to decode 'Owner Rights' SID 'S-1-3-4' in Win8 mode Product: Wine Version: 1.7.53 Hardware: x86-64 OS: Linux Status: NEW Severity: enhancement Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
found during other investigations.
Not critical though, the installer catches the C++ exception (log).
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Microsoft Office 15/ClientX86
$ WINEDEBUG=+tid,+seh,+relay wine ./officeclicktorun.exe >>log.txt 2>&1 ... 0022:Call advapi32.ConvertStringSecurityDescriptorToSecurityDescriptorW(005d2330 L"D:(A;;GRGWGX;;;WD)(A;;GRGWGX;;;RC)(A;;GA;;;BA)(A;;GA;;;OW)(A;;GR;;;AC)S:(ML;OICI;NW;;;LW)",00000001,0033ef88,00000000) ret=004b4f58 0022:fixme:advapi:ParseStringSidToSid String constant not supported: L"OW" 0022:Ret advapi32.ConvertStringSecurityDescriptorToSecurityDescriptorW() retval=00000000 ret=004b4f58 0022:Call KERNEL32.GetLastError() ret=004b4f64 0022:Ret KERNEL32.GetLastError() retval=00000538 ret=004b4f64 0022:Call KERNEL32.GetLastError() ret=004b4f79 0022:Ret KERNEL32.GetLastError() retval=00000538 ret=004b4f79 ... 0022:Call msvcr100.wcsncpy_s(0033e848,00000100,005e6d60 L"failed to create security descriptor from string D:(A;;GRGWGX;;;WD)(A;;GRGWGX;;;RC)(A;;GA;;;BA)(A;;GA;;;OW)(A;;GR;;;AC)S:(ML;OICI;NW;;;LW), error = 1336",ffffffff) ret=004b5031 0022:Ret msvcr100.wcsncpy_s() retval=00000000 ret=004b5031 ... 0022:Call msvcr100._CxxThrowException(0033ebcc,00547e64) ret=004b4fa7 0022:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033e7c4) ret=7e79c928 0022:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b845f21 ip=7b845f21 tid=0022 0022:trace:seh:raise_exception info[0]=19930520 0022:trace:seh:raise_exception info[1]=0033ebcc 0022:trace:seh:raise_exception info[2]=00547e64 0022:trace:seh:raise_exception eax=7b832cbd ebx=00000000 ecx=0000000c edx=0033e714 esi=0033e7c0 edi=0033e780 0022:trace:seh:raise_exception ebp=0033e758 esp=0033e6f4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000202 0022:trace:seh:call_stack_handlers calling handler at 0x5333d5 code=e06d7363 flags=1 0022:trace:seh:call_stack_handlers handler at 0x5333d5 returned 1 0022:trace:seh:call_stack_handlers calling handler at 0x535c6d code=e06d7363 flags=1 0022:trace:seh:call_stack_handlers handler at 0x535c6d returned 1 ... --- snip ---
MSDN: https://msdn.microsoft.com/en-us/library/cc230374.aspx ("SDDL -> 2.5.1.1 Syntax")
--- quote --- SDDL alias | Well-Known SID name ... "OW" | OWNER_RIGHTS ... --- quote ---
--- quote --- SID: S-1-3-4 Name: Owner Rights
Description: A group that represents the current owner of the object. When an ACE that carries this SID is applied to an object, the system ignores the implicit READ_CONTROL and WRITE_DAC permissions for the object owner. --- quote ---
$ sha1sum Setup.x86.en-us_GrooveRetail_3V9N8-W93CC-FQPB8-Y9WVF-TVGJ3_TX_PR_.exe ddf02801b54227849886ef9a2767a1155f87a9ef Setup.x86.en-us_GrooveRetail_3V9N8-W93CC-FQPB8-Y9WVF-TVGJ3_TX_PR_.exe
$ du -sh Setup.x86.en-us_GrooveRetail_3V9N8-W93CC-FQPB8-Y9WVF-TVGJ3_TX_PR_.exe 1.1M Setup.x86.en-us_GrooveRetail_3V9N8-W93CC-FQPB8-Y9WVF-TVGJ3_TX_PR_.exe
$ wine --version wine-1.7.53-156-gf8d78b0
Regards
https://bugs.winehq.org/show_bug.cgi?id=39508
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://support.microsoft.co | |m/kb/2903984
https://bugs.winehq.org/show_bug.cgi?id=39508
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|OneDrive for Business |Microsoft Office |installer reports failure |365/OneDrive for Business |to decode 'Owner Rights' |installer fails in Win8+ |SID 'S-1-3-4' in Win8 mode |mode with | |'advapi:ParseStringSidToSid | |String constant not | |supported: "OW"' (failure | |to decode 'Owner Rights' | |SID 'S-1-3-4') Severity|enhancement |normal
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
In fact MS Office 365 installer also suffers from this when WINEPREFIX WinVer is set > 'Windows 7'.
--- snip --- ... 05/13/2018 21:54:40.730 SETU~PAT (0x31) 0x32 Click-To-Run aoh9t Medium TryLaunchClient::HandleStateAction: Launching OfficeClickToRun.exe with parameters: scenario=unknown scenariosubtype=CDN cdnbaseurl="http://officecdn.microsoft.com/pr/39168D7E-077B-48E7-872C-B232C3E72675" productreleaseid="O365ProPlusRetail" culture="en-us" lcid="1033" platform="x64" version="15.0.5031.1000" prereleasebuild="4419" firstrun="root\office15\firstrun.exe" baseurl="http://officecdn.microsoft.com/pr/39168D7E-077B-48E7-872C-B232C3E72675" mediatype="CDN" updatesenabled="True" autoUpgrade="True" productstoadd="O365ProPlusRetail_en-us_x-none" trackedduration=835 05/13/2018 21:54:40.867 SETU~PAT (0x31) 0x32 Click-To-Run Telemetry ami7s Monitorable TryLaunchClient::HandleStateAction: C2R Client Install Process returned code 17000 05/13/2018 21:54:40.867 SETU~PAT (0x31) 0x32 Click-To-Run Telemetry apx75 Monitorable TryLaunchClient::HandleStateAction: C2R Client returned failing error code 17000 05/13/2018 21:54:40.867 SETU~PAT (0x31) 0x32 Click-To-Run Telemetry apx76 Monitorable TryHandleClientError::HandleStateAction: ProcessPool Initialization error. Showing Error UI. 05/13/2018 21:54:40.871 SETU~PAT (0x31) 0x32 Click-To-Run Telemetry amjsz Medium TryShowUI::HandleStateAction - url is: http://officeredir.microsoft.com/r/rlidOfficeWebHelp?p1=OCSAC2RBootstrapper&.... {"MachineID":"d32fc075107b63468e1ede90c0bf4baf","SessionID":"","GeoID":"-1","Ver":"0.0.0.0","errorSource":"1018","errorCode":"0"} 05/13/2018 21:54:42.190 SETU~PAT (0x31) 0x32 Click-To-Run aoh72 Medium ExitBootStateMachine::HandleStateAction: Bootstrapper workflow exiting with result: 0x0 05/13/2018 21:54:42.190 SETU~PAT (0x31) 0x32 Click-To-Run Telemetry amcpv Medium Toothpick::Main: Installation came back with 17000. 05/13/2018 21:54:42.190 SETU~PAT (0x31) 0x32 Logging Liblet aqc99 Medium Logging liblet uninitializing. --- snip ---
--- snip --- ... 05/13/2018 21:54:40.841 OFFICECL (0x3e) 0x3f Click-To-Run arqkg Medium ScenarioSettings::FillScenarioParameter - Unhandled parameter. Name: productreleaseid Value: O365ProPlusRetail 05/13/2018 21:54:40.841 OFFICECL (0x3e) 0x3f Click-To-Run arqkg Medium ScenarioSettings::FillScenarioParameter - Unhandled parameter. Name: lcid Value: 1033 05/13/2018 21:54:40.841 OFFICECL (0x3e) 0x3f Click-To-Run arqkg Medium ScenarioSettings::FillScenarioParameter - Unhandled parameter. Name: prereleasebuild Value: 4419 05/13/2018 21:54:40.841 OFFICECL (0x3e) 0x3f Click-To-Run annt7 Medium ProcessPool::Initialize - Initializing Main Process Pool 05/13/2018 21:54:40.842 OFFICECL (0x3e) 0x3f Click-To-Run annuh Medium ElevatedProcessPool::DoInitialize - Initializing Elevated Process Pool 05/13/2018 21:54:40.842 OFFICECL (0x3e) 0x3f Click-To-Run anntv Medium ConfigurationManager::Initialize - Initializing ConfigurationManager 05/13/2018 21:54:40.842 OFFICECL (0x3e) 0x3f Click-To-Run Telemetry amebi Medium ConfigurationManager::Initialize - {"MachineID":"d32fc075107b63468e1ede90c0bf4baf","SessionID":"","GeoID":"-1","Ver":"0.0.0.0"} 05/13/2018 21:54:40.842 OFFICECL (0x3e) 0x3f Click-To-Run annto Medium ApiServer::Initialize - Initializing ApiServer for endpoint: C2RClientAPI_Server_Elevated 05/13/2018 21:54:40.843 OFFICECL (0x3e) 0x3f Click-To-Run apfr8 Unexpected ProcessPool::Initialize - Encounter OException ErrorCodeOnly (failed to create security descriptor from string D:(A;;GRGWGX;;;WD)(A;;GRGWGX;;;RC)(A;;GA;;;BA)(A;;GA;;;OW)(A;;GR;;;AC)S:(ML;OICI;NW;;;LW), error = 1336 , Error:0x538). {"MachineID":"d32fc075107b63468e1ede90c0bf4baf","SessionID":"","GeoID":"-1","Ver":"0.0.0.0","ErrorCode":"15","ErrorMessage":"","AppVErrorSource":"","ErrorType":""} 05/13/2018 21:54:40.843 OFFICECL (0x3e) 0x3f Click-To-Run aqtpj Medium Main: returned: 17000 05/13/2018 21:54:40.843 OFFICECL (0x3e) 0x3f Logging Liblet aqc99 Medium Logging liblet uninitializing. --- snip ---
$ sha1sum setupo365proplusretail.x64.en-us_.exe 7e8ed348f0baaf62a30d3308d454d1e7ac37e38f setupo365proplusretail.x64.en-us_.exe
$ du -sh setupo365proplusretail.x64.en-us_.exe 1.5M setupo365proplusretail.x64.en-us_.exe
$ wine --version wine-3.8
Regards
https://bugs.winehq.org/show_bug.cgi?id=39508
logicalman101@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |logicalman101@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39508
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=39508
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |bunglehead@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39508
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bunglehead@gmail.com |wine-bugs@winehq.org
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- This should work now 7c0cd8c7401230ef8a23c5df58c7db0e9c0cfbbf, afaada7e5f454a428795d9ddc8fc8f53870d9615. Please retest.
https://bugs.winehq.org/show_bug.cgi?id=39508
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |7c0cd8c7401230ef8a23c5df58c | |7db0e9c0cfbbf Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commits:
https://source.winehq.org/git/wine.git/commitdiff/7c0cd8c7401230ef8a23c5df58... -> 'OW'
https://source.winehq.org/git/wine.git/commitdiff/afaada7e5f454a428795d9ddc8... -> 'AC'
Thanks Hans
--- snip --- ... 0032:Call msvcr100.wcsncat_s(0023b5f0 L"10/10/2018 01:05:26.095\tOFFICECL (0x31)\t0x32\t\tClick-To-Run\tannto\tMedium\tApiServer::Initialize - Initializing ApiServer for endpoint: C2RClientAPI_Server_Elevated",00001001,14018aa90 L"\t",ffffffffffffffff) ret=140022bca 0032:Ret msvcr100.wcsncat_s() retval=00000000 ret=140022bca ... 0032:Call advapi32.ConvertStringSecurityDescriptorToSecurityDescriptorW(002739e0 L"D:(A;;GRGWGX;;;WD)(A;;GRGWGX;;;RC)(A;;GA;;;BA)(A;;GA;;;OW)(A;;GR;;;AC)S:(ML;OICI;NW;;;LW)",00000001,0023e870,00000000) ret=140067580 0032:Ret advapi32.ConvertStringSecurityDescriptorToSecurityDescriptorW() retval=00000001 ret=140067580 0032:Call msvcr100.memcpy(0023e848,140193048,0000000e) ret=1400017a5 0032:Ret msvcr100.memcpy() retval=0023e848 ret=1400017a5 ... 0032:Call rpcrt4.RpcServerRegisterIf3(14019cfd0,00000000,00000000,00000008,000004d2,7f1affffffff,140125638,000aae40) ret=140125173 0032:fixme:rpc:RpcServerRegisterIf3 Unsupported SecurityDescriptor argument. ... 0032:Ret rpcrt4.RpcServerRegisterIf3() retval=00000000 ret=140125173 0032:Call rpcrt4.RpcServerUseProtseqEpW(0023e848 L"ncalrpc",0000000a,0028df00 L"C2RClientAPI_Server_Elevated",000aae40) ret=14012520d ... --- snip ---
The Office 365 installer still fails but that's due to msxml/libxml2 insufficiencies (bug 43581).
$ wine --version wine-3.17-144-g9f05343013
Regards
https://bugs.winehq.org/show_bug.cgi?id=39508
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.18.
https://bugs.winehq.org/show_bug.cgi?id=39508
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=39508
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bug fixes included in 3.0.5.
https://bugs.winehq.org/show_bug.cgi?id=39508
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://support.microsoft.co |https://web.archive.org/web |m/kb/2903984 |/20141013151048/https://c2r | |setup.officeapps.live.com/c | |2r/download.aspx?Productrel | |easeID=GrooveRetail&languag | |e=en-us&platform=x64&token= | |3V9N8-W93CC-FQPB8-Y9WVF-TVG | |J3&TaxRegion=PR&Source=OLSF | |CRequest&version=O15GA