Printing thru 2.0.3

Lawrence Doan led at unter.encoding.com
Fri Mar 26 01:19:09 GMT 1999


I have 2.0.3/FreeBSD-3.0 set up as a PDC and everything seems to work fine 
(even another 2.0.3 box using it for password auth -- once i disabled
domain logons on the slave. =) ).  I can add printers normally,
but test pages refuse to print.  Debug 100 shows that lpq is being run
on the server, and returning 0.  This seems to nonplus the client
which repeats the sequence attached.

I note from the FAQ that nt print spooling (\PIPE) does not work even in the 
HEAD branch, but that as a workaround LANMAN is used as a fallback.  Is there
something that needs to be done on the client end to ensure that this works?
Disabling spooling in the printer properties has no effect.

Thanks...

-L

[1999/03/25 16:58:29, 10] lib/util.c:dump_data(2832)
  [000] 5C 50 49 50 45 5C 4C 41  4E 4D 41 4E 00 00 00 00  \PIPE\LA NMAN....
[1999/03/25 16:58:29, 10] lib/util.c:dump_data(2840)
  [010] 00 46 00 7A 57 72 4C 68  00 7A 57 57 57 57 7A 7A  .F.zWrLh .zWWWWzz
[1999/03/25 16:58:29, 10] lib/util.c:dump_data(2840)
  [020] 7A 7A 57 57 7A 7A 6C 00  6C 65 78 6D 61 72 6B 00  zzWWzzl. lexmark.
[1999/03/25 16:58:29, 10] lib/util.c:dump_data(2840)
  [030] 03 00 00 04                                       ....
[1999/03/25 16:58:29, 3] smbd/process.c:switch_message(402)
  switch message SMBtrans (pid 6553)
[1999/03/25 16:58:29, 3] lib/doscalls.c:dos_ChDir(327)
  dos_ChDir to /usr/local/samba/lib
[1999/03/25 16:58:29, 5] smbd/uid.c:unbecome_user(295)
  unbecome_user now uid=(0,0) gid=(0,0)
[1999/03/25 16:58:29, 5] smbd/uid.c:become_user(262)
  become_user uid=(0,65534) gid=(0,65534)
[1999/03/25 16:58:29, 3] lib/doscalls.c:dos_ChDir(327)
  dos_ChDir to /tmp
[1999/03/25 16:58:29, 3] smbd/ipc.c:reply_trans(3625)
  trans <\PIPE\LANMAN> data=0 params=35 setup=0
[1999/03/25 16:58:29, 5] smbd/ipc.c:reply_trans(3637)
  calling named_pipe
[1999/03/25 16:58:29, 3] smbd/ipc.c:named_pipe(3480)
  named pipe command on <LANMAN> name
[1999/03/25 16:58:29, 3] smbd/ipc.c:api_reply(3425)
  Got API command 70 of form <zWrLh> <zWWWWzzzzWWzzl> (tdscnt=0,tpscnt=35,mdrcnt
=1024,mprcnt=6)
[1999/03/25 16:58:29, 3] smbd/ipc.c:api_reply(3430)
  Doing DosPrintQGetInfo
[1999/03/25 16:58:29, 3] smbd/ipc.c:api_DosPrintQGetInfo(818)
  PrintQueue uLevel=3 name=lexmark
[1999/03/25 16:58:29, 3] printing/printing.c:get_printqueue(1011)
  Running the command `lpq -Plexmark' gave 0
[1999/03/25 16:58:29, 6] printing/printing.c:get_printqueue(1027)
  QUEUE2: No entries
 
[1999/03/25 16:58:29, 6] printing/printing.c:get_printqueue(1027)
  QUEUE2:
 
[1999/03/25 16:58:29, 4] smbd/ipc.c:api_DosPrintQGetInfo(891)
  printqgetinfo: errorcode 0
[1999/03/25 16:58:29, 5] smbd/ipc.c:copy_trans_params_and_data(150)
  copy_trans_params_and_data: params[0..6] data[0..127]
[1999/03/25 16:58:29, 5] lib/util.c:show_msg(459)
  size=191
  smb_com=0x25
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[1999/03/25 16:58:29, 5] lib/util.c:show_msg(465)
  smb_tid=1
  smb_pid=33216
  smb_uid=101
  smb_mid=59657
  smt_wct=10
[1999/03/25 16:58:29, 5] lib/util.c:show_msg(470)
  smb_vwv[0]=6 (0x6)
[1999/03/25 16:58:29, 5] lib/util.c:show_msg(470)
  smb_vwv[1]=127 (0x7F)
[1999/03/25 16:58:29, 5] lib/util.c:show_msg(470)
  smb_vwv[2]=0 (0x0)
[1999/03/25 16:58:29, 5] lib/util.c:show_msg(470)


More information about the samba-ntdom mailing list