Line 137:
Line 137:
To prevent passwords from getting out of sync [https://wiki.koozali.org/Password Password] contrib will be installed and password aging will be activated.
To prevent passwords from getting out of sync [https://wiki.koozali.org/Password Password] contrib will be installed and password aging will be activated.
−
===Database check===
+
===Backup and database check===
+
samba-tool domain backup offline --targetdir=/root --configfile=/etc/samba/samba.conf
+
samba-tool dbcheck --cross-ncs --configfile=/etc/samba/samba.conf
samba-tool dbcheck --cross-ncs --configfile=/etc/samba/samba.conf
samba-tool dbcheck --cross-ncs --fix --yes --configfile=/etc/samba/samba.conf
samba-tool dbcheck --cross-ncs --fix --yes --configfile=/etc/samba/samba.conf
+
===Uninstall===
===Uninstall===
/sbin/e-smith/db yum_repositories delete fasttrack-updates
/sbin/e-smith/db yum_repositories delete fasttrack-updates