Bug 4114 - Printing problems with samba 3.0.23c and NT4
Summary: Printing problems with samba 3.0.23c and NT4
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Printing (show other bugs)
Version: 3.0.23c
Hardware: Other Windows 2000
: P3 normal
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-20 09:41 UTC by spurnelle
Modified: 2007-04-14 17:43 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description spurnelle 2006-09-20 09:41:29 UTC
As you have asked, I put a bug report about problem to print from a NT4 workstation to a printer using samba 3.0.23c

here a mail from samba@samba.org about the problem ("A. Pohl" <pohl@vegu.de>)

Hi everyone!

I have upgrade my fileserver from samba2-smbpasswd to samba3.0.23c with LDAP-PDC.
Now i can't print to the printers on that server with NT4. "net use ..." is functional, but if  I print to that printer, I get the
error - free translated from german message - "The syntax of the filename, directory name or the disc-label is wrong."

WinXP hasn't that problem.
The share is defined in this way:

[global]
...
        printing = BSD
...
[pspdf]
        path = /tmp
        printable = yes
        print command = /usr/local/bin/samba2pdf %s %U
        use client driver = yes

I have played with "use client driver", with no success.

Is the printing-support for NT4 broken?

------------------------------------------------------------------------
On my configuration I use a NT4 SP3 because the popularity of SP6 & SP6a 
is not very happy and the application that run on this server is very unimmunized

With log level 10 and user administrateur (administrator) I have : 
[2006/09/06 16:23:51, 0] smbd/nttrans.c:call_nt_transact_ioctl(2332)
  call_nt_transact_ioctl(0x90028): Currently not implemented.


I don't know if can help !
Comment 1 scott vitale 2006-10-30 14:24:50 UTC
Hello:
Your issue may be the same as the one I just spent two days trouble-shooting.  Your issue may be a "break" between the samba "print subsystem" and the underlying OS's print subsystem.  Specifically, the samba "%s" variable does not seem to be parsed to include the path to the WINDOZE print file so the file is never trasfered by the "lprng" command when the "print command =" is used.  

I upgraded from 2.7 to 3.0.6 when this broke.  

I found that if you remove all the definitions having to do with printing (like "print command =", queue control, etc.) except for "printing = xxx" and let samba use its defaults for the print system selected, then all works properly.

Hope that helps...
Comment 2 Gerald (Jerry) Carter (dead mail address) 2007-04-14 17:43:16 UTC
Cannot reproduce this.