adddriver spoolss woes

Benjamin Kuit bj at it.uts.edu.au
Sat Dec 29 05:42:06 GMT 2001


I'm trying to get some spoolss functionality working on my samba cvs
test server, running on a solaris8 box.

I'm using the following command within an rpcclient, it's an example
given in a comment in imprints code:

adddriver "Windows NT x86" "HP LaserJet 4000 Series PS:PSCRIPT.DLL:HP4000_6.PPD:PSCRPTUI.DLL:PSCRIPT.HLP:NULL:RAW:hp4000_6.ppd,pscrptui.dll,pscript.hlp,pscript.dll"

The files in question are already copied to print$/W32X86, and I'm
connecting via 'root'.

This is some of the weird stuff I've been getting:
* I get "result was NT_STATUS_NO_SUCH_DEVICE", with debug messages
saying:
printing/nt_printing.c:move_driver_to_download_area(1456)
  move_driver_to_download_area: Unable to rename [W32X86/_] to [W32X86/-1/_]

but if I have smb.conf: debug level 3 (or higher), I get a different
response: "result was NT code 0xe36f6d6d"
with no further debug messages on why the driver move failed.

* While working out why smbd is trying to move files into "W32X86/-1",
I've found that driver->cversion=2 until clean_up_driver_struct_level_3
calls "get_file_cversion" via "get_correct_cversion", and
get_file_cversion fails with "Version info not found [W32X86/pscript.dll]".

It appears that smbd expects all the dll's to begin with "MZ", while the
drivers I got from the NT workstation install disk have pscript.dll
starting with "MS" (MSCF).

* While working out why smbd is trying to rename W32X86/_, I've found
that all 4 entries in driver->dependentfiles are "_", instead of
"pscrptui.dll" and etc. There seems to be a byte offset problem here,
as this the result of me running "grep 'buffer.*:' thing.log":

0064 buffer     : H.P. .L.a.s.e.r.J.e.t. .4.0.0.0. .S.e.r.i.e.s. .P.S...
00a8 buffer     : W.i.n.d.o.w.s. .N.T. .x.8.6...
00d4 buffer     : P.S.C.R.I.P.T...D.L.L...
00f8 buffer     : H.P.4.0.0.0._.6...P.P.D...
0120 buffer     : P.S.C.R.P.T.U.I...D.L.L...
0148 buffer     : P.S.C.R.I.P.T...H.L.P...
016c buffer     : R.A.W...
0178 buffer: .h.p.4.0.0.0._.6...p.p.d...p.s.c.r.p.t.u.i...d.l.l...p.s.c.r.i.p.t...h.l.p...p.s.c.r.i.p.t...d.l.l....

These are debug(5,(..)) messages from
rpc_parse/parse_prs.c:dbg_rw_punival(720).

The log file is included.

WAAAYYY too much debugging for this time of year =)
Happy Christmas and Happy New Year to all =)

Bj

-- 
+-------------------------------+--------------------------------------+
|      Benjamin (Bj) Kuit       |  Building 4, 447                     |
|      Systems Programmer       |  Faculty of Information Technology   |
|      Phone: 02 9514 1841      |  University of Technology, Sydney    |
|      Mobile: 0416 184 972     |  Email: bj at it.uts.edu.au             |
+-------------------------------+--------------------------------------+
-------------- next part --------------
[2001/12/29 23:51:50, 10] rpc_server/srv_pipe_hnd.c:process_incoming_data(643)
  process_incoming_data: Start: pdu_received_len = 0, pdu_needed_len = 486, incoming data = 486
[2001/12/29 23:51:50, 10] rpc_server/srv_pipe_hnd.c:process_complete_pdu(588)
  process_complete_pdu: processing packet type 0
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_debug(60)
  000000 smb_io_rpc_hdr_req req
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
      0000 alloc_hint: 000001e6
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint16(519)
      0004 context_id: 0000
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint16(519)
      0006 opnum     : 0009
