QA:Testcase SSSD LDAP Identity and LDAP Auth - Offline and Cache testing

From FedoraProject

Jump to: navigation, search
Cog.png
It has been requested that this page be deleted.
This test is not needed and has been replaced by other SSSD tests.


Contents

Description

How to test

Offline Authentication

  1. Using either console login or ssh authenticate from the sssd client at least once on line to get your credentials cached.
    ssh -l user@LDAP (LDAP = sssd domain name) localhost
  2. Simulate offline by disconnecting network connection or bring down the network device. Select desktop network icon, and disconnect your wired interface. Alternatively, from the command-line, run:
    ifdown eth0
  3. Authentication using either console login or ssh as above
  4. Bring the network device back up using the NetworkManager desktop applet (or command-line) and log out:
    ifup eth0

Offline Authentication - Wireless

  1. Disconnect the laptop from the network and login to the laptop console with cached credentials
  2. Enable your wireless connection and attempt to authenticate. Note, depending on your network setup, you may need to configure a VPN connection to access your networking.

Reconnect to the Wired Netowrk

  1. Again, using the NetworkManager desktop applet, reconnect to a wired network by selecting the applet, then choosing the appropriate wired device
  2. Access a network resource
Questionmark.png
FIXME
What is a network resource?

Change Networks

  1. While connected to the wired network and authenticated, disconnect from the wired network and connect to the VPN using wireless connection
  2. Access a network resource
Questionmark.png
FIXME
What is a network resource?

Screen Lock Offline

  1. Connect to the wired network and login to your desktop environment.
  2. Disconnect from the network and lock the screen.
  3. Try to unlock the screen by not entering a password.
  4. Try to unlock the screen by entering an incorrect password.
  5. Unlock the screen using the correct password.

Expected Results

Offline Authentication

  1. authentication is successful
  2. authentication is successful

Offline Authentication - Wireless

  1. authentication is successful
  2. authentication is successful

Reconnect to wired network

  1. network resource is successfully accessed

Change Networks

  1. network resource is successfully accessed

Screen Lock Offline

  1. Console logon successful.
  2. Machine is offline and screen is locked.
  3. Unlocking screen is unsuccessful.
  4. Unlocking screen is unsuccessful.
  5. Unlocking screen is successful.