Page 1 of 1

v2.2.0 - Could not resolve import 'VRDPAuth2'.

Posted: 17. Apr 2009, 02:35
by mastabog
Hi all,

I've recently upgraded to v2.2.0. I have quite a few issues with it: NAT not working at all, cannot change host key using the GUI (havent tried with cmd line or xml), VRDP not working, etc. What I care about right now is getting VRDP to work and I thought I could post here before submitting a potential bug report; I may be missing something.

The host machine is a C2D 3.2 GHz with 8GB RAM running XP x64 SP2. If I use the "External" auth mode for vrdp then the connection is refused -- I don't get any prompt for credentials or anything, it instantly says connection closed -- and the error below is found in the log. I tried from outside the local network (internet) and from within the local network as well (same subnet 192.168.1.0/24). It only works if I login from either localhost 127.0.0.0/8 or if I use "Null" as authentication mode (in the latter case it works from anywhere).

Code: Select all

00:01:07.594 VRDP: New connection: 
00:01:07.751 VRDP: Flags 0x0000001b
00:01:07.751 VRDP: Channel: [rdpdr] [1004]. Not supported.
00:01:07.751 VRDP: Channel: [rdpsnd] [1005]. Accepted.
00:01:07.751 VRDP: Channel: [drdynvc] [1006]. Not supported.
00:01:07.751 VRDP: Channel: [cliprdr] [1007]. Accepted.
00:01:08.051 VRDP: Client seems to be MSFT.
00:01:08.051 VRDP: Logon: WHENEVER (192.168.1.3) build 6001. User: [] Domain: [] Screen: 0
00:01:08.051 VRDPAUTH: User: []. Domain: []. Authentication type: [External]
00:01:08.053 VRDPAUTH: ConsoleVRDPServer::Authenticate: loading external authentication library 'K:\Program Files\Sun\xVM VirtualBox\VRDPAuth.dll'
00:01:08.061 VRDPAUTH: Could not resolve import 'VRDPAuth2'. Error code: VERR_SYMBOL_NOT_FOUND
00:01:08.069 VRDPAUTH: Using entry point 'VRDPAuth'.
00:01:08.080 VRDPAUTH: external authentication module returned 'access denied'
00:01:08.080 VRDPAUTH: Access denied.
00:01:08.080 VRDP: Connection closed: 
00:01:08.080 VRDP: Logoff: WHENEVER (192.168.1.3) build 6001. User: [] Domain: [] Reason 0x0001.
I tried lots of stuff:

- uninstall, reinstall
- uninstall, wipe registry leftovers manually (services, drivers, etc) and clean reinstall
- used either the default VRDPAuth entry (reset to default) or choose the dll manually (as in the log above)
- read around about this error and I could find some old posts and bug reports about it working only with Null but not with External but they said it was fixed in v1.6

I always get the same error if I try to login from any machine other than 127.0.0.0/8. Works from localhost with "External" and from any machine with "Null" but I don't want to use Null and I'd like to be able to login without setting up ssh tunnels to trick it into thinking i'm loging in from 127.*. This is the log entry when I login from localhost:

Code: Select all

00:00:23.544 VRDP: New connection: 
00:00:23.687 VRDP: Flags 0x0000001b
00:00:23.688 VRDP: Channel: [rdpdr] [1004]. Not supported.
00:00:23.688 VRDP: Channel: [rdpsnd] [1005]. Accepted.
00:00:23.688 VRDP: Channel: [drdynvc] [1006]. Not supported.
00:00:23.688 VRDP: Channel: [cliprdr] [1007]. Accepted.
00:00:23.854 VRDP: Client seems to be MSFT.
00:00:23.854 VRDP: Logon: WHEREVER (127.0.0.1) build 6000. User: [bogdan] Domain: [] Screen: 0
00:00:23.855 VRDPAUTH: User: [bogdan]. Domain: []. Authentication type: [External]
00:00:23.860 VRDPAUTH: ConsoleVRDPServer::Authenticate: loading external authentication library 'K:\Program Files\Sun\xVM VirtualBox\VRDPAuth.dll'
00:00:23.861 VRDPAUTH: Could not resolve import 'VRDPAuth2'. Error code: VERR_SYMBOL_NOT_FOUND
00:00:23.861 VRDPAUTH: Using entry point 'VRDPAuth'.
00:00:23.862 VRDPAUTH: external authentication module returned 'access granted'
00:00:23.862 VRDPAUTH: Access granted.
Am I missing something trivial here?

Any help is greatly appreciated!

Cheers