rackspace/openstack-guest-agents-windows-xenserver — pull request #10 by kravi (2013-03-11 15:53:18+00:00)
Title: WindowsServerDomainFix

NextGen RAX cloud running on Openstack, the restore of a Windows image that was created from a member server of a Windows Domain may fail due to a code issue in the Rackspace Agent; problem is intermittent because the domain administrator SID changes based on the name of the domain. The code in AdministratorAccountNameFinder will find the LAST numerical account with a SID ending in -500. If the domain has a built-in account that matches this, the domain accounts get listed after local users, the domain user's name will be used. Then, the build will fail.

Fix: While finding the administrator account added “LocalAccount = TRUE”
SELECT * FROM Win32_UserAccount WHERE LocalAccount = TRUE

Also bumped the version to 1.2.4.0