Sameera Hewage 08fbaa516f Add optimized AD join script and initial README (#1)
I've introduced AD_JOIN_optimized.sh, a new script for joining Linux systems
(RHEL/CentOS/Oracle Linux) to Active Directory.

Key features of AD_JOIN_optimized.sh:
- Accepts command-line arguments for domain, OU, admin user, and security groups (SSH access, sudoers) with defaults.
- Robust OS detection using /etc/os-release.
- Comprehensive error handling (set -e, -u, -o pipefail).
- Pre-join AD connectivity check using 'realm discover'.
- Modular design with functions for readability and maintainability.
- Idempotent SSSD configuration for 'override_homedir'.
- Backs up the sudoers file before modification.
- Provides informative output and a detailed summary.
- Includes a --help option for usage instructions.

The script AD_JOIN.sh remains for reference, but AD_JOIN_optimized.sh
is recommended for new use.
2025-07-19 21:02:33 +05:30
2020-11-10 15:39:13 +05:30
2022-07-25 06:31:02 +05:30

Active_Directory_Linux

Scripts to Authenticate Users using AD in Linux Servers To Do-- Need to check with RHEL 8 and 9

S
Description
Scripts to Authenticate Users using AD in Linux Servers
Readme 35 KiB
Languages
Shell 100%