[2001/12/29 23:51:50, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(416)
  free_pipe_context: destroying talloc pool of size 0
[2001/12/29 23:51:50, 3] rpc_server/srv_pipe.c:api_pipe_request(1148)
  Doing \PIPE\spoolss
[2001/12/29 23:51:50, 4] rpc_server/srv_pipe.c:api_rpcTNP(1173)
  api_rpcTNP: api_spoolss_rpc op 0x9 - api_rpcTNP: rpc command: SPOOLSS_ADDPRINTERDRIVER
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_debug(60)
  000000 spoolss_io_q_addprinterdriver 
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
      0000 server_name_ptr: 00000001
[2001/12/29 23:51:50, 6] rpc_parse/parse_prs.c:prs_debug(60)
      000004 smb_io_unistr2 server_name
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
          0004 uni_max_len: 00000008
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
          0008 undoc      : 00000000
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
          000c uni_str_len: 00000008
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:dbg_rw_punival(720)
          0010 buffer     : \.\.T.H.I.N.G...
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
      0020 info_level: 00000003
[2001/12/29 23:51:50, 6] rpc_parse/parse_prs.c:prs_debug(60)
      000024 spool_io_printer_driver_info_level 
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
          0024 level: 00000003
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
          0028 ptr: 00000001
[2001/12/29 23:51:50, 7] rpc_parse/parse_prs.c:prs_debug(60)
          00002c spool_io_printer_driver_info_level_3 
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
              002c cversion: 00000002
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
              0030 name: 00000001
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
              0034 environment: 00000001
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
              0038 driverpath: 00000001
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
              003c datafile: 00000001
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
              0040 configfile: 00000001
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
              0044 helpfile: 00000001
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
              0048 monitorname: 00000000
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
              004c defaultdatatype: 00000001
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
              0050 dependentfilessize: 00000033
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
              0054 dependentfiles: 00000001
[2001/12/29 23:51:50, 8] rpc_parse/parse_prs.c:prs_debug(60)
              000058 smb_io_unistr2 name
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  0058 uni_max_len: 0000001b
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  005c undoc      : 00000000
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  0060 uni_str_len: 0000001b
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:dbg_rw_punival(720)
                  0064 buffer     : H.P. .L.a.s.e.r.J.e.t. .4.0.0.0. .S.e.r.i.e.s. .P.S...
[2001/12/29 23:51:50, 8] rpc_parse/parse_prs.c:prs_debug(60)
              00009a smb_io_unistr2 environment
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  009c uni_max_len: 0000000f
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  00a0 undoc      : 00000000
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  00a4 uni_str_len: 0000000f
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:dbg_rw_punival(720)
                  00a8 buffer     : W.i.n.d.o.w.s. .N.T. .x.8.6...
[2001/12/29 23:51:50, 8] rpc_parse/parse_prs.c:prs_debug(60)
              0000c6 smb_io_unistr2 driverpath
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  00c8 uni_max_len: 0000000c
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  00cc undoc      : 00000000
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  00d0 uni_str_len: 0000000c
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:dbg_rw_punival(720)
                  00d4 buffer     : P.S.C.R.I.P.T...D.L.L...
[2001/12/29 23:51:50, 8] rpc_parse/parse_prs.c:prs_debug(60)
              0000ec smb_io_unistr2 datafile
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  00ec uni_max_len: 0000000d
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  00f0 undoc      : 00000000
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  00f4 uni_str_len: 0000000d
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:dbg_rw_punival(720)
                  00f8 buffer     : H.P.4.0.0.0._.6...P.P.D...
[2001/12/29 23:51:50, 8] rpc_parse/parse_prs.c:prs_debug(60)
              000112 smb_io_unistr2 configfile
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  0114 uni_max_len: 0000000d
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  0118 undoc      : 00000000
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  011c uni_str_len: 0000000d
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:dbg_rw_punival(720)
                  0120 buffer     : P.S.C.R.P.T.U.I...D.L.L...
[2001/12/29 23:51:50, 8] rpc_parse/parse_prs.c:prs_debug(60)
              00013a smb_io_unistr2 helpfile
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  013c uni_max_len: 0000000c
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  0140 undoc      : 00000000
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  0144 uni_str_len: 0000000c
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:dbg_rw_punival(720)
                  0148 buffer     : P.S.C.R.I.P.T...H.L.P...
[2001/12/29 23:51:50, 8] rpc_parse/parse_prs.c:prs_debug(60)
              000160 smb_io_unistr2 - NULL monitorname
[2001/12/29 23:51:50, 8] rpc_parse/parse_prs.c:prs_debug(60)
              000160 smb_io_unistr2 defaultdatatype
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  0160 uni_max_len: 00000004
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  0164 undoc      : 00000000
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  0168 uni_str_len: 00000004
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:dbg_rw_punival(720)
                  016c buffer     : R.A.W...
[2001/12/29 23:51:50, 8] rpc_parse/parse_prs.c:prs_debug(60)
              000174 smb_io_buffer5 
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_uint32(548)
                  0174 buf_len: 00000033
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:dbg_rw_punival(720)
                  0178 buffer: .h.p.4.0.0.0._.6...p.p.d...p.s.c.r.p.t.u.i...d.l.l...p.s.c.r.i.p.t...h.l.p...p.s.c.r.i.p.t...d.l.l....
[2001/12/29 23:51:50, 7] rpc_parse/parse_spoolss.c:uni_2_asc_printer_driver_3(5008)
  uni_2_asc_printer_driver_3: Converting from UNICODE to ASCII
  version:         2
  name:            HP LaserJet 4000 Series PS
  environment:     Windows NT x86
  driverpath:      PSCRIPT.DLL
  datafile:        HP4000_6.PPD
  configfile:      PSCRPTUI.DLL
  helpfile:        PSCRIPT.HLP
  monitorname:     
  defaultdatatype: RAW
[2001/12/29 23:51:50, 5] rpc_server/srv_spoolss_nt.c:_spoolss_addprinterdriver(5872)
  Cleaning driver's information
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:push_sec_ctx(281)
  push_sec_ctx(0, 1) : sec_ctx_stack_ndx = 1
[2001/12/29 23:51:50, 3] smbd/uid.c:push_conn_ctx(284)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2001/12/29 23:51:50, 0] printing/nt_printing.c:get_correct_cversion(964)
  get_correct_cversion: uid 0 -> user root
