I was attempting to assign some permissions to Active Directory groups and
ran into an issue where groups with spaces or the # sign in them. The
engine log contained messages like these
2013-05-22 08:39:35,228 WARN [org.ovirt.engine.core.bll.SearchQuery]
(ajp--127.0.0.1-8702-134) ResourceManager::searchBusinessObjects -
erroneous search text - ADGROUP: name=#Virtual Engineering
2013-05-22 08:39:35,228 WARN [org.ovirt.engine.core.bll.SearchQuery]
(ajp--127.0.0.1-8702-46) ResourceManager::searchBusinessObjects - erroneous
search text - ADUSER: allnames=#Virtual Engineering
The group name is valid. The example above contains both the space and #,
but trying groups with just a space and others with just a # also fail. I
was able to successfully add groups that contained characters and -. Has
anyone else had an issue like this?