Print Driver version recognition
Vopni, Jim
JimV at metrics.com
Fri Jul 13 12:33:58 GMT 2001
I have a question regarding how samba determines the OS version of a driver
being installed.
It is using a function called get_correct_cversion() in nt_printing.c
We have run across a number of drivers that are installed incorrectly.
Samba is recognizing
the driver as 2000 when if fact it is a NT4 driver. In all cases the
version of the Driver file
is 0.2.0.0 but the code in get_correct_cversion() does not look for this
version string.
It seems, at least with the drivers we have been using, that the NT4 drivers
are versioned
0.2.0.0 , 2000 drivers are 0.3.0.0 and the 9x drivers are 0.0.0.0 (or not
versioned)
What is/was the reason for the current version determination? Is the
version number
of the driver file not sufficient to determine what type it is? We are
putting together a patch
to install based on this version number but there may be issues that we are
not aware of.
...Jim
----------------
Jim Vopni Software Metrics
jimv at metrics.com 450 Philips St
(519) 885-2458 x222 Waterloo Ont. N2L 5J2
More information about the samba-technical
mailing list