[2001/12/29 23:51:50, 10] lib/access.c:check_access(288)
  check_access: allow = , deny = 
[2001/12/29 23:51:50, 10] lib/username.c:user_in_list(433)
  user_in_list: checking user root in list 
[2001/12/29 23:51:50, 3] smbd/password.c:authorise_login(744)
  authorise_login: ACCEPTED: validated uid ok as non-guest (user=root)
[2001/12/29 23:51:50, 10] lib/username.c:user_in_list(433)
  user_in_list: checking user root in list 
[2001/12/29 23:51:50, 10] lib/username.c:user_in_list(433)
  user_in_list: checking user root in list @ntadmin,root
[2001/12/29 23:51:50, 10] lib/username.c:user_in_list(437)
  user_in_list: checking user |root| in group |@ntadmin|
[2001/12/29 23:51:50, 5] lib/username.c:user_in_netgroup_list(285)
  looking for user root of domain staff.secure in netgroup ntadmin
[2001/12/29 23:51:50, 5] lib/username.c:user_in_netgroup_list(287)
  innetgr is False
[2001/12/29 23:51:50, 10] lib/username.c:user_in_unix_group_list(372)
  user_in_unix_group_list: checking user root in group ntadmin
[2001/12/29 23:51:50, 10] lib/username.c:user_in_unix_group_list(388)
  user_in_unix_group_list: no such group ntadmin
[2001/12/29 23:51:50, 10] lib/username.c:user_in_list(437)
  user_in_list: checking user |root| in group |root|
[2001/12/29 23:51:50, 10] lib/username.c:user_in_list(433)
  user_in_list: checking user root in list 
[2001/12/29 23:51:50, 3] smbd/service.c:make_connection(488)
  Connect path is /opt/Samba/printers
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:push_sec_ctx(281)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2001/12/29 23:51:50, 3] smbd/uid.c:push_conn_ctx(284)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:get_current_groups(162)
  get_current_groups: user is in 12 groups: 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 12, 14
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:pop_sec_ctx(420)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:get_current_groups(162)
  get_current_groups: user is in 12 groups: 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 12, 14
