Manual joining and configuration - PierreGode/Linux-Active-Directory-join-script GitHub Wiki
realm, command, arguments example: realm join ad.example.com realm permit user_name
Realm Commands
Discover Run a discovery scan for domains on the network.
Join Add the system to the specified domain.
Leave Remove the system from the specified domain.
List List all configured domains for the system or all discovered and configured domains.
LoginCommands
Permit Enable access for specified users or for all users within a configured domain to access the local system.
Deny Restrict access for specified users or for all users within a configured domain to access the local system.
$ realm discover $ realm discover domain.example.com
$ realm join domain.example.com $ realm join --user=admin --computer-ou=OU=Special domain.example.com
$ realm leave $ realm leave domain.example.com
$ realm list
$ realm permit --all $ realm permit [email protected] $ realm permit DOMAIN\User2 $ realm permit --withdraw [email protected]
$ realm deny --all $ realm deny -R : Specify the name of the realm to deny users login to.
$ id user@domain_name $ id user : depending of the sssd setup
$ service sssd restart