VirtualBox

Changeset 34563 in vbox


Ignore:
Timestamp:
Dec 1, 2010 11:39:52 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68355
Message:

VRDPAuth -> VBoxAuth.

Location:
trunk
Files:
22 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/SDKRef.xml

    r34392 r34563  
    428428
    429429        <para>By default, after installation, the web service uses the
    430         VRDPAuth module that ships with VirtualBox. This module uses PAM on
     430        VBoxAuth module that ships with VirtualBox. This module uses PAM on
    431431        Linux hosts to authenticate users. Any valid username/password
    432432        combination is accepted, it does not have to be the username and
  • trunk/doc/manual/en_US/user_AdvancedTopics.xml

    r34539 r34563  
    787787      entry point:</para>
    788788
    789       <screen>#include "VRDPAuth.h"
     789      <screen>#include "VBoxAuth.h"
    790790
    791791/**
     
    807807 * Return code:
    808808 *
    809  *   VRDPAuthAccessDenied    Client access has been denied.
    810  *   VRDPAuthAccessGranted   Client has the right to use the
    811  *                           virtual machine.
    812  *   VRDPAuthDelegateToGuest Guest operating system must
    813  *                           authenticate the client and the
    814  *                           library must be called again with
    815  *                           the result of the guest
    816  *                           authentication.
     809 *   AuthResultAccessDenied    Client access has been denied.
     810 *   AuthResultAccessGranted   Client has the right to use the
     811 *                             virtual machine.
     812 *   AuthResultDelegateToGuest Guest operating system must
     813 *                             authenticate the client and the
     814 *                             library must be called again with
     815 *                             the result of the guest
     816 *                             authentication.
    817817 */
    818 VRDPAuthResult VRDPAUTHCALL VRDPAuth2(
     818AuthResult AUTHCALL AuthEntry(
     819    const char *szCaller,
    819820    PVRDPAUTHUUID pUuid,
    820821    VRDPAuthGuestJudgement guestJudgement,
     
    826827{
    827828    /* process request against your authentication source of choice */
    828     return VRDPAuthAccessGranted;
     829    return AuthResultAccessGranted;
    829830}</screen>
    830831
     
    853854      <para>The second arguments contains information about the guest
    854855      authentication status. For the first call, it is always set to
    855       <computeroutput>VRDPAuthGuestNotAsked</computeroutput>. In case the
     856      <computeroutput>AuthGuestNotAsked</computeroutput>. In case the
    856857      function returns
    857       <computeroutput>VRDPAuthDelegateToGuest</computeroutput>, a guest
     858      <computeroutput>AuthResultDelegateToGuest</computeroutput>, a guest
    858859      authentication will be attempted and another call to the method is made
    859860      with its result. This can be either granted / denied or no judgement
  • trunk/doc/manual/en_US/user_Frontends.xml

    r33386 r34563  
    388388            <computeroutput>VBoxManage setproperty vrdeauthlibrary "VBoxAuthSimple"</computeroutput>.
    389389            To enable the library for a VM, switch authentication to external using
    390             <computeroutput>VBoxManage modifyvm "VM name" --vrdpauthtype external</computeroutput>.
     390            <computeroutput>VBoxManage modifyvm "VM name" --vrdeauthtype external</computeroutput>.
    391391            Last but not least, you have to configure users and passwords. Here is an example
    392392            for the user "john" with the password "secret":
  • trunk/doc/manual/en_US/user_VBoxManage.xml

    r34531 r34563  
    941941
    942942          <listitem>
    943             <para><computeroutput>--vrdpauthtype
     943            <para><computeroutput>--vrdeauthtype
    944944            null|external|guest</computeroutput>: This allows you to choose
    945945            whether and how authorization will be performed; see <xref
  • trunk/include/VBox/VBoxAuth.h

    r34558 r34563  
    2424 */
    2525
    26 #ifndef ___VBox_vrdpauth_h
    27 #define ___VBox_vrdpauth_h
     26#ifndef ___VBox_vboxauth_h
     27#define ___VBox_vboxauth_h
    2828
    2929/* The following 2 enums are 32 bits values.*/
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp

    r34244 r34563  
    19291929                else
    19301930                {
    1931                     errorArgument("Invalid --vrdpauthtype argument '%s'", ValueUnion.psz);
     1931                    errorArgument("Invalid --vrdeauthtype argument '%s'", ValueUnion.psz);
    19321932                    rc = E_FAIL;
    19331933                }
  • trunk/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp

    r34280 r34563  
    159159
    160160    {   kSupIFT_Dll,  kSupID_SharedLib,          true, "VRDPAuth" SUPLIB_DLL_SUFF },
     161    {   kSupIFT_Dll,  kSupID_SharedLib,          true, "VBoxAuth" SUPLIB_DLL_SUFF },
    161162    {   kSupIFT_Dll,  kSupID_SharedLib,          true, "VBoxVRDP" SUPLIB_DLL_SUFF },
    162163
  • trunk/src/VBox/HostServices/auth/Makefile.kmk

    r34558 r34563  
    5454VBoxAuth-sdkhdr_INST = $(INST_SDK)/bindings/auth/include/
    5555VBoxAuth-sdkhdr_MODE = a+r,u+w
    56 VBoxAuth-sdkhdr_SOURCES = $(PATH_ROOT)/include/VBox/VRDPAuth.h=>VRDPAuth.h
     56VBoxAuth-sdkhdr_SOURCES = $(PATH_ROOT)/include/VBox/VBoxAuth.h=>VBoxAuth.h
    5757
    5858
  • trunk/src/VBox/HostServices/auth/directoryservice/directoryservice.cpp

    r34558 r34563  
    2222#include <iprt/assert.h>
    2323
    24 #include <VBox/VRDPAuth.h>
     24#include <VBox/VBoxAuth.h>
    2525
    2626#include <DirectoryService/DirectoryService.h>
  • trunk/src/VBox/HostServices/auth/pam/VBoxAuthPAM.c

    r34558 r34563  
    2828 * service must be lowercase. See PAM documentation for details.
    2929 *
    30  * The VRDPAuth module takes the PAM service name from the
     30 * The Auth module takes the PAM service name from the
    3131 * environment variable VRDP_AUTH_PAM_SERVICE. If the variable
    3232 * is not specified, then the 'login' PAM service is used.
     
    7777#include <security/pam_appl.h>
    7878
    79 #include <VBox/VRDPAuth.h>
     79#include <VBox/VBoxAuth.h>
    8080
    8181#ifdef VRDP_PAM_DLLOAD
  • trunk/src/VBox/HostServices/auth/simple/VBoxAuthSimple.cpp

    r34558 r34563  
    2626#include <iprt/sha.h>
    2727
    28 #include <VBox/VRDPAuth.h>
     28#include <VBox/VBoxAuth.h>
    2929
    3030#include <VBox/com/com.h>
     
    3636
    3737/* If defined, debug messages will be written to the specified file. */
    38 //#define VRDPAUTH_DEBUG_FILE_NAME "/tmp/VRDPAuth.log"
     38//#define AUTH_DEBUG_FILE_NAME "/tmp/VBoxAuth.log"
    3939
    4040
    4141static void dprintf(const char *fmt, ...)
    4242{
    43 #ifdef VRDPAUTH_DEBUG_FILE_NAME
     43#ifdef AUTH_DEBUG_FILE_NAME
    4444    va_list va;
    4545
     
    5050    vsnprintf(buffer, sizeof(buffer), fmt, va);
    5151
    52     FILE *f = fopen(VRDPAUTH_DEBUG_FILE_NAME, "ab");
     52    FILE *f = fopen(AUTH_DEBUG_FILE_NAME, "ab");
    5353    if (f)
    5454    {
  • trunk/src/VBox/HostServices/auth/winlogon/winlogon.cpp

    r34558 r34563  
    2626#include <Windows.h>
    2727
    28 #include <VBox/VRDPAuth.h>
     28#include <VBox/VBoxAuth.h>
    2929
    3030static void dprintf(const char *fmt, ...)
  • trunk/src/VBox/Installer/freebsd/Makefile.kmk

    r28800 r34563  
    182182 VBOX_FBSD_STRIP_BIN += \
    183183        VBoxVRDP.so \
    184         VRDPAuth.so
     184        VBoxAuth.so
    185185 VBOX_FBSD_NO_STRIP += \
    186186        rdesktop-vrdp.tar.gz
  • trunk/src/VBox/Installer/linux/debian/lintian-override.in

    r32008 r34563  
    1515%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxNetDHCP.so
    1616%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxVRDP.so
    17 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VRDPAuth.so
     17%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxAuth.so
    1818%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/components/VBoxSVCM.so
    1919%VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/components/VBoxC.so
     
    4949%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxGuestControlSvc.so
    5050%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxVRDP.so
    51 %VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VRDPAuth.so
     51%VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxAuth.so
    5252%VERPKG%: binary-or-shlib-defines-rpath ./usr/bin/rdesktop-vrdp /usr/lib/virtualbox
    5353%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxDD.so /usr/lib/virtualbox
     
    8181%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxXPCOM.so /usr/lib/virtualbox
    8282%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxXPCOMIPCD /usr/lib/virtualbox
    83 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VRDPAuth.so /usr/lib/virtualbox
     83%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxAuth.so /usr/lib/virtualbox
    8484%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VirtualBox /usr/lib/virtualbox
    8585%VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VirtualBox.so /usr/lib/virtualbox
  • trunk/src/VBox/Installer/linux/deffiles

    r33185 r34563  
    475475    sdk/include/ipcITransactionObserver.h \
    476476    sdk/include/VirtualBox_XPCOM.h \
    477     sdk/include/VRDPAuth.h \
     477    sdk/include/VBoxAuth.h \
    478478    sdk/installer/build/lib/vboxapi/VirtualBox_constants.py
    479479    sdk/installer/build/lib/vboxapi/__init__.py
     
    573573    sdk/webservice/vboxwebService.wsdl \
    574574    sdk/samples/ \
    575     sdk/samples/vrdpauth/ \
    576     sdk/samples/vrdpauth/pam.cpp \
     575    sdk/samples/auth/ \
     576    sdk/samples/auth/pam.cpp \
    577577    sdk/samples/API/ \
    578578    sdk/samples/API/tstVBoxAPILinux.cpp \
  • trunk/src/VBox/Installer/linux/install.sh

    r34522 r34563  
    334334    if [ -x /usr/bin/chcon ]; then
    335335        chcon -t texrel_shlib_t $INSTALLATION_DIR/VBox* > /dev/null 2>&1
    336         chcon -t texrel_shlib_t $INSTALLATION_DIR/VRDPAuth.so > /dev/null 2>&1
     336        chcon -t texrel_shlib_t $INSTALLATION_DIR/VBoxAuth.so > /dev/null 2>&1
    337337        chcon -t texrel_shlib_t $INSTALLATION_DIR/VirtualBox.so > /dev/null 2>&1
    338338        chcon -t texrel_shlib_t $INSTALLATION_DIR/components/VBox*.so > /dev/null 2>&1
  • trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec

    r33231 r34563  
    248248  chcon -t texrel_shlib_t /usr/lib/virtualbox/*VBox* > /dev/null 2>&1
    249249  chcon -t texrel_shlib_t /usr/lib/virtualbox/VirtualBox.so > /dev/null 2>&1
    250   chcon -t texrel_shlib_t /usr/lib/virtualbox/VRDPAuth.so > /dev/null 2>&1
     250  chcon -t texrel_shlib_t /usr/lib/virtualbox/VBoxAuth.so > /dev/null 2>&1
    251251  chcon -t texrel_shlib_t /usr/lib/virtualbox/components/VBox*.so > /dev/null 2>&1
    252252  chcon -t java_exec_t    /usr/lib/virtualbox/VirtualBox > /dev/null 2>&1
  • trunk/src/VBox/Main/SystemPropertiesImpl.cpp

    r34244 r34563  
    10641064        m->strVRDEAuthLibrary = aPath;
    10651065    else
    1066         m->strVRDEAuthLibrary = "VRDPAuth";
     1066        m->strVRDEAuthLibrary = "VBoxAuth";
    10671067
    10681068    return S_OK;
     
    10741074        m->strWebServiceAuthLibrary = aPath;
    10751075    else
    1076         m->strWebServiceAuthLibrary = "VRDPAuth";
     1076        m->strWebServiceAuthLibrary = "VBoxAuth";
    10771077
    10781078    return S_OK;
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r34514 r34563  
    75127512        system's default library path.
    75137513
    7514         The default value of this property is <tt>"VRDPAuth"</tt>. There is a library
     7514        The default value of this property is <tt>"VBoxAuth"</tt>. There is a library
    75157515        of that name in one of the default VirtualBox library directories.
    75167516
     
    75397539        no matter what user name and password are supplied.
    75407540
    7541         The initial value of this property is <tt>"VRDPAuth"</tt>,
     7541        The initial value of this property is <tt>"VBoxAuth"</tt>,
    75427542        meaning that the webservice will use the same authentication
    75437543        library that is used by default for VRDE (again, see
  • trunk/src/VBox/Main/include/ConsoleVRDPServer.h

    r34558 r34563  
    2424#include <hgcm/HGCM.h>
    2525
    26 #include <VBox/VRDPAuth.h>
     26#include <VBox/VBoxAuth.h>
    2727
    2828#include <VBox/HostServices/VBoxClipboardExt.h>
  • trunk/src/VBox/Main/include/VRDEServerImpl.h

    r34244 r34563  
    2323#include "VirtualBoxBase.h"
    2424
    25 #include <VBox/VRDPAuth.h>
     25#include <VBox/VBoxAuth.h>
    2626#include <VBox/settings.h>
    2727
  • trunk/src/VBox/Main/webservice/vboxweb.cpp

    r34558 r34563  
    2525#include <VBox/com/errorprint.h>
    2626#include <VBox/com/EventQueue.h>
    27 #include <VBox/VRDPAuth.h>
     27#include <VBox/VBoxAuth.h>
    2828#include <VBox/version.h>
    2929
  • trunk/src/VBox/Main/webservice/websrv-cpp.xsl

    r33069 r34563  
    6767#include <VBox/com/errorprint.h>
    6868#include <VBox/com/EventQueue.h>
    69 #include <VBox/VRDPAuth.h>
     69#include <VBox/VBoxAuth.h>
    7070#include <VBox/version.h>
    7171
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