1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/upgrading-samba4.txt
Andrew Bartlett 368ad28a6e doc: suggest samba-tool dbcheck in upgrading-samba4.txt
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Sep 12 14:24:20 CEST 2011 on sn-devel-104
2011-09-12 14:24:20 +02:00

22 lines
902 B
Plaintext

Upgrading from an older samba4 installation.
* Compile the new version of samba4 by following the HOWTO, but do
not install it yet, and do not run provision.
* Stop any samba process
* Backup your samba4 provision:
go into the directory where your samba4 provision is stored (/usr/local/samba by default)
do tar cf $HOME/backup.tar private etc var sysvol
* Go into the source4 dir
* do make install
* run 'samba-tool dbcheck'
This will do a consistency check of the data, and is all most existing
installations will require.
If you are upgrading from a quite old provision (Samba 4.0 alpha 13 or
earlier) then running upgradeprovision will do an upgrade of security
descriptors, and upgradeprovision --full will perform a more
comprehensive upgrade of the data (including schema and display
specifiers). This attempts to do a new provision, and to then copy
existing data into that database.