Jump to content

Recommended Posts

Posted (edited)

Hi,

I am still a real AutoIT newbie, but I had been working on AutoIT scripts in conjunction with CyberArk up till now.

Now, I am trying to work on a new (standalone) AutoIT app, and have some questions:

1) I will need to do some stuff with a non-AD LDAP server, specifically, Oracle OUD (similar to the old Sun DSEE LDAP/OpenDJ)... things like (a) searching the LDAP and (b) authenticating against the LDAP.  When I was googling for AutoIT LDAP support, I found references to the AD UDF, but is that what you all are using to work with "generic" LDAP servers?  Or is there a different "generic" LDAP UDF?

2) For my app, I am going to have to also set the password of an AD domain user.  Is there a UDF or function for doing that in AutoIT?

3) I haven't worked much with compiled AutoIT, but I believe that the result of compiling an AutoIT .au3 is a .exe.  It that compiled .exe completely standalone, or what else (other files) would be needed to allow the compiled .exe to be able to execute?

 

That is probably enough to get started.  However, also, in general I was wondering if there are other things ("gotchas") that I should be aware of when working with a standalone AutoIT app vs. like an script running under something like CyberArk?

 

Thanks in advance!!

Jim

EDIT 1:  Ok, re. compiling and standalone, I found this:

https://www.autoitscript.com/autoit3/docs/intro/compiler.htm

which seems to take care of #3 above...

 

 

 

 

 

Edited by ohaya
added question #s and answered #3
Posted

Question 1: dunno, the only ldap I tried (except native AD) is a DirX identity, providing an AD-Structure :)

Question 2: never had to do it, but try _AD_SetPassword from the excellent Active Directory UDF

Question 3: yes, you get a standalone exe file which should run fine with any windows equal or above Win 2000

 

best regards,

Marc

 

Any of my own codes posted on the forum are free for use by others without any restriction of any kind. (WTFPL)

Posted

Re. 2) I will try that - I just got a combination of using runwait + a small VBScript to work (I think), but I will try _AD_SetPassword - I would much prefer not having to spawn off a separate VBScript.  Thx.

Re. 3) Yes, I have been doing some tests with some examples, and the .exe seems to work.

 

Re. 1) LDAP question - Anyone?  - This (doing LDAP operations against a non-AD LDAP - seems like it's going to be potential roadblock for using AutoIT for what I am trying to do.

Posted

@ohaya 

Anyway if you are able to use a script that tuch your AD you can at least ask an user creation for testing purpose. 

If not. 

I recommand you to give up :/ for security raison.

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - 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
 
Tutorials:

ADO - Wiki

 

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...