Fix for Win9x driver downloads when information is
commitac049f8bf348810dc068382fdbc6635a2015d36a
authorGerald Carter <jerry@samba.org>
Thu, 17 Aug 2000 20:05:05 +0000 (17 20:05 +0000)
committerGerald Carter <jerry@samba.org>
Thu, 17 Aug 2000 20:05:05 +0000 (17 20:05 +0000)
tree67c625acce5d30fecb824f4a60d521d1d7fac96d
parentb64ddbd1aaba8811641e502e96f3bbef01171f52
Fix for Win9x driver downloads when information is
stored in the TDB.  See the message I posted about
this on samba-technical

* If the admin does not desire the new NT print driver
support, nothing needs to be done.  All existing
parameters work the same.

* If the admin wants to take advantage of NT printer
driver support but does not want to migrate the 9x drivers
to the new setup, the leave the existing printers.def
file.  When smbd attempts to locate a 9x driver for the
printer in the TDB and fails it will drop down to
using the printers.def (and all associated parameters).
The make_printerdef tool will also remain for backwards
compatibility but will be moved to the "this tool is the
old way of doing it" pile.

* If the admin installs a 9x driver for a printer on
a Samba host (in the printing TDB), this information will
take precedence and the three old printing parameters
will be ignored (including print driver location).

* If an admin wants to migrate the printers.def file into
the new setup, I can write a script to do this using
rpcclient.  The main problem is the driver namespace
(we need the NT driver name first in order to
be consistent).

jerry
source/smbd/lanman.c