From Fedora Project Wiki
m (Minor updates) |
m (More updates) |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description= This test is designed to validate the feature [[Features/SSSDByDefault]]. The test involves configuring a system for LDAP identity and authentication, and performing several actions on the system. | |description= This test is designed to validate the feature [[Features/SSSDByDefault]]. The test involves configuring a system for LDAP identity and authentication, and performing several actions on the system. | ||
{{admon/tip|Testing for the SSSD by Default Test Day?|If you are testing during the [[Test_Day:2010-03-30_SSSDByDefault|SSSD by Default Test Day]], you may use the server information provided on the [[Test_Day:2010-03-30_SSSDByDefault|test day wiki]]. Otherwise, you will need a LDAP server to connect with to perform this test.}} | |||
|actions= | |actions= | ||
# Prepare | # Prepare your system by configuring {{package|firstboot}} to start on boot. As an authorized user, run the following commands: | ||
#: <pre> | #: <pre> | ||
#: rm -f /etc/sysconfig/firstboot | #: rm -f /etc/sysconfig/firstboot | ||
Line 8: | Line 10: | ||
# Reboot your system | # Reboot your system | ||
# At firstboot, proceed to the ''Create User'' step and select ''Use Network Login...'' to start the ''Authentication Configuration'' | # At firstboot, proceed to the ''Create User'' step and select ''Use Network Login...'' to start the ''Authentication Configuration'' | ||
# In the ''Authentication Configuration'' application, under the ''Identity & Authentication'' tab set '''User Account Database''' to '''LDAP''' make the | # In the ''Authentication Configuration'' application, under the ''Identity & Authentication'' tab set '''User Account Database''' to '''LDAP''' and make the configuration changes listed below. | ||
#* Enter a valid ''Search Base DN'' | #* Enter a valid ''Search Base DN'' | ||
#* Enter a LDAP server in the field ''Server'' | #* Enter a LDAP server in the field ''Server''. Use the format <code>ldaps://my.ldap.server</code> | ||
# | # Also in the ''Authentication Configuration'' application, under the ''Identity & Authentication'' tab set '''Authentication Method''' to '''LDAP passowrd'''. When finished, select ''Apply'' and complete the remaining steps in {{command|firstboot}} as desired. | ||
# When the graphical login screen appears, login to the system using a valid LDAP username and password. | |||
# When the graphical login screen appears, login using a valid LDAP username and password | |||
|results= | |results= | ||
# Firstboot is enabled and starts on boot | # Firstboot is enabled and starts on boot | ||
Line 20: | Line 21: | ||
#: <pre> | #: <pre> | ||
#: Add some config file key=value pairs to look for | #: Add some config file key=value pairs to look for | ||
#: </pre> | #: FIXME</pre> | ||
# Login to the graphical desktop is successful using a valid LDAP username and password | # Login to the graphical desktop is successful using a valid LDAP username and password | ||
}} | }} | ||
[[Category:SSSD Test Cases]] | [[Category:SSSD Test Cases]] |
Revision as of 19:58, 26 March 2010
Description
This test is designed to validate the feature Features/SSSDByDefault. The test involves configuring a system for LDAP identity and authentication, and performing several actions on the system.
How to test
- Prepare your system by configuring
firstboot
to start on boot. As an authorized user, run the following commands:- rm -f /etc/sysconfig/firstboot
- /sbin/chkconfig firstboot on
- Reboot your system
- At firstboot, proceed to the Create User step and select Use Network Login... to start the Authentication Configuration
- In the Authentication Configuration application, under the Identity & Authentication tab set User Account Database to LDAP and make the configuration changes listed below.
- Enter a valid Search Base DN
- Enter a LDAP server in the field Server. Use the format
ldaps://my.ldap.server
- Also in the Authentication Configuration application, under the Identity & Authentication tab set Authentication Method to LDAP passowrd. When finished, select Apply and complete the remaining steps in
firstboot
as desired. - When the graphical login screen appears, login to the system using a valid LDAP username and password.
Expected Results
- Firstboot is enabled and starts on boot
- The Authentication Configuration application starts and completes without error
- The Authentication Configuration writes configuration information to
/etc/sssd/sssd.conf
that includes the following details:- Add some config file key=value pairs to look for
- FIXME
- Login to the graphical desktop is successful using a valid LDAP username and password