mcgill Posted July 26, 2006 Share Posted July 26, 2006 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, thanksadam.au3 Link to comment Share on other sites More sharing options...
Developers Jos Posted July 26, 2006 Developers Share Posted July 26, 2006 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)) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
mcgill Posted July 26, 2006 Author Share Posted July 26, 2006 Thanks JdeB you helped me again. Works perfect now. YOU ROCK! 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