Changeset 34563 in vbox
- Timestamp:
- Dec 1, 2010 11:39:52 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 68355
- Location:
- trunk
- Files:
-
- 22 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/en_US/SDKRef.xml
r34392 r34563 428 428 429 429 <para>By default, after installation, the web service uses the 430 V RDPAuth module that ships with VirtualBox. This module uses PAM on430 VBoxAuth module that ships with VirtualBox. This module uses PAM on 431 431 Linux hosts to authenticate users. Any valid username/password 432 432 combination is accepted, it does not have to be the username and -
trunk/doc/manual/en_US/user_AdvancedTopics.xml
r34539 r34563 787 787 entry point:</para> 788 788 789 <screen>#include "V RDPAuth.h"789 <screen>#include "VBoxAuth.h" 790 790 791 791 /** … … 807 807 * Return code: 808 808 * 809 * VRDPAuthAccessDenied Client access has been denied.810 * VRDPAuthAccessGranted Client has the right to use the811 * virtual machine.812 * VRDPAuthDelegateToGuest Guest operating system must813 * authenticate the client and the814 * library must be called again with815 * the result of the guest816 * 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. 817 817 */ 818 VRDPAuthResult VRDPAUTHCALL VRDPAuth2( 818 AuthResult AUTHCALL AuthEntry( 819 const char *szCaller, 819 820 PVRDPAUTHUUID pUuid, 820 821 VRDPAuthGuestJudgement guestJudgement, … … 826 827 { 827 828 /* process request against your authentication source of choice */ 828 return VRDPAuthAccessGranted;829 return AuthResultAccessGranted; 829 830 }</screen> 830 831 … … 853 854 <para>The second arguments contains information about the guest 854 855 authentication status. For the first call, it is always set to 855 <computeroutput> VRDPAuthGuestNotAsked</computeroutput>. In case the856 <computeroutput>AuthGuestNotAsked</computeroutput>. In case the 856 857 function returns 857 <computeroutput> VRDPAuthDelegateToGuest</computeroutput>, a guest858 <computeroutput>AuthResultDelegateToGuest</computeroutput>, a guest 858 859 authentication will be attempted and another call to the method is made 859 860 with its result. This can be either granted / denied or no judgement -
trunk/doc/manual/en_US/user_Frontends.xml
r33386 r34563 388 388 <computeroutput>VBoxManage setproperty vrdeauthlibrary "VBoxAuthSimple"</computeroutput>. 389 389 To enable the library for a VM, switch authentication to external using 390 <computeroutput>VBoxManage modifyvm "VM name" --vrd pauthtype external</computeroutput>.390 <computeroutput>VBoxManage modifyvm "VM name" --vrdeauthtype external</computeroutput>. 391 391 Last but not least, you have to configure users and passwords. Here is an example 392 392 for the user "john" with the password "secret": -
trunk/doc/manual/en_US/user_VBoxManage.xml
r34531 r34563 941 941 942 942 <listitem> 943 <para><computeroutput>--vrd pauthtype943 <para><computeroutput>--vrdeauthtype 944 944 null|external|guest</computeroutput>: This allows you to choose 945 945 whether and how authorization will be performed; see <xref -
trunk/include/VBox/VBoxAuth.h
r34558 r34563 24 24 */ 25 25 26 #ifndef ___VBox_v rdpauth_h27 #define ___VBox_v rdpauth_h26 #ifndef ___VBox_vboxauth_h 27 #define ___VBox_vboxauth_h 28 28 29 29 /* The following 2 enums are 32 bits values.*/ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r34244 r34563 1929 1929 else 1930 1930 { 1931 errorArgument("Invalid --vrd pauthtype argument '%s'", ValueUnion.psz);1931 errorArgument("Invalid --vrdeauthtype argument '%s'", ValueUnion.psz); 1932 1932 rc = E_FAIL; 1933 1933 } -
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp
r34280 r34563 159 159 160 160 { kSupIFT_Dll, kSupID_SharedLib, true, "VRDPAuth" SUPLIB_DLL_SUFF }, 161 { kSupIFT_Dll, kSupID_SharedLib, true, "VBoxAuth" SUPLIB_DLL_SUFF }, 161 162 { kSupIFT_Dll, kSupID_SharedLib, true, "VBoxVRDP" SUPLIB_DLL_SUFF }, 162 163 -
trunk/src/VBox/HostServices/auth/Makefile.kmk
r34558 r34563 54 54 VBoxAuth-sdkhdr_INST = $(INST_SDK)/bindings/auth/include/ 55 55 VBoxAuth-sdkhdr_MODE = a+r,u+w 56 VBoxAuth-sdkhdr_SOURCES = $(PATH_ROOT)/include/VBox/V RDPAuth.h=>VRDPAuth.h56 VBoxAuth-sdkhdr_SOURCES = $(PATH_ROOT)/include/VBox/VBoxAuth.h=>VBoxAuth.h 57 57 58 58 -
trunk/src/VBox/HostServices/auth/directoryservice/directoryservice.cpp
r34558 r34563 22 22 #include <iprt/assert.h> 23 23 24 #include <VBox/V RDPAuth.h>24 #include <VBox/VBoxAuth.h> 25 25 26 26 #include <DirectoryService/DirectoryService.h> -
trunk/src/VBox/HostServices/auth/pam/VBoxAuthPAM.c
r34558 r34563 28 28 * service must be lowercase. See PAM documentation for details. 29 29 * 30 * The VRDPAuth module takes the PAM service name from the30 * The Auth module takes the PAM service name from the 31 31 * environment variable VRDP_AUTH_PAM_SERVICE. If the variable 32 32 * is not specified, then the 'login' PAM service is used. … … 77 77 #include <security/pam_appl.h> 78 78 79 #include <VBox/V RDPAuth.h>79 #include <VBox/VBoxAuth.h> 80 80 81 81 #ifdef VRDP_PAM_DLLOAD -
trunk/src/VBox/HostServices/auth/simple/VBoxAuthSimple.cpp
r34558 r34563 26 26 #include <iprt/sha.h> 27 27 28 #include <VBox/V RDPAuth.h>28 #include <VBox/VBoxAuth.h> 29 29 30 30 #include <VBox/com/com.h> … … 36 36 37 37 /* 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" 39 39 40 40 41 41 static void dprintf(const char *fmt, ...) 42 42 { 43 #ifdef VRDPAUTH_DEBUG_FILE_NAME43 #ifdef AUTH_DEBUG_FILE_NAME 44 44 va_list va; 45 45 … … 50 50 vsnprintf(buffer, sizeof(buffer), fmt, va); 51 51 52 FILE *f = fopen( VRDPAUTH_DEBUG_FILE_NAME, "ab");52 FILE *f = fopen(AUTH_DEBUG_FILE_NAME, "ab"); 53 53 if (f) 54 54 { -
trunk/src/VBox/HostServices/auth/winlogon/winlogon.cpp
r34558 r34563 26 26 #include <Windows.h> 27 27 28 #include <VBox/V RDPAuth.h>28 #include <VBox/VBoxAuth.h> 29 29 30 30 static void dprintf(const char *fmt, ...) -
trunk/src/VBox/Installer/freebsd/Makefile.kmk
r28800 r34563 182 182 VBOX_FBSD_STRIP_BIN += \ 183 183 VBoxVRDP.so \ 184 V RDPAuth.so184 VBoxAuth.so 185 185 VBOX_FBSD_NO_STRIP += \ 186 186 rdesktop-vrdp.tar.gz -
trunk/src/VBox/Installer/linux/debian/lintian-override.in
r32008 r34563 15 15 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxNetDHCP.so 16 16 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxVRDP.so 17 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/V RDPAuth.so17 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxAuth.so 18 18 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/components/VBoxSVCM.so 19 19 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/components/VBoxC.so … … 49 49 %VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxGuestControlSvc.so 50 50 %VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxVRDP.so 51 %VERPKG%: no-shlibs-control-file usr/lib/virtualbox/V RDPAuth.so51 %VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxAuth.so 52 52 %VERPKG%: binary-or-shlib-defines-rpath ./usr/bin/rdesktop-vrdp /usr/lib/virtualbox 53 53 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxDD.so /usr/lib/virtualbox … … 81 81 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxXPCOM.so /usr/lib/virtualbox 82 82 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxXPCOMIPCD /usr/lib/virtualbox 83 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/V RDPAuth.so /usr/lib/virtualbox83 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxAuth.so /usr/lib/virtualbox 84 84 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VirtualBox /usr/lib/virtualbox 85 85 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VirtualBox.so /usr/lib/virtualbox -
trunk/src/VBox/Installer/linux/deffiles
r33185 r34563 475 475 sdk/include/ipcITransactionObserver.h \ 476 476 sdk/include/VirtualBox_XPCOM.h \ 477 sdk/include/V RDPAuth.h \477 sdk/include/VBoxAuth.h \ 478 478 sdk/installer/build/lib/vboxapi/VirtualBox_constants.py 479 479 sdk/installer/build/lib/vboxapi/__init__.py … … 573 573 sdk/webservice/vboxwebService.wsdl \ 574 574 sdk/samples/ \ 575 sdk/samples/ vrdpauth/ \576 sdk/samples/ vrdpauth/pam.cpp \575 sdk/samples/auth/ \ 576 sdk/samples/auth/pam.cpp \ 577 577 sdk/samples/API/ \ 578 578 sdk/samples/API/tstVBoxAPILinux.cpp \ -
trunk/src/VBox/Installer/linux/install.sh
r34522 r34563 334 334 if [ -x /usr/bin/chcon ]; then 335 335 chcon -t texrel_shlib_t $INSTALLATION_DIR/VBox* > /dev/null 2>&1 336 chcon -t texrel_shlib_t $INSTALLATION_DIR/V RDPAuth.so > /dev/null 2>&1336 chcon -t texrel_shlib_t $INSTALLATION_DIR/VBoxAuth.so > /dev/null 2>&1 337 337 chcon -t texrel_shlib_t $INSTALLATION_DIR/VirtualBox.so > /dev/null 2>&1 338 338 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 248 248 chcon -t texrel_shlib_t /usr/lib/virtualbox/*VBox* > /dev/null 2>&1 249 249 chcon -t texrel_shlib_t /usr/lib/virtualbox/VirtualBox.so > /dev/null 2>&1 250 chcon -t texrel_shlib_t /usr/lib/virtualbox/V RDPAuth.so > /dev/null 2>&1250 chcon -t texrel_shlib_t /usr/lib/virtualbox/VBoxAuth.so > /dev/null 2>&1 251 251 chcon -t texrel_shlib_t /usr/lib/virtualbox/components/VBox*.so > /dev/null 2>&1 252 252 chcon -t java_exec_t /usr/lib/virtualbox/VirtualBox > /dev/null 2>&1 -
trunk/src/VBox/Main/SystemPropertiesImpl.cpp
r34244 r34563 1064 1064 m->strVRDEAuthLibrary = aPath; 1065 1065 else 1066 m->strVRDEAuthLibrary = "V RDPAuth";1066 m->strVRDEAuthLibrary = "VBoxAuth"; 1067 1067 1068 1068 return S_OK; … … 1074 1074 m->strWebServiceAuthLibrary = aPath; 1075 1075 else 1076 m->strWebServiceAuthLibrary = "V RDPAuth";1076 m->strWebServiceAuthLibrary = "VBoxAuth"; 1077 1077 1078 1078 return S_OK; -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r34514 r34563 7512 7512 system's default library path. 7513 7513 7514 The default value of this property is <tt>"V RDPAuth"</tt>. There is a library7514 The default value of this property is <tt>"VBoxAuth"</tt>. There is a library 7515 7515 of that name in one of the default VirtualBox library directories. 7516 7516 … … 7539 7539 no matter what user name and password are supplied. 7540 7540 7541 The initial value of this property is <tt>"V RDPAuth"</tt>,7541 The initial value of this property is <tt>"VBoxAuth"</tt>, 7542 7542 meaning that the webservice will use the same authentication 7543 7543 library that is used by default for VRDE (again, see -
trunk/src/VBox/Main/include/ConsoleVRDPServer.h
r34558 r34563 24 24 #include <hgcm/HGCM.h> 25 25 26 #include <VBox/V RDPAuth.h>26 #include <VBox/VBoxAuth.h> 27 27 28 28 #include <VBox/HostServices/VBoxClipboardExt.h> -
trunk/src/VBox/Main/include/VRDEServerImpl.h
r34244 r34563 23 23 #include "VirtualBoxBase.h" 24 24 25 #include <VBox/V RDPAuth.h>25 #include <VBox/VBoxAuth.h> 26 26 #include <VBox/settings.h> 27 27 -
trunk/src/VBox/Main/webservice/vboxweb.cpp
r34558 r34563 25 25 #include <VBox/com/errorprint.h> 26 26 #include <VBox/com/EventQueue.h> 27 #include <VBox/V RDPAuth.h>27 #include <VBox/VBoxAuth.h> 28 28 #include <VBox/version.h> 29 29 -
trunk/src/VBox/Main/webservice/websrv-cpp.xsl
r33069 r34563 67 67 #include <VBox/com/errorprint.h> 68 68 #include <VBox/com/EventQueue.h> 69 #include <VBox/V RDPAuth.h>69 #include <VBox/VBoxAuth.h> 70 70 #include <VBox/version.h> 71 71
Note:
See TracChangeset
for help on using the changeset viewer.