
------=_Part_6131829_573278151.1369283762625 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit I don't remember encountering such an issue, but probably never checked. a. What is the search string you're passing in order to get the users/groups? b. From quick look at the code - looks like this is at the step of initializing the data that will be queried - that is, before sending the AD query. Eli - looks like this is from the SeachQuery.InitQueryData - can you elaborate here? ----- Original Message -----
From: "Thomas Scofield" <tscofield@gmail.com> To: "users" <users@ovirt.org> Sent: Thursday, May 23, 2013 4:06:29 AM Subject: [Users] Active Directory Groups
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?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
------=_Part_6131829_573278151.1369283762625 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div>I don't remember encountering su= ch an issue, but probably never checked.<br></div><div>a. What is the searc= h string you're passing in order to get the users/groups?</div><div>b. From= quick look at the code - looks like this is at the step of initializi= ng the data that will be queried - that is, before sending the A= D query.</div><div><br></div><div><br></div><div>Eli - looks like this is f= rom the SeachQuery.InitQueryData - can you elaborate here?</div><div><br></= div><div><br></div><div><br></div><div><br></div><hr id=3D"zwchr"><blockquo= te style=3D"border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;= color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-f= amily:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Thomas Scof= ield" <tscofield@gmail.com><br><b>To: </b>"users" <users@ovirt.org= ><br><b>Sent: </b>Thursday, May 23, 2013 4:06:29 AM<br><b>Subject: </b>[= Users] Active Directory Groups<br><div><br></div><div dir=3D"ltr">I was att= empting to assign some permissions to Active Directory groups and ran into = an issue where groups with spaces or the # sign in them. The engine l= og contained messages like these<div><br></div><div><div> 2013-05-22 08:39:35,228 WARN [org.ovirt.engine.core.bll.SearchQuery] = (ajp--127.0.0.1-8702-134) ResourceManager::searchBusinessObjects - erroneou= s search text - ADGROUP: name=3D#Virtual Engineering</div><div>2013-05-22 0= 8:39:35,228 WARN [org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.= 0.1-8702-46) ResourceManager::searchBusinessObjects - erroneous search text= - ADUSER: allnames=3D#Virtual Engineering</div> </div><div><br></div><div style=3D"">The group name is valid. The exa= mple above contains both the space and #, but trying groups with just a spa= ce and others with just a # also fail. I was able to successfull= y add groups that contained characters and -. Has anyo= ne else had an issue like this?</div> <div><br></div></div> <br>_______________________________________________<br>Users mailing list<b= r>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blo= ckquote><div><br></div></div></body></html> ------=_Part_6131829_573278151.1369283762625--