[2001/12/29 23:51:50, 5] smbd/connection.c:claim_connection(156)
  claiming print$ 0
[2001/12/29 23:51:50, 10] smbd/uid.c:uid_to_sid(569)
  uid_to_sid: local 0 -> S-1-5-21-2627444268-2835940792-129966478-1000
[2001/12/29 23:51:50, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 1 -> S-1-5-21-2627444268-2835940792-129966478-1003
[2001/12/29 23:51:50, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 0 -> S-1-5-21-2627444268-2835940792-129966478-1001
[2001/12/29 23:51:50, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 2 -> S-1-5-21-2627444268-2835940792-129966478-1005
[2001/12/29 23:51:50, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 3 -> S-1-5-21-2627444268-2835940792-129966478-1007
[2001/12/29 23:51:50, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 4 -> S-1-5-21-2627444268-2835940792-129966478-1009
[2001/12/29 23:51:50, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 5 -> S-1-5-21-2627444268-2835940792-129966478-1011
[2001/12/29 23:51:50, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 6 -> S-1-5-21-2627444268-2835940792-129966478-1013
[2001/12/29 23:51:50, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 7 -> S-1-5-21-2627444268-2835940792-129966478-1015
[2001/12/29 23:51:50, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 8 -> S-1-5-21-2627444268-2835940792-129966478-1017
[2001/12/29 23:51:50, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 9 -> S-1-5-21-2627444268-2835940792-129966478-1019
[2001/12/29 23:51:50, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 12 -> S-1-5-21-2627444268-2835940792-129966478-1025
[2001/12/29 23:51:50, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 14 -> S-1-5-21-2627444268-2835940792-129966478-1029
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-21-2627444268-2835940792-129966478-1000
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-21-2627444268-2835940792-129966478-1003
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-21-2627444268-2835940792-129966478-1001
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-21-2627444268-2835940792-129966478-1005
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-21-2627444268-2835940792-129966478-1007
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-21-2627444268-2835940792-129966478-1009
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-21-2627444268-2835940792-129966478-1011
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-21-2627444268-2835940792-129966478-1013
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-21-2627444268-2835940792-129966478-1015
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-21-2627444268-2835940792-129966478-1017
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-21-2627444268-2835940792-129966478-1019
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-21-2627444268-2835940792-129966478-1025
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-21-2627444268-2835940792-129966478-1029
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-1-0
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-2
[2001/12/29 23:51:50, 5] smbd/password.c:create_nt_token(254)
  user token sid S-1-5-11
[2001/12/29 23:51:50, 4] rpc_server/srv_srvsvc_nt.c:get_share_security(199)
  get_share_security: using default secdesc for print$
[2001/12/29 23:51:50, 10] lib/util_seaccess.c:se_map_generic(192)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2001/12/29 23:51:50, 10] lib/util_seaccess.c:se_access_check(224)
  se_access_check: requested access 2, for  NT token with 16 entries and first sid S-1-5-21-2627444268-2835940792-129966478-1000.
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(244)
  se_access_check: user sid is S-1-5-21-2627444268-2835940792-129966478-1000
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-5-21-2627444268-2835940792-129966478-1003
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-5-21-2627444268-2835940792-129966478-1001
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-5-21-2627444268-2835940792-129966478-1005
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-5-21-2627444268-2835940792-129966478-1007
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-5-21-2627444268-2835940792-129966478-1009
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-5-21-2627444268-2835940792-129966478-1011
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-5-21-2627444268-2835940792-129966478-1013
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-5-21-2627444268-2835940792-129966478-1015
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-5-21-2627444268-2835940792-129966478-1017
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-5-21-2627444268-2835940792-129966478-1019
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-5-21-2627444268-2835940792-129966478-1025
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-5-21-2627444268-2835940792-129966478-1029
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-1-0
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-5-2
[2001/12/29 23:51:50, 3] lib/util_seaccess.c:se_access_check(247)
  se_access_check: also S-1-5-11
[2001/12/29 23:51:50, 10] lib/util_seaccess.c:se_access_check(278)
  se_access_check: ACE 0: type 0, flags = 0x00, SID = S-1-1-0 mask = 101f01ff, current desired = 2
[2001/12/29 23:51:50, 5] lib/util_seaccess.c:se_access_check(300)
  se_access_check: access (2) granted.
[2001/12/29 23:51:50, 3] smbd/vfs.c:vfs_init_default(96)
  Initialising default vfs hooks
[2001/12/29 23:51:50, 10] lib/username.c:user_in_list(433)
  user_in_list: checking user root in list 
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 1) - sec_ctx_stack_ndx = 1
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:set_sec_ctx(319)
  12 user groups: 
  1 0 2 3 4 5 6 7 8 9 12 14 
[2001/12/29 23:51:50, 5] smbd/uid.c:change_to_user(200)
  change_to_user uid=(0,0) gid=(0,1)
[2001/12/29 23:51:50, 3] smbd/vfs.c:vfs_ChDir(641)
  vfs_ChDir to /opt/Samba/printers
[2001/12/29 23:51:50, 1] smbd/service.c:make_connection(619)
  thing (138.25.8.68) connect to service print$ as user root (uid=0, gid=1) (pid 645)
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2001/12/29 23:51:50, 5] smbd/uid.c:change_to_root_user(215)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:pop_sec_ctx(420)
  pop_sec_ctx (0, 1) - sec_ctx_stack_ndx = 0
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:push_sec_ctx(281)
  push_sec_ctx(0, 1) : sec_ctx_stack_ndx = 1
[2001/12/29 23:51:50, 3] smbd/uid.c:push_conn_ctx(284)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 1) - sec_ctx_stack_ndx = 1
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:set_sec_ctx(319)
  12 user groups: 
  1 0 2 3 4 5 6 7 8 9 12 14 
[2001/12/29 23:51:50, 5] smbd/uid.c:change_to_user(200)
  change_to_user uid=(0,0) gid=(0,1)
[2001/12/29 23:51:50, 5] smbd/filename.c:unix_convert(145)
  unix_convert called on file "W32X86/PSCRIPT.DLL"
[2001/12/29 23:51:50, 3] lib/util.c:unix_clean_name(391)
  unix_clean_name [W32X86/PSCRIPT.DLL]
[2001/12/29 23:51:50, 5] smbd/mangle.c:is_8_3(337)
  Checking PSCRIPT.DLL for 8.3
[2001/12/29 23:51:50, 5] smbd/filename.c:unix_convert(220)
  unix_convert begin: name = W32X86/PSCRIPT.DLL, dirpath = , start = W32X86/PSCRIPT.DLL
[2001/12/29 23:51:50, 5] smbd/statcache.c:stat_cache_add(132)
  stat_cache_add: Added entry W32X86 -> W32X86
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: .
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: ..
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: a_pnt518.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: aplwcob1.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: aptolld1.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: hp4500.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: lwnt_470.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: dpl15804.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: efxjc3a4.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: hp4plus6.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: hp4si3_1.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: hp4si6_1.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: hp8100_6.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: hp__clj1.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: hpdcmon.dll
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: hplj5si1.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: hp4000_6.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: xrdt1354.ppd
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: pscript.dll
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: pscript.hlp
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: pscrptui.dll
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( a_pnt518.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [a_pnt518.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( aplwcob1.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [aplwcob1.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( aptolld1.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [aptolld1.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( hp4500.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [hp4500.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( lwnt_470.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [lwnt_470.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( dpl15804.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [dpl15804.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( efxjc3a4.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [efxjc3a4.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( hp4plus6.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [hp4plus6.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( hp4si3_1.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [hp4si3_1.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( hp4si6_1.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [hp4si6_1.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( hp8100_6.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [hp8100_6.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( hp__clj1.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [hp__clj1.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( hpdcmon.dll, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [hpdcmon.dll]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( hplj5si1.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [hplj5si1.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( hp4000_6.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [hp4000_6.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( xrdt1354.ppd, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [xrdt1354.ppd]
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( pscript.dll, need83 = False, cache83 = True, 6 )
[2001/12/29 23:51:50, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [pscript.dll]
[2001/12/29 23:51:50, 5] smbd/statcache.c:stat_cache_add(132)
  stat_cache_add: Added entry W32X86/PSCRIPT.DLL -> W32X86/pscript.dll
[2001/12/29 23:51:50, 5] smbd/filename.c:unix_convert(409)
  conversion finished W32X86/PSCRIPT.DLL -> W32X86/pscript.dll
[2001/12/29 23:51:50, 5] smbd/files.c:file_new(120)
  allocated file structure 947, fnum = 5043 (1 used)
[2001/12/29 23:51:50, 10] smbd/open.c:open_file_shared(647)
  open_file_shared: fname = W32X86/pscript.dll, share_mode = 0, ofun = 1, mode = 0, oplock request = 0
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1108)
  is_in_path: W32X86/pscript.dll
[2001/12/29 23:51:50, 8] lib/util.c:is_in_path(1113)
  is_in_path: no name list.
[2001/12/29 23:51:50, 3] lib/util.c:unix_clean_name(391)
  unix_clean_name [W32X86/pscript.dll]
[2001/12/29 23:51:50, 4] smbd/open.c:open_file_shared(776)
  calling open_file with flags=0x0 flags2=0x0 mode=00
[2001/12/29 23:51:50, 10] smbd/open.c:fd_open(50)
  fd_open: name W32X86/pscript.dll, flags = 0200 mode = 00, fd = 26. 
[2001/12/29 23:51:50, 2] smbd/open.c:open_file(211)
  ROOT opened file W32X86/pscript.dll read=Yes write=No (numopen=1)
[2001/12/29 23:51:50, 10] smbd/open.c:open_file_shared(878)
  open_file_shared : share_mode = 0
[2001/12/29 23:51:50, 0] printing/nt_printing.c:get_file_version(602)
  get_file_version: File [W32X86/pscript.dll] bad DOS magic = 0x534d
[2001/12/29 23:51:50, 0] printing/nt_printing.c:get_correct_cversion(1007)
  get_correct_cversion: Version info not found [W32X86/pscript.dll]
[2001/12/29 23:51:50, 10] locking/locking.c:del_share_entry(534)
  del_share_entry: num_share_modes = 1
[2001/12/29 23:51:50, 10] locking/locking.c:del_share_entry(545)
  del_share_entry: deleting entry 0
[2001/12/29 23:51:50, 10] smbd/close.c:close_normal_file(151)
  close_normal_file: share_entry_count = 0 for file W32X86/pscript.dll
[2001/12/29 23:51:50, 10] locking/posix.c:posix_locking_close_file(1245)
  posix_locking_close_file: file W32X86/pscript.dll has no outstanding locks.
[2001/12/29 23:51:50, 2] smbd/close.c:close_normal_file(210)
  root closed file W32X86/pscript.dll (numopen=0) 
[2001/12/29 23:51:50, 5] smbd/files.c:file_free(338)
  freed files structure 5043 (0 used)
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2001/12/29 23:51:50, 5] smbd/uid.c:change_to_root_user(215)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2001/12/29 23:51:50, 1] smbd/service.c:close_cnum(657)
  thing (138.25.8.68) closed connection to service print$
[2001/12/29 23:51:50, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to print$
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2001/12/29 23:51:50, 5] smbd/uid.c:change_to_root_user(215)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2001/12/29 23:51:50, 3] smbd/sec_ctx.c:pop_sec_ctx(420)
  pop_sec_ctx (0, 1) - sec_ctx_stack_ndx = 0
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_debug(60)
  000000 spoolss_io_r_addprinterdriver 
[2001/12/29 23:51:50, 5] rpc_parse/parse_prs.c:prs_werror(607)
      0000 status: WIN32 code 0x001cfbc0
[2001/12/29 23:51:50, 5] rpc_server/srv_pipe.c:api_rpcTNP(1211)
  api_rpcTNP: called api_spoolss_rpc successfully


More information about the samba-technical mailing list