NT printing

Rajeev Agrawala rajeeva at research.bell-labs.com
Thu Jul 13 19:12:51 GMT 2000


I compiled latest head branch code and tried adding nt printer. The
problems I faced were:

1. In the log files it complains 

  doing parameter nt forms file = /LPRng/samba/lib/nt/ntforms.def
[2000/07/13 12:00:32, 0] param/loadparm.c:map_parameter(1816)
  Unknown parameter encountered: "nt forms file"
[2000/07/13 12:00:32, 0] param/loadparm.c:lp_do_parameter(2418)
  Ignoring unknown parameter "nt forms file"
  doing parameter nt printer driver = /LPRng/samba/lib/nt
[2000/07/13 12:00:32, 0] param/loadparm.c:map_parameter(1816)
  Unknown parameter encountered: "nt printer driver"
[2000/07/13 12:00:32, 0] param/loadparm.c:lp_do_parameter(2418)
  Ignoring unknown parameter "nt printer driver"

2. When I try to add a printer, I get


User name: rajeeva      Real name: Rajeev Agrawala
Chained message
switch message SMBtconX (pid 12094)
setting sec ctx (0, 0)
Got device type IPC
ACCEPTED: validated uid ok as non-guest
Initialising default vfs hooks
Connect path is /tmp
setting sec ctx (20702, 20702)
dos_ChDir to /tmp
karma (135.104.54.43) connect to service IPC$ as user rajeeva
(uid=20702, gid=20
702) (pid 12094)
setting sec ctx (0, 0)
tconX service=ipc$ user=rajeeva
Transaction 3 of length 524
switch message SMBtrans (pid 12094)
setting sec ctx (20702, 20702)
trans <\PIPE\> data=444 params=0 setup=2
named pipe command on <> name
search for pipe pnum=7034
api_fd_reply: INVALID PIPE HANDLE: 7034
Unsupported API fd command

Thanks,

rajeev


Jean Francois Micouleau wrote:
> 
> On Fri, 14 Jul 2000, Rajeev Agrawala wrote:
> 
> > What is the status of NTprinting in samba head/samba-tng branch. I tried
> > compiling samba-tng version from cvs today, but was unable to add the
> > printer from NT machine.
> 
> the most current code is in the head branch. it has changed a lot and use
> a tdb file to store the printers and drivers informations instead of the
> ascii text files.
> 
> There are still 2 or 3 bugs we are chasing down.
> 
>         J.F.


More information about the samba-ntdom mailing list