http://bugs.winehq.org/show_bug.cgi?id=12111
Summary: Bruker TopSpin: Cannot install due to an unknown administrator username Product: Wine Version: 0.9.57. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: amlopezalonso@gmail.com
During the installation process, the wizard asks for the name of the administrator user being '<machine>\Administrator' the default. I tried several usernames but the program always respond with an unknown username message and thus the installation cannot proceed.
Bruker TopSpin is a scientific program to analyze NMR spectra. There is a Linux version, but specially developed for Red Hat Enterprise and not known to work in other distros, so Windows version is commonly used.
http://bugs.winehq.org/show_bug.cgi?id=12111
--- Comment #1 from Antonio López amlopezalonso@gmail.com 2008-03-19 09:07:30 --- Created an attachment (id=11492) --> (http://bugs.winehq.org/attachment.cgi?id=11492) TopSpin installation log (excerpt)
Following a forum user advice I set WINEDEBUG=+relay,+text, and extracted what I thought to be the relevant part of the resulting log as this takes more than 150MB.
http://bugs.winehq.org/show_bug.cgi?id=12111
Antonio López amlopezalonso@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.bruker- | |biospin.com/topspin.html
http://bugs.winehq.org/show_bug.cgi?id=12111
Paul Vriens Paul.Vriens.Wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Paul.Vriens.Wine@gmail.com
--- Comment #2 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-03-19 09:15:15 --- Did you trying using the unix account name you are running Wine as?
http://bugs.winehq.org/show_bug.cgi?id=12111
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #3 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-03-19 10:30:19 --- Does using native netapi32.dll make any difference?
http://bugs.winehq.org/show_bug.cgi?id=12111
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #4 from Dan Kegel dank@kegel.com 2008-03-19 15:13:55 --- That was an interesting log excerpt. How about adding +netapi32? (A +netapi32,+text log might have almost as much info and be much shorter, btw.)
http://bugs.winehq.org/show_bug.cgi?id=12111
--- Comment #5 from Antonio López amlopezalonso@gmail.com 2008-03-19 16:22:37 --- Paul,
Yes, I tried the username of the Linux account running Wine to no avail. I even tried root and other usernames with no success. The log excerpt just reflects the user that TopSpin expects by default.
Louis, Dan,
I'll try your proposals next Monday for until then I will not have TopSpin available again. I'll let you know ASAP.
Regards, Antonio
http://bugs.winehq.org/show_bug.cgi?id=12111
--- Comment #6 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-03-20 04:28:00 --- When you have the chance could you also add "+loaddll,+snoop". The log suggests that a function "isValidAccount" is used. (This does appear to come from the apiutil dll)
http://bugs.winehq.org/show_bug.cgi?id=12111
--- Comment #7 from Dan Kegel dank@kegel.com 2008-03-20 05:32:23 --- I figured that DLL was the app's own, and just contained the subroutine the app used to validate accounts.
http://bugs.winehq.org/show_bug.cgi?id=12111
Antonio López amlopezalonso@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|0.9.57. |0.9.58.
--- Comment #8 from Antonio López amlopezalonso@gmail.com 2008-03-24 08:03:59 --- Following your instructions I have tested the installation using the native netapi32.dll and now there is no wrong superuser error but the app issues a message complaining about the installation process cannot continue (I guess due to another bug). I'm attaching the log.
http://bugs.winehq.org/show_bug.cgi?id=12111
--- Comment #9 from Antonio López amlopezalonso@gmail.com 2008-03-24 08:07:09 --- Created an attachment (id=11593) --> (http://bugs.winehq.org/attachment.cgi?id=11593) TopSpin installation log using native netapi32.dll
WINEDEBUG=+netapi32,+text,+loaddll,+snoop
The default host\username is originally set to "nivaria\Administrator" but changed to "nivaria\amla", being "amla" the real Wine user.
http://bugs.winehq.org/show_bug.cgi?id=12111
--- Comment #10 from Antonio López amlopezalonso@gmail.com 2008-03-24 08:10:46 --- Created an attachment (id=11594) --> (http://bugs.winehq.org/attachment.cgi?id=11594) TopSpin installation log using builtin dlls only
FYI. Again, default host\username (nivaria\Administrator) is changed to real ones (nivaria\amla).
http://bugs.winehq.org/show_bug.cgi?id=12111
Antonio López amlopezalonso@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #11594|0 |1 is obsolete| |
--- Comment #11 from Antonio López amlopezalonso@gmail.com 2008-03-24 08:24:21 --- Created an attachment (id=11595) --> (http://bugs.winehq.org/attachment.cgi?id=11595) TopSpin installation log using builtin dlls only
Sorry I attached the wrong file. Here goes the real one.
http://bugs.winehq.org/show_bug.cgi?id=12111
--- Comment #12 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-03-24 12:07:45 ---
TopSpin installation log using native netapi32.dll
The reason it fails now with native netapi32 is apparently it can not find samlib.dll. Copy it from your windows partition to system32. If the installation gets further we at least know the bug is in wine's netapi32.
http://bugs.winehq.org/show_bug.cgi?id=12111
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|0.9.58. |0.9.57.
--- Comment #13 from Austin English austinenglish@gmail.com 2008-03-24 12:22:11 --- Please don't change the original reported version.
http://bugs.winehq.org/show_bug.cgi?id=12111
--- Comment #14 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-03-25 02:14:20 --- I had a look at our NetUserGetInfo that returns:
trace:netapi32:NetUserGetInfo User L"amla" is unknown.
The problem is actually mentioned in access.c. We don't handle real user databases currently. Only users that are added via NetUserAdd will be able to be used with NetUserGetInfo. (A small test proves this.)
Some ways (I can think of) to fix this:
a) load at least the current user when netapi32 is loaded b) start using a real user database
http://bugs.winehq.org/show_bug.cgi?id=12111
--- Comment #15 from Antonio López amlopezalonso@gmail.com 2008-03-25 04:45:23 --- Created an attachment (id=11634) --> (http://bugs.winehq.org/attachment.cgi?id=11634) TopSpin installation log using native netapi32.dll and samlib.dll
I ran the installation process loading both native samlib.dll and netapi32.dll and it stops at the same point as before. Now note the call to the unimplemented function RpcExceptionFilter in rpcrt4.dll.
Austin: Sorry about the version modification. I thought it was the right thing to do :-( .
http://bugs.winehq.org/show_bug.cgi?id=12111
Kai Blin kai.blin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |kai.blin@gmail.com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #16 from Kai Blin kai.blin@gmail.com 2008-06-24 10:20:27 --- As Paul said, the problem is that we're not using a real user database. I'll see if I can come up with a little workaround for that.
http://bugs.winehq.org/show_bug.cgi?id=12111
Kai Blin kai.blin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #11593|text/x-log |text/plain mime type| |
--- Comment #17 from Kai Blin kai.blin@gmail.com 2008-06-27 05:05:46 --- (From update of attachment 11593) Changing attachment mime type to text/plain
http://bugs.winehq.org/show_bug.cgi?id=12111
Kai Blin kai.blin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #11595|text/x-log |text/plain mime type| |
--- Comment #18 from Kai Blin kai.blin@gmail.com 2008-06-27 05:07:29 --- (From update of attachment 11595) And for this one as well
http://bugs.winehq.org/show_bug.cgi?id=12111
--- Comment #19 from Kai Blin kai.blin@gmail.com 2008-06-27 06:18:56 --- Patch submitted.
http://bugs.winehq.org/show_bug.cgi?id=12111
--- Comment #20 from Kai Blin kai.blin@gmail.com 2008-07-02 05:27:49 --- Revised patch submitted.
http://bugs.winehq.org/show_bug.cgi?id=12111
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #21 from Austin English austinenglish@gmail.com 2008-07-02 08:24:17 --- http://www.winehq.org/pipermail/wine-patches/2008-July/057014.html
http://bugs.winehq.org/show_bug.cgi?id=12111
Kai Blin kai.blin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #22 from Kai Blin kai.blin@gmail.com 2008-07-03 07:03:52 --- Committed as 20213e49f2938dc659df8eb35b775e6b223b8030
http://bugs.winehq.org/show_bug.cgi?id=12111
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org 2008-07-11 11:09:30 --- Closing bugs fixed in 1.1.1.