Bulk AD Users – Connecting to Active Directory

Introduction

If you are running Bulk AD Users from a domain workstation or member server, Bulk AD Users will connect to the current domain using the credentials of the logged in user.  If you are running from a workgroup computer or standalone server, you will be prompted for the connection details for your Active Directory domain.

Connection Dialog

You will be prompted with the connection dialog below if the application is unable to make a default connection to your Active Directory database.  You can also change the connection details at any time by selecting “Connect” from the file menu.  You might want to authenticate against the current domain using a different user account or connect to a remote domain for example.

You can connect as your current user account by leaving the “Connect As Self” option selected, or you can uncheck this option and specify a username and password.  In the Server/Domain drop down, you can enter any of the following:

  • The DNS name of your domain
  • The NETBIOS name of your domain
  • The NETBIOS name of a domain controlller
  • The DNS name of a domain controller.
  • The IP Address of a domain controller.

Advanced Options

Clicking the “Advanced” button allows you to choose a connection root.  By default the application will run all searches from the domain subtree, but you might want to specify a lower level in the domain hierarchy.  To do this, enter the distinguished name of the container/organizational unit that you want to use as your root connection.  e.g. OU=My Users,DC=WiseSoft,DC=co,DC=uk

You can also choose to connect to your Active Directory database using a different port (The default is 389).

Command Line Options

Connection information can also be passed to the application via command line parameters. The following parameters are available:

ParameterDescriptionExample
-uUsername to connect as.  (Optional – the default is to connect as the current user account)-u “David Wiseman”
-pPassword.  (Optional – the default is to connect as the current user account)-p MyP4$$w0rd
-sThe server or domain. -s wisesoft.co.uk
 -root The distinguidhed name of the container/organizational unit to use as the root connection.  (Optional – the default is to bind to the domain subtree)-root “ou=MyUsers,dc=wisesoft,dc=co,dc=uk”
 -port The port used to connect to your Active Directory database.  (Optional, the default is to connect on port 389)-port 389