Bug in NT-Printer Driver Uploading to samba-2.2.0alpha0?

gcarter at valinux.com gcarter at valinux.com
Fri Oct 27 13:33:00 GMT 2000


Moved to Samba technical....
[bcc'd to the main samba list]



michael.kappler at primedisc.com wrote:
> 
> Now, when I try to upload the Windows NT printer drivers 
> from the client to the samba server using the "add 
> printer wizard", the copying of the required driver files 
> starts and all the *.dll etc. are copyied to the \\print$\w32x86
> directory. But I get an error message saying "Unable 
> to change to the specified driver. Original settings will 
> be restored" just after all the needed files are copyied 
> to samba.

Are you connectd to the server as a root account?  The 
messages makes me think the connected account did not have 
write access to the ntdrivers.tdb file.

> My Qustion: is this a bug? I think there is something like 
> a "database", where Windows NT server stores the 
> information, which drivers are already installes on it. Is 
> there a comparable file on the samba?

/usr/local/samba/var/locks/ntdrivers.tdb

> It looks like after copying the drivers to samba, it 
> tries to register the installed driver in a file, which 
> does not exist on my samba box. It seems, that the 
> "add printer wizard" can not locate which driver files 
> to use for the printer and cancels with an error.

I think you have diagnosed it correctly. See above comments
about possible causes.






Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )




More information about the samba-technical mailing list