Sign in to follow this  
Followers 0
MBu

Conneting to a different Domain using _AD_open()

6 posts in this topic

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

Share this post


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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


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

Share this post


Link to post
Share on other sites

Maybe it's not just the Windows version that is the issue. Have you checked the firewall on the XP machine? Maybe connectivity isn't working correctly. Can you ping the DC you are trying to access on the XP box?

Share this post


Link to post
Share on other sites

OK I found it!

Windows 7 works fine with the NETBIOS name "user".

Xp needs "domain\user".

Blame on me.

Cheers

:-) Markus

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

:D Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


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
Sign in to follow this  
Followers 0