VirtualBox

Changeset 36063 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Feb 23, 2011 3:56:00 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70181
Message:

VRDE: backward compatibility: try to load VBoxAuth if VRDP Auth is specified and not found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleVRDPServer.cpp

    r35722 r36063  
    16801680            rc = RTLdrLoad(filename.c_str(), &mAuthLibrary);
    16811681        else
     1682        {
    16821683            rc = RTLdrLoadAppPriv(filename.c_str(), &mAuthLibrary);
     1684            if (RT_FAILURE(rc))
     1685            {
     1686                /* Backward compatibility with old default 'VRDPAuth' name.
     1687                 * Try to load new default 'VBoxAuth' instead.
     1688                 */
     1689                if (filename == "VRDPAuth")
     1690                {
     1691                    LogRel(("AUTH: ConsoleVRDPServer::Authenticate: loading external authentication library VBoxAuth\n"));
     1692                    rc = RTLdrLoadAppPriv("VBoxAuth", &mAuthLibrary);
     1693                }
     1694            }
     1695        }
    16831696
    16841697        if (RT_FAILURE(rc))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette