From Fedora Project Wiki

Line 47: Line 47:
 
'''Known Issue [[https://bugzilla.redhat.com/show_bug.cgi?id=953151 missing dependency]]:''' realmd has a missing dependency: glib-networking. Please do:
 
'''Known Issue [[https://bugzilla.redhat.com/show_bug.cgi?id=953151 missing dependency]]:''' realmd has a missing dependency: glib-networking. Please do:
 
<pre> # yum install glib-networking </pre>
 
<pre> # yum install glib-networking </pre>
 
The selinux profile for realmd isn't yet stable, so you may want turn off enforcement. Please do still file bugs for the SElinux AVC notifications you see.
 
  
 
'''Known Issue [[https://bugzilla.redhat.com/show_bug.cgi?id=867873 Selinux]]:''' You need to turn off selinux to complete the join. Please do:
 
'''Known Issue [[https://bugzilla.redhat.com/show_bug.cgi?id=867873 Selinux]]:''' You need to turn off selinux to complete the join. Please do:
Line 55: Line 53:
 
$ sudo setenforce 0
 
$ sudo setenforce 0
 
</pre>
 
</pre>
 +
 +
The selinux profile for realmd isn't yet stable, so you may want turn off enforcement. Please do still file bugs for the SElinux AVC notifications you see.
  
 
Please file all realmd AVC's at this bug: https://bugzilla.redhat.com/show_bug.cgi?id=867873
 
Please file all realmd AVC's at this bug: https://bugzilla.redhat.com/show_bug.cgi?id=867873
Line 61: Line 61:
 
$ sudo grep realmd /var/log/audit/audit.log
 
$ sudo grep realmd /var/log/audit/audit.log
 
</pre>
 
</pre>
 +
 +
'''Known Issue [[https://bugzilla.redhat.com/show_bug.cgi?id=953116 cannot change the password for new user]]:''' This is a bug probably in autconf. The workaround is available in the bug [[https://bugzilla.redhat.com/show_bug.cgi?id=953116 Bug 953116]]
 +
  
 
[[Category:Active_Directory_Test_Cases]]
 
[[Category:Active_Directory_Test_Cases]]

Revision as of 13:29, 17 April 2013

Description

Join the current machine to a FreeIPA domain. Domain accounts are available on the local machine once this is done.

Setup

  1. This testcase assumes you have already set up a FreeIPA domain (named "ipa.example.org"). If you haven't, you can set one up.
  2. Your machine must have a configured host name. Do not proceed if your host name is localhost or similar.
    $ hostname
  3. Make sure you have realmd 0.13 or later installed.
    $ yum list realmd

How to test

  1. Perform the join command using IPA's admin account.
    $ realm join --user=admin ipa.example.org
    You will be prompted for a password for the account.
    You will be prompted for Policy Kit authorization.
    On a successful join there will be no output.
    This can take up to a few minutes depending on how far away your FreeIPA domain is.

Expected Results

  1. Check that the domain is now configured.
    $ realm list
    Make sure the domain is listed.
    Make sure you have a configured: kerberos-member line in the output.
    Make note of the login-formats line for the next command.
  2. Check that you can resolve domain accounts on the local computer.
    $ getent passwd 'admin@ipa.example.org'
    Make sure to use the quotes around the user name.
    You should see an output line that looks like passwd(5) output. It should contain an appropriate home directory, and a shell.
    Use the login-formats you saw above, to build a remote user name. It will be in the form of User@FULL-DOMAIN, where FULL-DOMAIN is your full IPA domain name (e.g. ipa.example.org).
  3. Check that you have an appropriate entry in your hosts keytab.
    sudo klist -k
    You should see several lines, with your host name. For example 1 host/HOSTNAME@IPA.EXAMPLE.ORG
  4. Check that you can use your keytab with kerberos
    sudo kinit -k 'host/HOSTNAME@IPA.EXAMPLE.ORG'
    Make sure to use quotes around the argument, because of the characters in there. Make sure the hostname and domain are capitalized.
    Use the principal from the output of the klist command above. Use the one that's capitalized and looks like host/HOSTNAME@FULL-DOMAIN.
    There should be no output from this command.
  5. If you have set up the FreeIPA Web UI, you can use it to see that the computer account was created under the Hosts section.



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 ipa.example.org

Known Issue [missing dependency]: realmd has a missing dependency: glib-networking. Please do:

 # yum install glib-networking 

Known Issue [Selinux]: You need to turn off selinux to complete the join. Please do:

$ sudo setenforce 0

The selinux profile for realmd isn't yet stable, so you may want turn off enforcement. Please do still file bugs for the SElinux AVC notifications you see.

Please file all realmd AVC's at this bug: https://bugzilla.redhat.com/show_bug.cgi?id=867873

$ sudo grep realmd /var/log/audit/audit.log

Known Issue [cannot change the password for new user]: This is a bug probably in autconf. The workaround is available in the bug [Bug 953116]