This is a simple Python GUI application, built with Tkinter, for checking if users exist in Active Directory. The tool allows you to build a list of users and then search for all of them in a single batch operation, displaying the results in a clear, color-coded table.
- Simple GUI: A user-friendly graphical interface built with Python's standard
tkinterlibrary. - Auto-Detection: Automatically detects the user's current domain and a logon server to use for the LDAP connection.
- Batch Searching: Add multiple users to a list to perform a batch search instead of checking one by one.
- Clear Results: Displays the search status (Found, Not Found, Error) in a simple table.
- Color-Coded Status: The results are colored green (Found), red (Not Found), or yellow (Error) for immediate visual feedback.
- Progress Bar: Includes a progress bar that tracks the status of the batch search.
- Python: Python 3.x is required.
- ldap3 Library: The script depends on the
ldap3library for its connection to Active Directory. - Environment: Must be run on a domain-joined Windows computer. The script relies on Windows environment variables to automatically detect the domain and server.
- Install Dependencies: First, you must install the required Python library. Open a command prompt or PowerShell and run:
pip install ldap3
- Run the Script: Navigate to the script's directory and run it using Python:
python Check_AD-User.py
- Launch the script. It will automatically populate the Domain and AD/LDAP Server fields.
- Enter the First Name and Last Name of a user into the corresponding fields.
- Click the Add User button. The user's name will be added to the listbox below.
- Repeat the process for all users you need to check.
- When your list is ready, click the Search button.
- The search will begin, and the progress bar will update as it checks each user.
- The results will appear in the table at the bottom, showing the status for each name on your list.
This project is licensed under the GNU General Public License v3.0. See the LICENSE.md file for details.
