Joanna Chan (joachan)
2005-Jul-08 18:50 UTC
[Samba] Distributing custom driver config in TDB files
Hi, Is there a way to populate customized settings of the drivers (printing related TDB files) from one Print Server to another? Here is the background: I am working on centralized driver distribution. Besides pushing all the drivers from a central location to the edges, the administrator should also be allowed to customize the drivers settings and the distribution should send those customizations to the edges. I understand those settings are stored in the TDB files (ntprinters.tdb, ntforms.tdb, etc). The HOW-TO guide shows how to initialize the valid Device Mode. I wonder if there is any programmatically way to clone those valid settings to all the edges. Also, besides 'tdbdump' and 'tdbbackup', are there other tools to manage the TDB files? I'm developing on Linux using Samba 3.0.14a. Any suggestions are highly appreciated, thanks. Joanna Chan
John H Terpstra
2005-Jul-08 19:01 UTC
[Samba] Distributing custom driver config in TDB files
On Friday 08 July 2005 12:49, Joanna Chan (joachan) wrote:> Hi, > > Is there a way to populate customized settings of the drivers (printing > related TDB files) from one Print Server to another? > > Here is the background: > I am working on centralized driver distribution. Besides pushing all > the drivers from a central location to the edges, the administrator > should also be allowed to customize the drivers settings and the > distribution should send those customizations to the edges. > > I understand those settings are stored in the TDB files (ntprinters.tdb, > ntforms.tdb, etc). The HOW-TO guide shows how to initialize the valid > Device Mode. I wonder if there is any programmatically way to clone > those valid settings to all the edges. > > Also, besides 'tdbdump' and 'tdbbackup', are there other tools to manage > the TDB files?Forget touching the physical tdb files. Read the new book "The Official Samba-3 HOWTO and Reference Guide" Chapter 12, Section 12.8.4. This book will hit the book stores around August. Meantime, you can download a PDF from http://www.samba.org/samba/docs/Samba3-HOWTO.pdf Enjoy! Cheers, John T.> > I'm developing on Linux using Samba 3.0.14a. > > Any suggestions are highly appreciated, thanks. > Joanna Chan-- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production.
Gerald (Jerry) Carter
2005-Jul-08 19:10 UTC
[Samba] Distributing custom driver config in TDB files
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Joanna Chan (joachan) wrote:> Hi, > > Is there a way to populate customized settings of > the drivers (printing related TDB files) from one Print > Server to another?Joanna, I have the perfect solution for you which I've been working on for several months. I don't have time to layout the details right now, but if you are willing to work with me on this, I'll make sure you have what you need. I have a deadline I'm struggling to hit today and the 3.0.2pre2 release on Monday. I'll try to get the details to you Monday night. If you haven't heard back from me by Tuesday, let ping me via email directly. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCzs+eIR7qMdg1EfYRAvl+AJ9jXCqYbUx55reZDZ1psFjsJ1GkJQCfeKBm oDSFvgIlaS9+yUXtVCfb0Q0=L+VB -----END PGP SIGNATURE-----