adobe reader 8.x can't decrypt using online authentication

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
jinhale
Newbie
Newbie
Posts: 4
Joined: Sun Jan 04, 2009 3:54 am

adobe reader 8.x can't decrypt using online authentication

Post by jinhale »

justin@methuselah:~$ wine --version
wine-1.0.1

justin@methuselah:~$ uname -a
Linux methuselah 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux

I use Adobe Acrobat Reader version 8.1.1. It can open files that don't require decryption online. I, however, have to connect to an external server to validate my unique user name and password for the pdf files I must read. This is so I can read my text books online for my online university, CTUO. I get an immediate error that states I need to connect to the network first before sending my user name and password. I have tried in vain to get some information from Adobe on the matter, by using their UNIX forums.

Every Linux based application for reading pdf files I have ever used has the same problem. I have never been able to open a pdf file on my Ubuntu Linux machine if the file requires online validation of a user name and password to decrypt an encrypted file. This remains the only reason I have to use a windows computer, besides my own.

I'm hoping there is some hkey or something else simple that I can add or modify to let AR 8.x know that I am in fact connected to the Internet. Any ideas?

Thanks,
Justin
User avatar
André H.
Moderator
Moderator
Posts: 202
Joined: Sun Dec 07, 2008 8:33 am

Post by André H. »

Why dont you use the nativ linux version of the Reader?
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: adobe reader 8.x can't decrypt using online authenticati

Post by dimesio »

jinhale wrote:justin@methuselah:~$ wine --version
wine-1.0.1

justin@methuselah:~$ uname -a
Linux methuselah 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux

I use Adobe Acrobat Reader version 8.1.1. It can open files that don't require decryption online. I, however, have to connect to an external server to validate my unique user name and password for the pdf files I must read. This is so I can read my text books online for my online university, CTUO. I get an immediate error that states I need to connect to the network first before sending my user name and password. I have tried in vain to get some information from Adobe on the matter, by using their UNIX forums.

Every Linux based application for reading pdf files I have ever used has the same problem. I have never been able to open a pdf file on my Ubuntu Linux machine if the file requires online validation of a user name and password to decrypt an encrypted file. This remains the only reason I have to use a windows computer, besides my own.

I'm hoping there is some hkey or something else simple that I can add or modify to let AR 8.x know that I am in fact connected to the Internet. Any ideas?
This is just a guess, as I've never had to use this feature myself, but have you set your internet connection preferences properly in Adobe Reader itself? (Edit=>Preferences=>Internet) The default is direct connection; if you're connecting through a proxy, you need to change this. This applies to both the Windows and Linux versions of Adobe Reader.

Other than that, try upgrading Wine; the "stable" version is old. Normally I'd suggest the latest development release, but there were some serious regressions in 1.1.12, so you might want to stick with 1.1.11 (or build from git).
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: adobe reader 8.x can't decrypt using online authenticati

Post by DanKegel »

