s3-modules: Fix the build of gpfs.c on RHEL 6.0 with gpfs 3.4.0-4
[Samba/gebeck_regimport.git] / upgrading-samba4.txt
blob9dc4636296138754cf0cb78147a5fdaa38f6941f
1 Upgrading from an older samba4 installation.
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 * Go into the source4 dir
10 * run ./scripting/bin/upgradeprovision -s <path to smb.conf in samba4 install>
11 * do make install
13 This will do the minimum (safest) upgrade of the data.  
15 Runing upgradeprovision with --full will do a more comprehensive
16 upgrade of the data (including schema and display specifiers).  This
17 attempts to do a new provision, and to then copy existing data into
18 that database.