From Fedora Project Wiki
(Initial page) |
(Fix syntax) |
||
Line 17: | Line 17: | ||
#: <pre>$ realm join --user=Administrator server.ad.example.com</pre> | #: <pre>$ realm join --user=Administrator server.ad.example.com</pre> | ||
#: The packages needed should be listed, like: <code>sssd</code>, <code>adcli</code>, <code>sssd-tools</code> | #: The packages needed should be listed, like: <code>sssd</code>, <code>adcli</code>, <code>sssd-tools</code> | ||
|results= | |results= | ||
# Now install the packages listed above using a <code>yum</code> command: | # Now install the packages listed above using a <code>yum</code> command: | ||
#: <pre>$ sudo yum install sssd adcli sssd-tools samba-common | #: <pre>$ sudo yum install sssd adcli sssd-tools samba-common</pre> | ||
# Perform the join again, this time it should complete without error | # Perform the join again, this time it should complete without error | ||
}} | }} |
Revision as of 15:11, 29 April 2013
Description
Join the current machine to an Active Directory, and prevent automatic installation of packages.
Setup
- Fulfill the prerequisites and make sure your Active Directory domain access works. realmd 0.14.0+ and adcli 0.6+ are required.
- You need a domain account as an administrator.
- Leave realm(s) you are currently joined to.
- Remove necessary packages for joining active directory:
$ sudo yum remove sssd adcli sssd-tools
- Tell realmd not to automatically install packages, by placing these lines in your
/etc/realmd.conf
.
[service] automatic-install = no
How to test
- Discover the domain, which should list the required packages:
$ realm discover ad.example.com
- Check the
required-package
lines.
- Try to join the domain, which should fail and list packages needed:
$ realm join --user=Administrator server.ad.example.com
- The packages needed should be listed, like:
sssd
,adcli
,sssd-tools
Expected Results
- Now install the packages listed above using a
yum
command:$ sudo yum install sssd adcli sssd-tools samba-common
- Perform the join again, this time it should complete without error
Troubleshooting
Use the --verbose
argument to see details of what's being done during a join. Include verbose output in any bug reports.
$ realm join --verbose server.ad.example.com