tjyang / djoin

Join RHEL and Debian based systems to Active Directory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

djoin

Join RHEL and Debian based systems to Active Directory.


Tested with:
Centos 7
Centos 8
Fedora Server 30
Debian 9
Debian 10
Raspbian 10
Ubuntu Server 18.04LTS
Ubuntu Server 19.04


To do: Sort out issues with dns records not being registered consistently across distros in all scenarios.


Usage: ./djoin.sh [options]
Joins Linux system to an AD domain.

-h, --help Print this help and exit successfully.
-n, --newname <hostname> Renames host before joining to domain.
-r, --reboot Reboots host after domain join.
-f, --force Ignore system compatability checks. Only works on RHEL and Debian based systems.
-u, --user <username> Specifies domain join user.
-v, --verbose Prints verbose output.
-d, --domain <domain> Specifies domain to join.
-a, --authorized-group <group> Specifies AD group allowed to login in to system. Default is to allow all groups.
-s, --sudo-group <group> Specifies AD group to add to sudoers list.
-p, --no-sudo-pass Allow sudo without a password for AD sudoers group.
-o, --ou-path <oupath> Specifies OU path.

About

Join RHEL and Debian based systems to Active Directory

License:MIT License


Languages

Language:Shell 100.0%