From Fedora Project Wiki

Description

Verify that GDM provides login hints when logging into a domain.

Setup

  1. If you are linked to your Active Directory domain via VPN, then this Test case will not work.
  2. Make sure you have other required software:
    • realmd 0.14.0 or later
    • gnome-shell 3.8.1-4 or later.
    • gdm 3.8.1 or later.
  3. Verify that your Active Directory domain access works, or set a domain up.
  4. Run through the test case to join the domain.
  5. Verify that you are joined to the domain with the following command
    $ realm list
    Make sure you have a configured: kerberos-membership line in the output.
    Note the login-formats: line.
  6. Check that you can resolve domain accounts on the local computer.
    Use the login-formats you saw above, to build a remote user name. It will be in the form of DOMAIN\User, where DOMAIN is the first part of your full Active Directory domain name.
    $ getent passwd 'AD\User'
  7. Perform the permit command.
    $ realm permit --all
    You will be prompted for Policy Kit authorization.
    You will not be prompted for a password.
    This should proceed quickly, not take more that 10 seconds.
    On a successful permit there will be no output.

How to test

  1. Go to GDM by logging out, or by Switch User from the user menu.
    On a Live CD if you get automatically logged in again, go to User Accounts and turn off Auto Login for the live cd user.
  2. Choose the Not Listed? option.

Expected Results

  1. Verify that underneath the box to enter a user name, there is a hint as how to type a domain user.
    It should be in the form of DOMAIN\User



Troubleshooting

If you are connected to your domain controller via VPN, the above test case will not work.

Look in /var/log/gdm/ for javascript errors that may be related to realmd.