MBu Posted October 26, 2011 Share Posted October 26, 2011 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 comment Share on other sites More sharing options...
water Posted October 26, 2011 Share Posted October 26, 2011 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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
MBu Posted October 27, 2011 Author Share Posted October 27, 2011 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 comment Share on other sites More sharing options...
jazzyjeff Posted October 27, 2011 Share Posted October 27, 2011 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? Link to comment Share on other sites More sharing options...
MBu Posted October 27, 2011 Author Share Posted October 27, 2011 OK I found it! Windows 7 works fine with the NETBIOS name "user". Xp needs "domain\user". Blame on me. Cheers :-) Markus Link to comment Share on other sites More sharing options...
water Posted October 27, 2011 Share Posted October 27, 2011 (edited) Edited October 28, 2011 by water My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now