auth: Move the rest of the source4 gensec_ntlmssp code to the top level
[ira/wip.git] / upgrading-samba4.txt
1 Upgrading from an older samba4 installation.
2
3 * Compile the new version of samba4 by following the HOWTO, but do
4   not install it yet, and do not run provision.
5 * Stop any samba process
6 * Backup your samba4 provision:
7   go into the directory where your samba4 provision is stored (/usr/local/samba by default)
8   do tar cf $HOME/backup.tar private etc var sysvol
9 * do make install
10 * run 'samba-tool dbcheck'
11
12 This will do a consistency check of the data, and is all most existing
13 installations will require.
14
15 If you are upgrading from a quite old provision (Samba 4.0 alpha 13 or
16 earlier) then running upgradeprovision will do an upgrade of security
17 descriptors, and upgradeprovision --full will perform a more
18 comprehensive upgrade of the data (including schema and display
19 specifiers).  This attempts to do a new provision, and to then copy
20 existing data into that database.