[Samba] Moving a printserver

Marc Muehlfeld mmuehlfeld at samba.org
Tue Oct 28 11:01:59 MDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Stefan

Am 28.10.2014 um 16:41 schrieb Stefan Kania:
> I like to move a Samba Printserver to a different machine. I would 
> like to copy the printerdriver from the old to the new machine and
> not reinstall all drivers/printers again. When I only copy the
> files from /var/lib/samba/drivers to the new machine, there are no
> drivers listed on the new machine. How do I get the drivers listed
> on the new machine?

First, of course, you have to configure Samba on the new host as a
Print Server (see Wiki for documentation). Then move the content of
the [print$] share - it contains the driver for Point'n'Print. And
then you need the 'registry.tdb'. It contains the registry values of
the preconfigured drivers. If you don't have any other stuff in there
(e. g. registry-based share configuration, etc.), you can copy this
file. If you have other configs in the Samba registry, then you can
try to export/import it via RegEdit from a Windows PC (never tried.
But maybe it works).

Regards,
Marc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUT8wCAAoJEFNERvHO3m51FXkIAK6sXEFedAwnDgxKogkKTtle
98bHiL/1TA6r4xls0NJdE5EZcDYIokvMSvJGZ3s5NRSUquG2TPZxAJHjcwT/IbIV
GyKIhh3BOca0zn3I4ryRZuhwGVynYZ0KUhrl4HP6s2U5Jp3hlasomeEyGcLVROR+
9ywL1tFpTGeMqt+8dXqQz6V3D50SP1vSvO8aPHVRkedvu0O8CRoL+XamrFJBI5zo
87WfHhpbf6TbQvxXnaL/VwUU+qTnYo3pyBLe+l7w0vFyhEUOS87mJeVo6QMcdiRf
Kj3oZs4oImho3uf0oktZs9idEkdE6E1Bao6kr3//55gqR1/PxQmhlqlqqKlDai4=
=yfNC
-----END PGP SIGNATURE-----


More information about the samba mailing list