The other thing that strikes me from this result, - which may be entirely coincidental of course, is that both the results shown here END in "96" - i.e. would match the filter *96. whereas the missing one you mentioned does not end in "96", but contains it embedded within the description string. This of course would NOT match the above filter. - it should match on a *96* filter though. - perhaps the query filter isn't quite as you need?....
Rather than struggling with ADUC, - which can be a PITA at the nest of times, can I take this opportunity to recommend you have a try with the Softerra LDAP browser instead. - it's completely free, and a *lot* more flexible that ADUC. J Paul G. From: John Hornbuckle [mailto:[email protected]] Sent: 15 April 2010 15:37 To: NT System Admin Issues Subject: RE: Searching AD by Computer Description I'm not sure how to view the query string. ADUC is building the query itself. Here's a sample query: Note that the search yields two results. However, there are more than two computers that have "96" in their description. For example, here's the description of one computer that's not showing up in the search: TCSB#9615 svc tag# F0H4PD1 One thing I noticed is that the description of the computer that didn't appear in the results doesn't have any spaces before the "96" characters, while the two that do appear have at least one space somewhere in the description before the "96." -----Original Message----- From: Damien Solodow [mailto:[email protected]] Sent: Wednesday, April 14, 2010 10:55 AM To: NT System Admin Issues Subject: RE: Searching AD by Computer Description What does your ADUC query string look like? -----Original Message----- From: John Hornbuckle [mailto:[email protected]] Sent: Wednesday, April 14, 2010 10:50 AM To: NT System Admin Issues Subject: RE: Searching AD by Computer Description This sounded like the easiest solution, but I can't get it to work consistently for me. For instance, say I have three machines with these descriptions: Machine123 Machine223 Machine323 I'm in ADUC, I create a search by description, and I put "*23" (not including the quotation marks). My search results will show two of the machines, but not the third one. I'm trying to figure out what the pattern is--what's common about the machines that are showing up in the results vs. those that aren't... -----Original Message----- From: Damien Solodow [mailto:[email protected]] Sent: Monday, April 12, 2010 4:04 PM To: NT System Admin Issues Subject: RE: Searching AD by Computer Description I just took the LDAP query the wizard creates for "Starts with STRING" and put a wildcard at the front. :) -----Original Message----- From: Ben Scott [mailto:[email protected]] Sent: Monday, April 12, 2010 4:00 PM To: NT System Admin Issues Subject: Re: Searching AD by Computer Description On Mon, Apr 12, 2010 at 3:39 PM, Damien Solodow <[email protected]> wrote: > It's pretty straightforward. J In ADUC select the option for "Custom Search" > and then click the Advanced tab. > > Your search string should be this: > (&(objectCategory=computer)(objectClass=computer)(description=*STRING*)) > where STRING is what you're searching for. This must be some new definition of "straightforward" of which I was previously unaware. ;-) (With apologies to Douglas Adams.) -- Ben ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ NOTICE: Florida has a broad public records law. Most written communications to or from this entity are public records that will be disclosed to the public and the media upon request. E-mail communications may be subject to public disclosure. ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ NOTICE: Florida has a broad public records law. Most written communications to or from this entity are public records that will be disclosed to the public and the media upon request. E-mail communications may be subject to public disclosure. ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
<<image001.jpg>>
