MDS QA¶
This page describes how to test the MDS interface before a release.
Selenium tests¶
Install the Selenium IDE plugin for Firefox at http://seleniumhq.org.
Running the test suite¶
- Open Selenium IDE (Ctrl+Alt+S)
- Open the test suite from the repository
(
mmc/mds/tests/selenium/suite/all_test.html
) - Browse to the MMC login page on your test server. The MDS installation must be
clean with samba, mail and network modules. Root password must be
secret
. - Play the full test suite
Manual tests¶
Manual tests validate basic usage of MSS (Mandriva Server Setup) and MDS on MES 5.2. We basically check that the setup of SAMBA, bind9, dhcpd, postfix, dovecot, OpenLDAP with MDS done by MSS is OK.
Environment setup¶
A private network with one MBS 1.0 server and one Windows XP or 7 client.
The network and the machines can of course be virtualized (it’s easy to setup with VirtualBox).
- The MBS server is a base installation from the DVD + all updates
- The private network will be
192.168.220.0/24
in this document - The MBS server has a static IP of
192.168.220.10
Enable the testing repo to be able to get the MDS test packages.
Installation & configuration¶
From mss (https://192.168.220.10:8000) select and install the following modules: Samba, DNS & DHCP, Mail, Webmail.
- MDS domain:
test.local
- MDS password:
test$!
- SAMBA password:
smbTest!
- Mail networks:
192.168.220.0/255.255.255.0
- DNS networks:
192.168.220.0/255.255.255.0
The configuration must be successfull.
MDS tests¶
- Login in MDS at http://192.168.220.10/mmc/ with
root/test$
! - Add a user:
- Login:
user1
- Password:
test1
- Mail:
user1@example.com
- Login:
- Edit the user and set some other fields:
- Last name, phone...
- Put the user in a secondary group then remove if from the group.
- Add a second user:
- Login:
user2
- Password:
test2
- Mail:
user2@example.com
- Alias:
contact@example.com
- Login:
- Add the mail domain
example.com
- Login in roundcube (http://192.168.220.10/roundcubemail)
with
user1@example.com
.- send a mail to
user2@example.com
- send a mail to
contact@example.com
- send a mail to
- Login in roundcube with
user2@example.com
and check the mails - Edit the MMC ACLs of user1 and check the “Change password” page
- Login the MMC with
user1
and change his password
- Login the MMC with
- Create a DNS zone
- FQDN:
example.com
- Server IP:
192.168.220.10
- Network address:
192.168.220.0
- Network mask:
24
- Create DHCP subnet and reverse zone
- Edit the DHCP subnet and add a dynamic pool from
192.168.220.50
to192.168.220.60
- Restart both services in
Network Services Management
- Boot the Windows client and check if it gets an IP
- Convert the dynamic lease of the client to a static lease. Set the
DNS name to
win.example.com
. - Renew the lease on the windows client (
ipconfig /renew
) then pingwin.example.com
. - Join the computer to the
MES5DOMAIN
domain (admin/smbTest!
) - Login with
user1
on the Windows client - Change
user1
password on the Windows client - Login the MMC with
user1
new password - Change
user1
password on the MMC interface - Logout/Login with
user1
on the Windows client