jinhale wrote:Adobe Acrobat Reader version 8.1.1 [can't open files that require decryption online].
How can us Wine developers test this? I've never seen such a file.
Can you send us an example file? (You can email it to dank at kegel.com)

All the pdf password stuff I've seen doesn't involve the network.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

adobe reader 8.x can't decrypt using online authentication

Post by austin987 »

On Sun, Jan 4, 2009 at 3:28 AM, jinhale <[email protected]> wrote:
justin@methuselah:~$ wine --version
wine-1.0.1

justin@methuselah:~$ uname -a
Linux methuselah 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux

I use Adobe Acrobat Reader version 8.1.1. It can open files that don't require decryption online. I, however, have to connect to an external server to validate my unique user name and password for the pdf files I must read. This is so I can read my text books online for my online university, CTUO. I get an immediate error that states I need to connect to the network first before sending my user name and password. I have tried in vain to get some information from Adobe on the matter, by using their UNIX forums.

Every Linux based application for reading pdf files I have ever used has the same problem. I have never been able to open a pdf file on my Ubuntu Linux machine if the file requires online validation of a user name and password to decrypt an encrypted file. This remains the only reason I have to use a windows computer, besides my own.

I'm hoping there is some hkey or something else simple that I can add or modify to let AR 8.x know that I am in fact connected to the Internet. Any ideas?

Thanks,
Justin





Please attach terminal output.

Might try native winhttp/wininet.

--
-Austin
jinhale
Newbie
Newbie
Posts: 4
Joined: Sun Jan 04, 2009 3:54 am

Post by jinhale »

I have e-mailed dank with an attachment. I'll be sure to include the terminal output in possible future problems from now on. If Dan can get the file to say the password/user name is invalid instead of a general network connection error, then the problem could likely be considered solved.

Austin, native winhttp/wininet is new to me I'll have to read about it, but thank you for the suggestion. I'll attach the terminal output shortly.

dimesio, I have changed the settings several times on the native Linux version to no avail. I will repeat this with the wine version. I don't use a proxy server, but that was a good thought so I have to give you credit for your creative thinking. Like you I am concerned about regression, so I don't plan on making any bold jumps quite yet, unless it would likely help to diagnose the problem. Would trying the new version help to diagnose the problem? If so just be for warned that I have never used git, and I rarely even run make; make install.

André H., you asked why use the native version? The native version of Linux has the same problem, so I guess I'll just use whatever version I we can figure out first. The windows version on a windows machine does work, however, so I figured my chances were better using wine + AR 8.x. I have tried xpdf and a few other Linux solutions I can't list by name. All lack this functionality. The wine version has given me the most useful error message, though. Every other one tells me to talk with my administrator because there is a problem.

I'll chat latter; right now I'll try some of these suggestions and report back, with terminal output. Also is there any way I can leave an encrypted pdf file for others to look at? ~~ Justin
jinhale
Newbie
Newbie
Posts: 4
Joined: Sun Jan 04, 2009 3:54 am

Post by jinhale »

This is the file wine_file.txt, which is the result of:

justin@methuselah:~$ wine .wine/drive_c/Program\ Files/Adobe/Reader\ 8.0/Reader/AcroRd32.exe &>wine_file.txt

I believe this is both stderr and stdout.

fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:ole:CoResumeClassObjects stub
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x1002a 0x00000000
fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented
fixme:commdlg:FILEDLG95_HandleCustomDialogMessages message CDM_FIRST+0003 not implemented
fixme:commdlg:FILEDLG95_HandleCustomDialogMessages message CDM_FIRST+0003 not implemented
fixme:commdlg:FILEDLG95_HandleCustomDialogMessages message CDM_FIRST+0003 not implemented
fixme:commdlg:FILEDLG95_HandleCustomDialogMessages message CDM_FIRST+0003 not implemented
fixme:commdlg:FILEDLG95_HandleCustomDialogMessages message CDM_FIRST+0003 not implemented
fixme:commdlg:FILEDLG95_HandleCustomDialogMessages message CDM_FIRST+0003 not implemented
err:ole:CoGetClassObject class {b5f8350b-0548-48b1-a6ee-88bd00b4a5e7} not registered
err:ole:create_server class {b5f8350b-0548-48b1-a6ee-88bd00b4a5e7} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {b5f8350b-0548-48b1-a6ee-88bd00b4a5e7} could be created for context 0x15
fixme:system:SystemParametersInfoW Unimplemented action: 95 (SPI_GETSNAPTODEFBUTTON)
fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0x1002a
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d
err:ole:CoUninitialize Mismatched CoUninitialize
err:ole:CoRevokeClassObject COM was not initialized
err:ole:CoUninitialize Mismatched CoUninitialize
SOAP 1.1 fault: "http://xml.apache.org/axis/":Client [no subcode]
"No such operation 'invoke'"
Detail: <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">EDC-AdobeP ... 2:hostname>
SOAP 1.1 fault: "http://xml.apache.org/axis/":Client [no subcode]
"No such operation 'invoke'"
Detail: <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">EDC-AdobeP ... 2:hostname>
SOAP 1.1 fault: "http://xml.apache.org/axis/":Client [no subcode]
"No such operation 'invoke'"
Detail: <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">EDC-AdobeP ... 2:hostname>
SOAP 1.1 fault: "http://xml.apache.org/axis/":Client [no subcode]
"No such operation 'invoke'"
Detail: <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">EDC-AdobeP ... 2:hostname>
jinhale
Newbie
Newbie
Posts: 4
Joined: Sun Jan 04, 2009 3:54 am

Post by jinhale »

Dan posted this problem as a bug. Thank you Dan.

http://bugs.winehq.org/show_bug.cgi?id=16805
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

Looks like Wine is sending something the server doesn't like.
Here's the most interesting line in the log I attached to that bug:

trace:wininet:HTTP_GetResponseHeaders raw headers: L"HTTP/1.1 500 Internal Server Error\r\nDate: Mon, 05 Jan 2009 03:25:49 GMT\r\nServer: Apache-Coyote/1.1\r\nContent-Type: text/xml;charset=utf-8\r\nContent-Length: 517\r\nConnection: close\r\n\r\n"

So somebody has to use a packet tracer on both wine and windows
to see what the difference is in the bytes we send.

(I would add that to the bug report but bugzilla is hung at the moment.)
KenSharp
Level 4
Level 4
Posts: 120
Joined: Mon Jul 13, 2009 8:52 pm

Re: adobe reader 8.x can't decrypt using online authenticati

Post by KenSharp »

Does this still occur, five years later?
Locked