Added "Joining Active Directory and FreeIPA domains document

This commit is contained in:
Oliver Gutierrez 2021-05-18 10:35:15 +01:00 committed by pbokoc
parent ee807503d0
commit 15b4341ae7
2 changed files with 41 additions and 0 deletions

View file

@ -57,6 +57,7 @@
** xref:getting-started-with-apache-http-server.adoc[Getting started with Apache HTTP Server]
** xref:how-to-edit-iptables-rules.adoc[How to edit iptables rules]
** xref:samba.adoc[How to create a Samba share]
** xref:join-active-directory-freeipa.adoc[How to join an Active Directory or FreeIPA domain]
** NVIDIA
*** xref:bumblebee.adoc[NVIDIA Optimus Bumblebee]
*** xref:how-to-set-nvidia-as-primary-gpu-on-optimus-based-laptops.adoc[How to Set NVIDIA as Primary GPU on Optimus-based Laptops]

View file

@ -0,0 +1,40 @@
[[joining_an_active_directory_or_freeipa_domain]]
= Joining an Active Directory or FreeIPA domain
Fedora can join Active Directory and FreeIPA domains using the `realm` command.
If you want your Fedora machine to be part of an Active directory or FreeIPA domain just follow this steps
. Gather needed information
* If your network is not configured to automatically setup the DNS to the domain DNS, you will need the domain DNS IP address.
* You will need to provide the credentials of a domain user with permissions to join new machines to the domain.
. Configure the DNS to use the Active Directory or FreeIPA domain DNS servers (if your network uses DHCP to set this DNS to the correct server, skip this step)
You can do this editing the network settings using the GNOME configuration panel or you can edit directly the file `/etc/systemd/resolved.conf` and add your DNS manually.
....
[Resolve]
DNS=192.168.122.143 172.17.0.2 1.0.0.1
....
. After saving the file, restart `systemd-resolved` service.
....
$ sudo systemctl restart systemd-resolved
....
. Change the machine name to the machine name you want + the domain name.
....
$ sudo hostnamectl set-hostname my_machine.example.domain
....
. Use the `realm` command to join the machine to the domain.
....
$ sudo realm join example.domain -v
....
. After the command finished the machine should be part of the Active Directory or FreeIPA domain