QA:Testcase SSSD LDAP Identity and LDAP Auth - Offline and Cache testing
From FedoraProject
Contents |
Description
How to test
Offline Authentication
- 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
-
- 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
-
- Authentication using either console login or ssh as above
- Bring the network device back up using the NetworkManager desktop applet (or command-line) and log out:
-
- ifup eth0
-
Offline Authentication - Wireless
- Disconnect the laptop from the network and login to the laptop console with cached credentials
- 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
- Again, using the NetworkManager desktop applet, reconnect to a wired network by selecting the applet, then choosing the appropriate wired device
- Access a network resource
Change Networks
- While connected to the wired network and authenticated, disconnect from the wired network and connect to the VPN using wireless connection
- Access a network resource
Screen Lock Offline
- Connect to the wired network and login to your desktop environment.
- Disconnect from the network and lock the screen.
- Try to unlock the screen by not entering a password.
- Try to unlock the screen by entering an incorrect password.
- Unlock the screen using the correct password.
Expected Results
Offline Authentication
- authentication is successful
- authentication is successful
Offline Authentication - Wireless
- authentication is successful
- authentication is successful
Reconnect to wired network
- network resource is successfully accessed
Change Networks
- network resource is successfully accessed
Screen Lock Offline
- Console logon successful.
- Machine is offline and screen is locked.
- Unlocking screen is unsuccessful.
- Unlocking screen is unsuccessful.
- Unlocking screen is successful.