Date: Tue, 13 Sep 2011 18:22:01 +0200 From: Urs Probst <urs.probst@triamec.com> To: freebsd-emulation@freebsd.org Subject: phpVirtualBox : Authentication problem Message-ID: <4E6F8329.60100@triamec.com>
next in thread | raw e-mail | index | archive | help
Hi! I am trying to use phpVirtualBox on a headless FreeBSD-9.0-Beta2 AMD64 system. Virtualbox is 4.0.12, phpVirtualBox is 4.0.7, both freshly compiled. Virtualbox is working fine, so does phpVirtualBox when I disable authentication: VBoxManage setproperty websrvauthlibrary null and in phpVirtualBox/config.php : var $noAuth = true However, I cannot log on when websrvauthlibrary is set to default, $noAuth=false and $username etc. is set correctly to the id of vboxusers. vboxwebsrv is also running under this user. I get the following error from the phpVirtualBox front end (also after restarting vboxwebsrv): -------------------------------------------------------------------------------------------------------------- Exception Object ( [message:protected] => Error logging in to vboxwebsrv. [string:Exception:private] => [code:protected] => 64 [file:protected] => /usr/local/www/phpvirtualbox/lib/vboxconnector.php [line:protected] => 107 [trace:Exception:private] => Array ( [0] => Array ( [file] => /usr/local/www/phpvirtualbox/lib/vboxconnector.php [line] => 238 [function] => __vboxwebsrvConnect [class] => vboxconnector [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /usr/local/www/phpvirtualbox/lib/auth/Builtin.php [line] => 21 [function] => connect [class] => vboxconnector [type] => -> [args] => Array ( ) ) [2] => Array ( [file] => /usr/local/www/phpvirtualbox/lib/ajax.php [line] => 109 [function] => login [class] => phpvbAuthBuiltin [type] => -> [args] => Array ( [0] => vboxusers [1] => myVerySecretPassword ) ) ) [previous:Exception:private] => ) -------------------------------------------------------------------------------------------------------------- I have then tried to change to VBoxAuthSimple method: VBoxManage setproperty vrdeauthlibrary "VBoxAuthSimple" VBoxManage internalcommands passwordhash "verysecret" VBoxManage setextradata global "VBoxAuthSimple/users/vboxusers" 36dd292533174299fb0c34665df468bb881756ca9eaf9757d0cfde38f9ededa1 After restarting vboxwebsrv, I only get the message "invalid username or password". Does anybody has an idea? By the way: User 'vboxusers' is set up with home directory and shell. Many thanks and kind regards from Switzerland, -Urs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E6F8329.60100>