On Computer A in Domain A I am trying to run a vbscript which will bind to the Domain Controller B in Domain B and create a computer account specifying credentials with appropriate permissions in Domain B.
There is no trust between the domains.
The firewall only has ports 389 and 636 open between Computer A and Domain Controller B.
For this reason DNS is not an option as 53 is not open so I need to reference Domain Controller B in my LDAP bind by IP address.
Using PowerShell is not an option (2003 domain without ADMGS), has to be VBscript.
I know I need to use OpenDSObject instead of GetObject but I cannot figure out the connection.
Once the computer account is created, all the necessary ACLs need to be created as per this MS script (for same domain)
I have spent a few days trying to get this working, clearly I am not a scripter, really appreciate some help!