|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
AD, LDAP, Query, OpenDSObject, 2 Questions...Hi!
I want to do something... Query an Active directory container for all computers with name beginning with something, ending with something or containing something. And Query an Active directory container for a computer with a specific name. I need to do those queries using "OpenDSObject" method to connect with specific credential to AD. Thanks! ShrimpyOne
Show quote
Hide quote
"ShrimpBoy" <Shrimp***@discussions.microsoft.com> wrote in message For the query for all computers from VB you'll need to use ADO; you can findnews:88BDFD08-DB63-4D8B-8932-FF733B4A8709@microsoft.com > Hi! > > I want to do something... > > Query an Active directory container for all computers with name > beginning with something, ending with something or containing > something. > > And > > Query an Active directory container for a computer with a specific > name. > > I need to do those queries using "OpenDSObject" method to connect with > specific credential to AD. lots of samples in google with a search like http://groups.google.com.my/groups/search?q=ADsDSOObject+vb+ldap+query+credentials&qt_s=Search note that searching for "beginning with something" is normally easy as you can search for "<value>*" but "ending with something" and "containing comething" aren't so easy because you can't always rely on wildcards at the beginning of the criteria (that is often disabled to improve performance). For those you need to retrieve all entries and compare the names using VB code (e.g. Like or Instr). for the second I'm not sure what the question is -- Reply to the group so all can participate VB.Net: "Fool me once..."
Any known problems running VB6 application with Intel Centrino Duo
Help with disconnected recordset! question -- close adodb connection inside dll Hidden treasures... CommonDialog sets Windows Default Printer - is Mike Williams out there? vb6 and iso 8601 date format error making function call with multiple parameters to dll click on a menu WebBrowser vs Pdf.ocx Error creating Oracle object |
|||||||||||||||||||||||