What steps will reproduce the problem?
1. use ActiveDirectory authentication
2. set adminUser setting for a user in config
3. login with the user and try to do admin stuff
What is the expected output? What do you see instead?
Login works but I dont have admin permissions, e.g. grouping vms
What version of phpVirtualBox, VirtualBox, and PHP are you using? On what
operating system?
phpVirtualBox 4.2.4
Please provide any additional information below.
The admin session variable not yet set when comparing with adminUser setting.
I fixed the issue by changing lines 130 and 153 in lib/auth/ActiveDirectory.php
to
$_SESSION['admin'] = (strtolower($this->config['adminUser']) ==
strtolower($username));
Original issue reported on code.google.com by f.traenk...@gmail.com on 12 Dec 2012 at 1:08
Original issue reported on code.google.com by
f.traenk...@gmail.com
on 12 Dec 2012 at 1:08