Sign in to follow this  
Followers 0
mcgill

Help with searching a username(LDAP) as a Search function

3 posts in this topic

Hello all,

I created a script that pull AD information with LDAP and I am able to do that. But what I want to do is store the LDAP AD information into a function so I only use it when I need to do a search. In my script I load a GUI with information. When the search button is click I want it to take the username field and search my domain(ldap AD) and input the information into the GUI. Right now it tells me the user name doesn't exist on my domain but I know it does cause I can see it in AD. Any help with this would be greatly appreciated, thanks

adam.au3

Share this post


Link to post
Share on other sites



Hello all,

I created a script that pull AD information with LDAP and I am able to do that. But what I want to do is store the LDAP AD information into a function so I only use it when I need to do a search. In my script I load a GUI with information. When the search button is click I want it to take the username field and search my domain(ldap AD) and input the information into the GUI. Right now it tells me the user name doesn't exist on my domain but I know it does cause I can see it in AD. Any help with this would be greatly appreciated, thanks

$objTrans.Set ($ADS_NAME_TYPE_NT4, @LogonDomain & "\" & GUICtrlRead($usernamesearch))

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Thanks JdeB you helped me again. Works perfect now.

YOU ROCK!

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