Jump to content

Recommended Posts

Posted

Sure. Simply add "department" to the query.

My UDFs and Tutorials:

  Reveal hidden contents

 

  • 3 weeks later...
Posted
  Quote

 

Hi again. sorry for all the questions.

Can you tell me how I can see the difference between an account and a group in the results? when I search for a user I get mailbox groups also and I only want to show the users. is there a "field" or var on which i can check?

thx

You need to modify the LDAP query so you only get user or group objects returned. Check the examples in the _AD_GetObjectsInOU.au3 example script.

My UDFs and Tutorials:

  Reveal hidden contents

 

  • 1 month later...
Posted

Hi Water,

Firstly thanks for this amazing UDF ! I want to include an autoit in the computer's ghost wich permit to add each computer in a specific OU in my domain.

I've a little problem with _AD_Open (). I use this function from a workgroup, so I must declare the username/password and others domain's attribute but I still have @error = 8 and @extended = -2147352567. When I try it from a computer in the domain there is no error.

Where is my mistake ? Do you think a parameter in the domain may block the authentification ?

Thank and sorry for my bad english :)

Posted

Glad you got it working :)

My UDFs and Tutorials:

  Reveal hidden contents

 

  • 2 weeks later...
Posted

Water:

Is it possible with your UDF to SET a profile path? For example when creating a new user or even after a user has been created.

Posted

Sure. Please have a look at function _AD_ModifyAttribute.

Example: _AD_ModifyAttribute.au3

Help file: _AD_ModifyAttribute.htm

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted
  On 11/20/2014 at 9:42 PM, water said:

Sure. Please have a look at function _AD_ModifyAttribute.

Example: _AD_ModifyAttribute.au3

Help file: _AD_ModifyAttribute.htm

 

You da man! ......thanks

Posted
:)

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

What have you tried so far?

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

Why, I do not understand where to start.
I need a form in which there is a drop-down list of accounts that are in my OU. And if I choose one of the entries in the box below to be inserted E-mail this user
P.S. Just want to check if the user account is disabled or not.
The problem is that I'm not good at Autoit, especially what is hard for me to deal with your UDF AD.au3

Posted

We do not spoon-feed users here.

You have to try it yourself, if you run into problems we are happy to help but we do not provide ready-to-run solutions here.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

Check example 1 in _AD_GetObjectsInOU.au3 example scrpt.

It grabs the OU of the current user and then displays a list of objects in this OU.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

At the beginning of a script, I would like to array all the computers that are in a state in which a network logon would succeed.  If your UDF can do this (or not) can you tell me where I should focus my effort?  

  Reveal hidden contents

Posted

How would you determine that a computer is in the needed state?

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted (edited)

right now i ping it.  But i figured if AD was somehow detecting if the computer was available for updates, that i could read that.  Since that is where I am getting the computer list that might allow me to reduce the time the prep takes.

Edited by boththose

  Reveal hidden contents

Posted

Unfortunately AD doesn't store this kind of information. You can't query AD for computers that are up and running or users who have logged on to a domain.

My UDFs and Tutorials:

  Reveal hidden contents

 

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
×
×
  • Create New...