VirtualBox

Opened 22 months ago

#21449 new defect

vboxautostartsvc config file issue with windows domain account

Reported by: RobertV Owned by:
Component: other Version: VirtualBox-7.0.6
Keywords: vboxautostartsvc Cc:
Guest type: Linux Host type: Windows

Description

Following the directions in documentation 2.21.4 Windows: Starting the Autostart Service, I have run into the issue where it is NOT accepting a domain account in the autostart configuration file. I keep getting "Unexpected token, expected '='" error in the windows event log. My domain user is "raptor" in the "truck" domain. Permutations of domain\user, user@domain do not work. It only works if default_policy=allow, which may be a huge risk.

Config file contains only the following:

default_policy=deny
raptor@truck={
allow=true
startup_delay=10
}

Looking at the code, I believe the issue is in src/vbox/frontends/vboxautostart/vboxautostartcfg.cpp in the static function autostartConfigTokenizerCreateToken where getting complete token is checking for RT_C_IS_ALNUM which does not allow for either the \ or the @ part of user name and domain since those are not in the alphanumeric range defined in vbox/include/iprt/ctype.h.

Change History (0)

Note: See TracTickets for help on using tickets.

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