Re: LDP ADO Equivalence



Still trying to get to the bottom of why LDP works but my script doesn't.
My script seems to do something at the point where I execute the command as
it hangs for around 4 seconds. However, the record set is already set of
EOF so it appears as though I'm not getting any data back... However, LDP
works so I assume there has to be away to retrive the same information from
ADO VBScript...

If anyone else has any idea please chime in!

Thanks,
--
Grant Schenck

"Stephen Howe" <stephenPOINThoweATtns-globalPOINTcom> wrote in message
news:#QytrzHPGHA.916@xxxxxxxxxxxxxxxxxxxxxxx
OK, I'm getting a bit further in that the query doesn't fail but I don't
get
any records back...

I don't know anything about the ADS Provider (not used it).
But in terms of URLs have you seen these:

Connection String:

http://www.carlprothman.net/Default.aspx?tabid=87#OLEDBProviderforActiveDirectoryService

Microsoft OLE DB Provider for Microsoft Active Directory Service:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdrefadsprovspec.asp

The 2nd looks helpful.

Stephen Howe




.



Relevant Pages

  • Re: How to enable NTDS KCC??
    ... I haven't looked at that script, as I believe this is quite do-able via LDP. ... Follow the instructions in the original KB you posted to the point whereby ... Prev by Date: ...
    (microsoft.public.windows.server.active_directory)
  • Re: Forest GUID
    ... I guess that would be the objectGUID of the forest root domain. ... For simplicity, you would use ADSIEdit.msc or LDP, as via script you need to ...
    (microsoft.public.windows.server.active_directory)
  • Re: Active Directory Audit
    ... using LDP or a script and then output a count and the parent OU to answer ... one that can only be answered by you and your business. ... Microsoft MVP - Windows Server - Directory Services ...
    (microsoft.public.windows.server.active_directory)