Jump to content

Conneting to a different Domain using _AD_open()


Recommended Posts

Hello all :-)

I am new in this forum and try to find a solution for an AD issue :-)

I try to connect to an other domain where I am also administrator.

We have two domains. A newer active one. For me it is the primary domain.

The second one is our old domain. We have a trust between these domains.

Everything is working fine since some years.

_AD_Open() works fine in my primary domain. Now I must do some tasks

in the other domain. I try to open it with ...

_AD_Open("administrator","password","DC=domainname,DC=de","bj-dc2000.domainname.de","cn=configuration,DC=domainname,dc=de")

I get an @error 8, @extended -2147352567

All what I am doing at the moment is done with the examples comming with the AD UDF.

I would be very fine to get some help. This is the last point to get my project ready.

Thanks

:-) Markus

Link to post
Share on other sites

You could try to run the _AD_Open.au3 example script (GUI) with your data.

If you are on Windows Vista or later you will get extended error information.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2021-06-05 - Version 1.5.4.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2021-06-14 - Version 1.6.5.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki, WebDriver - Wiki

 

Link to post
Share on other sites

Thank you for the hint. I have tried it with Windows 7. It works :-)

But not with Windows XP ... :-(

Unfortunatly I can't use Windows 7 in production. Has anyone an idea why it doesn't work with Windows XP

and what I must do to get it working?

The Autoit Version 3.3.6.1 is the same on both systems.

:-) Markus

Link to post
Share on other sites
:D Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2021-06-05 - Version 1.5.4.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2021-06-14 - Version 1.6.5.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki, WebDriver - Wiki

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...