WHATSNEW: more information on running dbcheck
authorAndrew Tridgell <tridge@samba.org>
Tue, 13 Sep 2011 02:05:00 +0000 (12:05 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 13 Sep 2011 02:10:38 +0000 (12:10 +1000)
WHATSNEW.txt

index 6b6e685d44c4c3a1a2f0eb1fa5d310fb91ff5b70..3fac3606a8cd8209db6dc20ad89c7f4d93241567 100644 (file)
@@ -79,6 +79,21 @@ See also the -H option to point dbcheck at a different database to the
 default, and the --fix and --yes options to make changes and to not
 prompt about those changes. 
 
+After upgrading Samba, it is suggested that you do the following:
+
+  - stop samba
+  - take a backup copy of your sam.ldb and sam.ldb.d/* database files
+  - run samba-tool dbcheck --cross-ncs --fix
+  - use 'all' to say yes to fixing each type of error found
+  - after it has finished, run dbcheck again to ensure it reports no
+    errors
+
+There will be a lot of errors fixed, particularly related to
+bad/missing GUID values. This is due to a bug in previous releases
+that left many objects with bad GUID values. These can all be fixed
+using dbcheck with steps above.
+
+
 New default paths
 -----------------