[SCM] Samba Shared Repository - branch v3-6-test updated

Karolin Seeger kseeger at samba.org
Fri Apr 26 04:04:33 MDT 2013


The branch, v3-6-test has been updated
       via  5aba70a WHATSNEW: Add some information on migrating printers.
      from  544e41e WHATSNEW: Add changes since 3.6.13.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit 5aba70a99dd8d3e7e12a4837c00194eaba5f271c
Author: Karolin Seeger <kseeger at samba.org>
Date:   Fri Apr 26 12:02:58 2013 +0200

    WHATSNEW: Add some information on migrating printers.
    
    Thanks to Andreas for providing the text and making sure that it ends up in the
    release notes!
    
    Karolin

-----------------------------------------------------------------------

Summary of changes:
 WHATSNEW.txt |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index d3ad3bd..be09c55 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -43,6 +43,39 @@ o   Andreas Schneider <asn at samba.org>
     * BUG 9766: Cache name_to_sid/sid_to_name correctly.
 
 
+Note about upgrading from older versions:
+-----------------------------------------
+
+It is still the case that there are printing tdbs (ntprinting.tdb, ntforms.tdb,
+ntdrivers.tdb) which are in latin1 or other encodings. When updating from
+Samba 3.5 or earlier to Samba 3.6 or 4.0 these tdbs need to be migrated to our
+new registry based printing management.  This means during the migration we
+also need to do charset conversion. This can only been done manually cause we don't
+know in which encoding the tdb is. You have to specify the correct code page
+for the conversion, see iconv -l and Wikipedia [1] for the available codepages.
+The mostly used one is Windows Latin1 which is CP1252.
+
+We've extended the 'net printing dump' and 'net printing migrate' commands to
+define the encoding of the tdb. So you can correctly view the tdb with:
+
+  net printing dump encoding=CP1252 /path/to/ntprinters.tdb
+
+or migrate it with e.g.:
+
+  net printing migrate encoding=CP1252 /path/to/ntprinters.tdb
+
+If you migrate printers we suggest you do it in the following order.
+
+ntforms.tdb
+ntdrivers.tdb
+ntprinting.tdb
+
+Don't forget to rename, move or delete these files in /var/lib/samba after the
+migration.
+
+[1] https://en.wikipedia.org/wiki/Code_page
+
+
 ######################################################################
 Reporting bugs & Development Discussion
 #######################################


-- 
Samba Shared Repository


More information about the samba-cvs mailing list