spoolss printing with NT

Luke Kenneth Casson Leighton lkcl at samba.org
Thu May 4 02:47:05 GMT 2000


you will need specifically to log in to the nt wksta as a user that has
write-rights to the driver-directory on the samba server.

anything else is a security risk, e.g what you suggest below :)

On Thu, 4 May 2000, Michael Glauche wrote:

> Ok .. I did play around with the new spoolss code (TNG 2.5.3) and nt 4.0 :
>  I got it to work .. sort of ;)
> When I add a new Printer to the server, it installs the printer-driver in the
> print$ share, but then
> I get a:
> add_a_printer_driver_3: Cannot create driver file
> [/opt/samba-tng/lib/NTdriver_W32X86_Kyocera F-800]. Error was Keine Berechtigung
> (no right to write there)
> Ok .. changed permission to .../lib to 777 and did try again, then it worked.
> (is there a smb.conf option to change this location ?)
> I can now see the queue of the Linux-Printer (at least it seems so).
> When I now try to print a test-page (within the printer-setup) it fails.
> When I click on the new Printer in the folders "Printers" on the samba-server,
> (there
> where I can find the queue), I can add the driver for the printer to the local
> machine (works fine),
> but I can't print.
> The port (in the NT window) is set to "lp" (the name of the normal lpr printer),
> and I get
> malformed printer driver entry (no :)
> malformed printer driver entry (no :)
> write_socket_data: write failure. Error = Datenübergabe unterbrochen (broken
> pipe)
> write_socket: Error writing 32 bytes to socket 6: ERRNO = Datenübergabe
> unterbrochen (broken pipe)
> in the logfile.
> Is this suppose to work ? :) (i.e. does it make sense to look further into this
> yet ? ;) It looks very promising !
> btw .. "normal" printing works fine with 2.5.3 ... (use local port
> \\server\printer)
> TIA,
>    Michael

<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href=" http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href=" http://samba.org"      > Samba Web site                  </a>
<a href=" http://mcp.com"        > Macmillan Technical Publishing  </a>
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals

More information about the samba-ntdom mailing list