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

{{QA/Test_Case
 * description=
 * actions=

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
 * 1) 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
 * 1) Authentication using either console login or ssh as above
 * 2) Bring the network device back up using the NetworkManager desktop applet (or command-line) and log out:
 * ifup eth0
 * 1) Bring the network device back up using the NetworkManager desktop applet (or command-line) and log out:
 * ifup eth0
 * 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

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

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.
 * 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.