ADO LDAP Query to Child Domain Failing

Author Message
karmakoma

  • Total Posts : 1
  • Scores: 0
  • Reward points : 0
  • Joined: 12/15/2011
  • Status: offline
ADO LDAP Query to Child Domain Failing Sunday, December 18, 2011 10:30 AM (permalink)
0
Hello,
I have found a vbscript which queries the for exchange servers and gathers mailbox size and size limits for each exchange server.
I want to restrict it to a child domain but cannot get it to work. Script is below.
Our parent domain is corp.wow.com. Child domain is ap.corp.wow.com
If I set LDAP to "<[link=ldap://DC=ap,DC=corp,DC=wow,DC=com]LDAP://DC=ap,DC=corp,DC=wow,DC=com[/link]" the script errors with: Active Directory: An invalid directory pathname was passed
If I set LDAP to "<[link=ldap://ap.corp.wow.com]LDAP://ap.corp.wow.com[/link]" script errors with: provider: Table does not exist.
Any ideas what I might be doing wrong here?
Thanks!
 
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9