NT printing
Gerald Carter
gcarter at valinux.com
Thu Jul 13 19:38:27 GMT 2000
Rajeev Agrawala wrote:
>
> 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"
Ummm...these parameters were never put into HEAD I
don't think. And they are unnecessary now as the
information is stored in a TDB file (hard coded path at
the moment).
>
> 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
Yup. I think it works ok if you disable
the security descriptor stuff in the code.
Like JF mentioned, it's now quite there yet.
Still working on it.
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.eng.auburn.edu/~cartegw
"...a hundred billion castaways looking for a home."
- Sting "Message in a Bottle" ( 1979 )
More information about the samba-ntdom
mailing list