Using realm to manage domain enrolment
With these packages installed, we can use the realm
command to manage our enrolments. This command is part of the realmd
package that we added. We can use the list subcommand to ensure that we are not currently part of a domain:
$ realm list
The output should be blank. Now, we are ready to proceed with the next step: joining the domain. With a simple environment, you will know the domain that you want to join; at least we certainly hope that you do. In our case, we do know it and this is example.com
. Using the discover subcommand, we can verify that we have all the required packages installed, as shown in the following command extract:
$ realm discover example.com
The output from this command will list that this is an Active Directory domain and the required packages that we should have in place before joining the AD domain. The following screenshot illustrates this:
Depending on your Active Directory functionality level, you may require either the samba...