[Samba] rpcclient problem

Dan Ros dan at stmh.org.uk
Mon Oct 21 23:40:06 GMT 2002


Hello all,

I have been struggling with a problem with rpcclient for a while now. 

The problem is this:

I am trying to add a cups printer to samba using cupsaddsmb. After much
persuading, i've got it to the point where it mostly works:

----------
Output of cupsaddsmb:

[other cups stuff]

Running command: rpcclient localhost -N -U'root%pass' -c 'adddriver
"Windows NT x86"
"HP990C:ADOBEPS5.DLL:HP990C.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"'
Printer Driver HP990C successfully installed.

Running command: rpcclient localhost -N -U'root%pass' -c 'adddriver
"Windows 4.0"
"HP990C:ADOBEPS4.DRV:HP990C.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"'
Printer Driver HP990C successfully installed.

Running command: rpcclient localhost -N -U'root%pass' -c 'setdriver
HP990C HP990C'
SetPrinter call failed!
result was NT_STATUS_UNSUCCESSFUL
---------------

I've attached a rpcclient debug (10) of that last command. I'm running
debian samba 2.999+3.0.alpha20-1 with cupsys_1.1.15-4.

Can anyone shed any light on this?

-- 
dan at stmh.org.uk http://users.aber.ac.uk/ddr1/
3ffe:b80:2:cae8::2 - irc6

-------------- next part --------------
Serverzone is 0
Adding chars 0x0 0x0 (l->u = False) (u->l = False)
Adding chars 0x21 0x0 (l->u = False) (u->l = False)
Adding chars 0x23 0x0 (l->u = False) (u->l = False)
Adding chars 0x24 0x0 (l->u = False) (u->l = False)
Adding chars 0x25 0x0 (l->u = False) (u->l = False)
Adding chars 0x26 0x0 (l->u = False) (u->l = False)
Adding chars 0x27 0x0 (l->u = False) (u->l = False)
Adding chars 0x28 0x0 (l->u = False) (u->l = False)
Adding chars 0x29 0x0 (l->u = False) (u->l = False)
Adding chars 0x2d 0x0 (l->u = False) (u->l = False)
Adding chars 0x2e 0x0 (l->u = False) (u->l = False)
Adding chars 0x30 0x0 (l->u = False) (u->l = False)
Adding chars 0x31 0x0 (l->u = False) (u->l = False)
Adding chars 0x32 0x0 (l->u = False) (u->l = False)
Adding chars 0x33 0x0 (l->u = False) (u->l = False)
Adding chars 0x34 0x0 (l->u = False) (u->l = False)
Adding chars 0x35 0x0 (l->u = False) (u->l = False)
Adding chars 0x36 0x0 (l->u = False) (u->l = False)
Adding chars 0x37 0x0 (l->u = False) (u->l = False)
Adding chars 0x38 0x0 (l->u = False) (u->l = False)
Adding chars 0x39 0x0 (l->u = False) (u->l = False)
Adding chars 0x40 0x0 (l->u = False) (u->l = False)
Adding chars 0x41 0x0 (l->u = False) (u->l = False)
Adding chars 0x42 0x0 (l->u = False) (u->l = False)
Adding chars 0x43 0x0 (l->u = False) (u->l = False)
Adding chars 0x44 0x0 (l->u = False) (u->l = False)
Adding chars 0x45 0x0 (l->u = False) (u->l = False)
Adding chars 0x46 0x0 (l->u = False) (u->l = False)
Adding chars 0x47 0x0 (l->u = False) (u->l = False)
Adding chars 0x48 0x0 (l->u = False) (u->l = False)
Adding chars 0x49 0x0 (l->u = False) (u->l = False)
Adding chars 0x4a 0x0 (l->u = False) (u->l = False)
Adding chars 0x4b 0x0 (l->u = False) (u->l = False)
Adding chars 0x4c 0x0 (l->u = False) (u->l = False)
Adding chars 0x4d 0x0 (l->u = False) (u->l = False)
Adding chars 0x4e 0x0 (l->u = False) (u->l = False)
Adding chars 0x4f 0x0 (l->u = False) (u->l = False)
Adding chars 0x50 0x0 (l->u = False) (u->l = False)
Adding chars 0x51 0x0 (l->u = False) (u->l = False)
Adding chars 0x52 0x0 (l->u = False) (u->l = False)
Adding chars 0x53 0x0 (l->u = False) (u->l = False)
Adding chars 0x54 0x0 (l->u = False) (u->l = False)
Adding chars 0x55 0x0 (l->u = False) (u->l = False)
Adding chars 0x56 0x0 (l->u = False) (u->l = False)
Adding chars 0x57 0x0 (l->u = False) (u->l = False)
Adding chars 0x58 0x0 (l->u = False) (u->l = False)
Adding chars 0x59 0x0 (l->u = False) (u->l = False)
Adding chars 0x5a 0x0 (l->u = False) (u->l = False)
Adding chars 0x5e 0x0 (l->u = False) (u->l = False)
Adding chars 0x5f 0x0 (l->u = False) (u->l = False)
Adding chars 0x60 0x0 (l->u = False) (u->l = False)
Adding chars 0x61 0x0 (l->u = False) (u->l = False)
Adding chars 0x62 0x0 (l->u = False) (u->l = False)
Adding chars 0x63 0x0 (l->u = False) (u->l = False)
Adding chars 0x64 0x0 (l->u = False) (u->l = False)
Adding chars 0x65 0x0 (l->u = False) (u->l = False)
Adding chars 0x66 0x0 (l->u = False) (u->l = False)
Adding chars 0x67 0x0 (l->u = False) (u->l = False)
Adding chars 0x68 0x0 (l->u = False) (u->l = False)
Adding chars 0x69 0x0 (l->u = False) (u->l = False)
Adding chars 0x6a 0x0 (l->u = False) (u->l = False)
Adding chars 0x6b 0x0 (l->u = False) (u->l = False)
Adding chars 0x6c 0x0 (l->u = False) (u->l = False)
Adding chars 0x6d 0x0 (l->u = False) (u->l = False)
Adding chars 0x6e 0x0 (l->u = False) (u->l = False)
Adding chars 0x6f 0x0 (l->u = False) (u->l = False)
Adding chars 0x70 0x0 (l->u = False) (u->l = False)
Adding chars 0x71 0x0 (l->u = False) (u->l = False)
Adding chars 0x72 0x0 (l->u = False) (u->l = False)
Adding chars 0x73 0x0 (l->u = False) (u->l = False)
Adding chars 0x74 0x0 (l->u = False) (u->l = False)
Adding chars 0x75 0x0 (l->u = False) (u->l = False)
Adding chars 0x76 0x0 (l->u = False) (u->l = False)
Adding chars 0x77 0x0 (l->u = False) (u->l = False)
Adding chars 0x78 0x0 (l->u = False) (u->l = False)
Adding chars 0x79 0x0 (l->u = False) (u->l = False)
Adding chars 0x7a 0x0 (l->u = False) (u->l = False)
Adding chars 0x7b 0x0 (l->u = False) (u->l = False)
Adding chars 0x7d 0x0 (l->u = False) (u->l = False)
Adding chars 0x7e 0x0 (l->u = False) (u->l = False)
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter workgroup = EDUCATION
doing parameter server string = %h server (Samba %v)
doing parameter load printers = yes
doing parameter printing = cups
doing parameter printcap = cups
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 1000
doing parameter syslog = 9
doing parameter security = user
doing parameter encrypt passwords = true
doing parameter passdb backend = tdbsam unixsam
Unknown parameter encountered: "passdb backend"
Ignoring unknown parameter "passdb backend"
doing parameter socket options = TCP_NODELAY
doing parameter interfaces = eth*
doing parameter dns proxy = no
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
doing parameter obey pam restrictions = yes
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: ROLE_STANDALONE
codepage_initialise: client code page = 850
load_client_codepage: loading codepage 850.
Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
Adding chars 0xa0 0xb5 (l->u = True) (u->l = True)
Adding chars 0x83 0xb6 (l->u = True) (u->l = True)
Adding chars 0xc6 0xc7 (l->u = True) (u->l = True)
Adding chars 0x84 0x8e (l->u = True) (u->l = True)
Adding chars 0x86 0x8f (l->u = True) (u->l = True)
Adding chars 0x91 0x92 (l->u = True) (u->l = True)
Adding chars 0x87 0x80 (l->u = True) (u->l = True)
Adding chars 0x8a 0xd4 (l->u = True) (u->l = True)
Adding chars 0x82 0x90 (l->u = True) (u->l = True)
Adding chars 0x88 0xd2 (l->u = True) (u->l = True)
Adding chars 0x89 0xd3 (l->u = True) (u->l = True)
Adding chars 0x8d 0xde (l->u = True) (u->l = True)
Adding chars 0xa1 0xd6 (l->u = True) (u->l = True)
Adding chars 0x8c 0xd7 (l->u = True) (u->l = True)
Adding chars 0x8b 0xd8 (l->u = True) (u->l = True)
Adding chars 0xd0 0xd1 (l->u = True) (u->l = True)
Adding chars 0xa4 0xa5 (l->u = True) (u->l = True)
Adding chars 0x95 0xe3 (l->u = True) (u->l = True)
Adding chars 0xa2 0xe0 (l->u = True) (u->l = True)
Adding chars 0x93 0xe2 (l->u = True) (u->l = True)
Adding chars 0xe4 0xe5 (l->u = True) (u->l = True)
Adding chars 0x94 0x99 (l->u = True) (u->l = True)
Adding chars 0x9b 0x9d (l->u = True) (u->l = True)
Adding chars 0x97 0xeb (l->u = True) (u->l = True)
Adding chars 0xa3 0xe9 (l->u = True) (u->l = True)
Adding chars 0x96 0xea (l->u = True) (u->l = True)
Adding chars 0x81 0x9a (l->u = True) (u->l = True)
Adding chars 0xec 0xed (l->u = True) (u->l = True)
Adding chars 0xe7 0xe8 (l->u = True) (u->l = True)
Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
load_dos_unicode_map: 850
load_unicode_map: loading unicode map for codepage 850.
load_unix_unicode_map: ISO8859-1 (init_done=0, override=0)
load_unicode_map: loading unicode map for codepage ISO8859-1.
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=213.208.91.42 bcast=213.208.91.47 nmask=255.255.255.248
resolve_lmhosts: Attempting lmhosts lookup for name localhost<0x20>
startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error was No such file or directory
resolve_hosts: Attempting host lookup for name localhost<0x20>
1 addresses returned
internal_resolve_name: returning 1 addresses: 127.0.0.1 
Connecting to host=localhost share=IPC$
Connecting to 127.0.0.1 at port 445
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 50340
socket option SO_RCVBUF = 87378
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
write_socket(3,168)
write_socket(3,168) wrote 168
got smb length of 97
size=97
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=18433
smb_tid=0
smb_pid=10709
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=6 (0x6)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=54784 (0xD600)
smb_vwv[8]=41 (0x29)
smb_vwv[9]=64768 (0xFD00)
smb_vwv[10]=227 (0xE3)
smb_vwv[11]=32768 (0x8000)
smb_vwv[12]=61942 (0xF1F6)
smb_vwv[13]=63760 (0xF910)
smb_vwv[14]=49774 (0xC26E)
smb_vwv[15]=1 (0x1)
smb_vwv[16]=2048 (0x800)
smb_bcc=28
[000] A0 65 EB 89 27 3B 5A BB  45 00 44 00 55 00 43 00  .e..';Z. E.D.U.C.
[010] 41 00 54 00 49 00 4F 00  4E 00 00 00              A.T.I.O. N...
size=97
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=18433
smb_tid=0
smb_pid=10709
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=6 (0x6)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=54784 (0xD600)
smb_vwv[8]=41 (0x29)
smb_vwv[9]=64768 (0xFD00)
smb_vwv[10]=227 (0xE3)
smb_vwv[11]=32768 (0x8000)
smb_vwv[12]=61942 (0xF1F6)
smb_vwv[13]=63760 (0xF910)
smb_vwv[14]=49774 (0xC26E)
smb_vwv[15]=1 (0x1)
smb_vwv[16]=2048 (0x800)
smb_bcc=28
[000] A0 65 EB 89 27 3B 5A BB  45 00 44 00 55 00 43 00  .e..';Z. E.D.U.C.
[010] 41 00 54 00 49 00 4F 00  4E 00 00 00              A.T.I.O. N...
write_socket(3,150)
write_socket(3,150) wrote 150
got smb length of 84
size=84
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_bcc=43
[000] 00 55 00 6E 00 69 00 78  00 00 00 53 00 61 00 6D  .U.n.i.x ...S.a.m
[010] 00 62 00 61 00 00 00 45  00 44 00 55 00 43 00 41  .b.a...E .D.U.C.A
[020] 00 54 00 49 00 4F 00 4E  00 00 00                 .T.I.O.N ...
size=84
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_bcc=43
[000] 00 55 00 6E 00 69 00 78  00 00 00 53 00 61 00 6D  .U.n.i.x ...S.a.m
[010] 00 62 00 61 00 00 00 45  00 44 00 55 00 43 00 41  .b.a...E .D.U.C.A
[020] 00 54 00 49 00 4F 00 4E  00 00 00                 .T.I.O.N ...
write_socket(3,62)
write_socket(3,62) wrote 62
got smb length of 48
size=48
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1 (0x1)
smb_bcc=7
[000] 49 50 43 00 00 00 00                              IPC.... 
cli_init_creds: user root domain  flgs: 0
ntlmssp_cli_flgs:0
write_socket(3,104)
write_socket(3,104) wrote 104
got smb length of 103
size=103
smb_com=0xa2
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=34
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=5888 (0x1700)
smb_vwv[3]=373 (0x175)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=0 (0x0)
smb_vwv[13]=0 (0x0)
smb_vwv[14]=0 (0x0)
smb_vwv[15]=0 (0x0)
smb_vwv[16]=0 (0x0)
smb_vwv[17]=0 (0x0)
smb_vwv[18]=0 (0x0)
smb_vwv[19]=0 (0x0)
smb_vwv[20]=0 (0x0)
smb_vwv[21]=32768 (0x8000)
smb_vwv[22]=0 (0x0)
smb_vwv[23]=0 (0x0)
smb_vwv[24]=0 (0x0)
smb_vwv[25]=0 (0x0)
smb_vwv[26]=0 (0x0)
smb_vwv[27]=0 (0x0)
smb_vwv[28]=0 (0x0)
smb_vwv[29]=0 (0x0)
smb_vwv[30]=0 (0x0)
smb_vwv[31]=512 (0x200)
smb_vwv[32]=65280 (0xFF00)
smb_vwv[33]=5 (0x5)
smb_bcc=0
Bind RPC Pipe[7517]: \PIPE\lsarpc
Bind Abstract Syntax: [000] 78 57 34 12 34 12 CD AB  EF 00 01 23 45 67 89 AB  xW4.4... ...#Eg..
[010] 00 00 00 00                                       .... 
Bind Transfer Syntax: [000] 04 5D 88 8A EB 1C C9 11  9F E8 08 00 2B 10 48 60  .]...... ....+.H`
[010] 02 00 00 00                                       .... 
000000 smb_io_rpc_hdr hdr
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 0b
    0003 flags     : 00
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 0048
    000a auth_len  : 0000
    000c call_id   : 00000001
000010 smb_io_rpc_hdr_rb 
    000010 smb_io_rpc_hdr_bba 
        0010 max_tsize: 1630
        0012 max_rsize: 1630
        0014 assoc_gid: 00000000
    0018 num_elements: 00000001
    001c context_id  : 0000
    001e num_syntaxes: 01
    00001f smb_io_rpc_iface 
        0020 data   : 12345778
        0024 data   : 1234
        0026 data   : abcd
        0028 data   : ef 00 01 23 45 67 89 ab 
        0030 version: 00000000
    000034 smb_io_rpc_iface 
        0034 data   : 8a885d04
        0038 data   : 1ceb
        003a data   : 11c9
        003c data   : 9f e8 08 00 2b 10 48 60 
        0044 version: 00000002
rpc_api_pipe: cmd:26 fnum:7517
size=154
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=49153
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=16
smb_vwv[0]=0 (0x0)
smb_vwv[1]=72 (0x48)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=72 (0x48)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=82 (0x52)
smb_vwv[11]=72 (0x48)
smb_vwv[12]=82 (0x52)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29975 (0x7517)
smb_bcc=87
[000] 00 5C 00 50 00 49 00 50  00 45 00 5C 00 00 00 05  .\.P.I.P .E.\....
[010] 00 0B 00 10 00 00 00 48  00 00 00 01 00 00 00 30  .......H .......0
[020] 16 30 16 00 00 00 00 01  00 00 00 00 00 01 00 78  .0...... .......x
[030] 57 34 12 34 12 CD AB EF  00 01 23 45 67 89 AB 00  W4.4.... ..#Eg...
[040] 00 00 00 04 5D 88 8A EB  1C C9 11 9F E8 08 00 2B  ....]... .......+
[050] 10 48 60 02 00 00 00                              .H`.... 
write_socket(3,158)
write_socket(3,158) wrote 158
got smb length of 124
size=124
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=68 (0x44)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=68 (0x44)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=69
[000] 00 05 00 0C 03 10 00 00  00 44 00 00 00 01 00 00  ........ .D......
[010] 00 30 16 30 16 F0 53 00  00 0C 00 5C 50 49 50 45  .0.0..S. ...\PIPE
[020] 5C 6C 73 61 73 73 00 00  00 01 00 00 00 00 00 00  \lsass.. ........
[030] 00 04 5D 88 8A EB 1C C9  11 9F E8 08 00 2B 10 48  ..]..... .....+.H
[040] 60 02 00 00 00                                    `.... 
size=124
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=68 (0x44)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=68 (0x44)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=69
[000] 00 05 00 0C 03 10 00 00  00 44 00 00 00 01 00 00  ........ .D......
[010] 00 30 16 30 16 F0 53 00  00 0C 00 5C 50 49 50 45  .0.0..S. ...\PIPE
[020] 5C 6C 73 61 73 73 00 00  00 01 00 00 00 00 00 00  \lsass.. ........
[030] 00 04 5D 88 8A EB 1C C9  11 9F E8 08 00 2B 10 48  ..]..... .....+.H
[040] 60 02 00 00 00                                    `.... 
rpc_check_hdr: rdata->data_size = 68
000000 smb_io_rpc_hdr rpc_hdr   
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 0c
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 0044
    000a auth_len  : 0000
    000c call_id   : 00000001
rpc_api_pipe: len left: 0 smbtrans read: 68
rpc_api_pipe: fragment first and last both set
rpc_pipe_bind: rpc_api_pipe returned OK.
000010 smb_io_rpc_hdr_ba 
    000010 smb_io_rpc_hdr_bba 
        0010 max_tsize: 1630
        0012 max_rsize: 1630
        0014 assoc_gid: 000053f0
    000018 smb_io_rpc_addr_str 
        0018 len: 000c
        001a str: \PIPE\lsass.
    000026 smb_io_rpc_results 
        0028 num_results: 01
        002c result     : 0000
        002e reason     : 0000
    000030 smb_io_rpc_iface 
        0030 data   : 8a885d04
        0034 data   : 1ceb
        0036 data   : 11c9
        0038 data   : 9f e8 08 00 2b 10 48 60 
        0040 version: 00000002
bind_rpc_pipe: server pipe_name found: \PIPE\lsass
bind_rpc_pipe: accepted!
init_lsa_sec_qos
init_open_pol: attr:0 da:33554432
init_lsa_obj_attr
000000 lsa_io_q_open_pol 
    0000 ptr       : 00000001
    0004 system_name: 005c
    000008 lsa_io_obj_attr 
        0008 len         : 00000018
        000c ptr_root_dir: 00000000
        0010 ptr_obj_name: 00000000
        0014 attributes  : 00000000
        0018 ptr_sec_desc: 00000000
        001c ptr_sec_qos : 00000001
        000020 lsa_io_obj_qos sec_qos
            0020 len           : 0000000c
            0024 sec_imp_level : 0002
            0026 sec_ctxt_mode : 01
            0027 effective_only: 00
lsa_io_sec_qos: length c does not match size 8
    0028 des_access: 02000000
rpc_api_pipe_req: Outgoing data not a multiple of 8 bytes....
create_rpc_request: opnum: 0x6 data_len: 0x44
create_rpc_request: data_len: 44 auth_len: 0 alloc_hint: 34
000000 smb_io_rpc_hdr hdr    
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 00
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 0044
    000a auth_len  : 0000
    000c call_id   : 00000002
000010 smb_io_rpc_hdr_req hdr_req
    0010 alloc_hint: 00000034
    0014 context_id: 0000
    0016 opnum     : 0006
rpc_api_pipe: cmd:26 fnum:7517
size=150
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=49153
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=16
smb_vwv[0]=0 (0x0)
smb_vwv[1]=68 (0x44)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=68 (0x44)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=82 (0x52)
smb_vwv[11]=68 (0x44)
smb_vwv[12]=82 (0x52)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29975 (0x7517)
smb_bcc=83
[000] 00 5C 00 50 00 49 00 50  00 45 00 5C 00 00 00 05  .\.P.I.P .E.\....
[010] 00 00 03 10 00 00 00 44  00 00 00 02 00 00 00 34  .......D .......4
[020] 00 00 00 00 00 06 00 01  00 00 00 5C 00 00 00 18  ........ ...\....
[030] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[040] 00 00 00 01 00 00 00 0C  00 00 00 02 00 01 00 00  ........ ........
[050] 00 00 02                                          ... 
write_socket(3,154)
write_socket(3,154) wrote 154
got smb length of 104
size=104
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=48 (0x30)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=48 (0x30)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=49
[000] 00 05 00 02 03 10 00 00  00 30 00 00 00 02 00 00  ........ .0......
[010] 00 18 00 00 00 00 00 00  00 00 00 00 00 01 00 00  ........ ........
[020] 00 00 00 00 00 C1 24 A3  3D D6 29 00 00 00 00 00  ......$. =.).....
[030] 00                                                . 
size=104
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=48 (0x30)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=48 (0x30)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=49
[000] 00 05 00 02 03 10 00 00  00 30 00 00 00 02 00 00  ........ .0......
[010] 00 18 00 00 00 00 00 00  00 00 00 00 00 01 00 00  ........ ........
[020] 00 00 00 00 00 C1 24 A3  3D D6 29 00 00 00 00 00  ......$. =.).....
[030] 00                                                . 
rpc_check_hdr: rdata->data_size = 48
000000 smb_io_rpc_hdr rpc_hdr   
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 02
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 0030
    000a auth_len  : 0000
    000c call_id   : 00000002
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
    0010 alloc_hint: 00000018
    0014 context_id: 0000
    0016 cancel_ct : 00
    0017 reserved  : 00
rpc_api_pipe: len left: 0 smbtrans read: 48
rpc_api_pipe: fragment first and last both set
000018 lsa_io_r_open_pol 
    000018 smb_io_pol_hnd 
        0018 data1: 00000000
        001c data2: 00000001
        0020 data3: 0000
        0022 data4: 0000
        0024 data5: c1 24 a3 3d d6 29 00 00 
    002c status: NT_STATUS_OK
init_q_query
000000 lsa_io_q_query 
    000000 smb_io_pol_hnd 
        0000 data1: 00000000
        0004 data2: 00000001
        0008 data3: 0000
        000a data4: 0000
        000c data5: c1 24 a3 3d d6 29 00 00 
    0014 info_class: 0005
rpc_api_pipe_req: Outgoing data not a multiple of 8 bytes....
create_rpc_request: opnum: 0x7 data_len: 0x2e
create_rpc_request: data_len: 2e auth_len: 0 alloc_hint: 1e
000000 smb_io_rpc_hdr hdr    
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 00
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 002e
    000a auth_len  : 0000
    000c call_id   : 00000003
000010 smb_io_rpc_hdr_req hdr_req
    0010 alloc_hint: 0000001e
    0014 context_id: 0000
    0016 opnum     : 0007
rpc_api_pipe: cmd:26 fnum:7517
size=128
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=49153
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=16
smb_vwv[0]=0 (0x0)
smb_vwv[1]=46 (0x2E)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=46 (0x2E)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=82 (0x52)
smb_vwv[11]=46 (0x2E)
smb_vwv[12]=82 (0x52)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29975 (0x7517)
smb_bcc=61
[000] 00 5C 00 50 00 49 00 50  00 45 00 5C 00 00 00 05  .\.P.I.P .E.\....
[010] 00 00 03 10 00 00 00 2E  00 00 00 03 00 00 00 1E  ........ ........
[020] 00 00 00 00 00 07 00 00  00 00 00 01 00 00 00 00  ........ ........
[030] 00 00 00 C1 24 A3 3D D6  29 00 00 05 00           ....$.=. )....
write_socket(3,132)
write_socket(3,132) wrote 132
got smb length of 102
size=102
smb_com=0x25
smb_rcls=5
smb_reh=0
smb_err=32768
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=46 (0x2E)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=46 (0x2E)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=47
[000] 00 05 00 02 03 10 00 00  00 60 00 00 00 03 00 00  ........ .`......
[010] 00 48 00 00 00 00 00 00  00 00 00 00 22 05 00 00  .H...... ...."...
[020] 00 08 00 0A 00 01 00 00  00 01 00 00 00 05 00     ........ .......
size=102
smb_com=0x25
smb_rcls=5
smb_reh=0
smb_err=32768
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=46 (0x2E)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=46 (0x2E)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=47
[000] 00 05 00 02 03 10 00 00  00 60 00 00 00 03 00 00  ........ .`......
[010] 00 48 00 00 00 00 00 00  00 00 00 00 22 05 00 00  .H...... ...."...
[020] 00 08 00 0A 00 01 00 00  00 01 00 00 00 05 00     ........ .......
rpc_check_hdr: rdata->data_size = 46
000000 smb_io_rpc_hdr rpc_hdr   
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 02
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 0060
    000a auth_len  : 0000
    000c call_id   : 00000003
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
    0010 alloc_hint: 00000048
    0014 context_id: 0000
    0016 cancel_ct : 00
    0017 reserved  : 00
rpc_api_pipe: len left: 50 smbtrans read: 46
rpc_read: data_to_read: 50 rdata offset: 46 extra_data_size: 50
rpc_read: grew buffer by 50 bytes to 96
write_socket(3,59)
write_socket(3,59) wrote 59
got smb length of 109
size=109
smb_com=0x2e
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=12
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=50 (0x32)
smb_vwv[6]=59 (0x3B)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=0 (0x0)
smb_bcc=50
[000] 00 00 00 00 00 00 04 00  00 00 5A 00 45 00 55 00  ........ ..Z.E.U.
[010] 53 00 04 00 00 00 01 04  00 00 00 00 00 05 15 00  S....... ........
[020] 00 00 D2 36 FD 06 BF D2  AE 9F 68 67 A2 9C 00 00  ...6.... ..hg....
[030] 00 00                                             .. 
rpc_read: num_read = 50, read offset: 0, to read: 50
rpc_api_pipe: fragment first and last both set
000018 lsa_io_r_query 
    0018 undoc_buffer: 22000000
    001c info_class: 0005
    000020 lsa_io_dom_query 
        0020 uni_dom_max_len: 0008
        0022 uni_dom_str_len: 000a
        0024 buffer_dom_name: 00000001
        0028 buffer_dom_sid : 00000001
        00002c smb_io_unistr2 unistr2
            002c uni_max_len: 00000005
            0030 undoc      : 00000000
            0034 uni_str_len: 00000004
            0038 buffer     : Z.E.U.S.
        000040 smb_io_dom_sid2 
            0040 num_auths: 00000004
            000044 smb_io_dom_sid sid
                0044 sid_rev_num: 01
                0045 num_auths  : 04
                0046 id_auth[0] : 00
                0047 id_auth[1] : 00
                0048 id_auth[2] : 00
                0049 id_auth[3] : 00
                004a id_auth[4] : 00
                004b id_auth[5] : 05
                004c sub_auths : 00000015 06fd36d2 9faed2bf 9ca26768 
    005c status: NT_STATUS_OK
init_lsa_q_close
000000 lsa_io_q_close 
    000000 smb_io_pol_hnd 
        0000 data1: 00000000
        0004 data2: 00000001
        0008 data3: 0000
        000a data4: 0000
        000c data5: c1 24 a3 3d d6 29 00 00 
rpc_api_pipe_req: Outgoing data not a multiple of 8 bytes....
create_rpc_request: opnum: 0x0 data_len: 0x2c
create_rpc_request: data_len: 2c auth_len: 0 alloc_hint: 1c
000000 smb_io_rpc_hdr hdr    
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 00
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 002c
    000a auth_len  : 0000
    000c call_id   : 00000004
000010 smb_io_rpc_hdr_req hdr_req
    0010 alloc_hint: 0000001c
    0014 context_id: 0000
    0016 opnum     : 0000
rpc_api_pipe: cmd:26 fnum:7517
size=126
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=49153
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=16
smb_vwv[0]=0 (0x0)
smb_vwv[1]=44 (0x2C)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=44 (0x2C)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=82 (0x52)
smb_vwv[11]=44 (0x2C)
smb_vwv[12]=82 (0x52)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29975 (0x7517)
smb_bcc=59
[000] 00 5C 00 50 00 49 00 50  00 45 00 5C 00 00 00 05  .\.P.I.P .E.\....
[010] 00 00 03 10 00 00 00 2C  00 00 00 04 00 00 00 1C  ......., ........
[020] 00 00 00 00 00 00 00 00  00 00 00 01 00 00 00 00  ........ ........
[030] 00 00 00 C1 24 A3 3D D6  29 00 00                 ....$.=. )..
write_socket(3,130)
write_socket(3,130) wrote 130
got smb length of 100
size=100
smb_com=0x25
smb_rcls=5
smb_reh=0
smb_err=32768
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=44 (0x2C)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=44 (0x2C)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=45
[000] 00 05 00 02 03 10 00 00  00 30 00 00 00 04 00 00  ........ .0......
[010] 00 18 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[020] 00 00 00 00 00 00 00 00  00 00 00 00 00           ........ .....
size=100
smb_com=0x25
smb_rcls=5
smb_reh=0
smb_err=32768
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=44 (0x2C)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=44 (0x2C)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=45
[000] 00 05 00 02 03 10 00 00  00 30 00 00 00 04 00 00  ........ .0......
[010] 00 18 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[020] 00 00 00 00 00 00 00 00  00 00 00 00 00           ........ .....
rpc_check_hdr: rdata->data_size = 44
000000 smb_io_rpc_hdr rpc_hdr   
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 02
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 0030
    000a auth_len  : 0000
    000c call_id   : 00000004
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
    0010 alloc_hint: 00000018
    0014 context_id: 0000
    0016 cancel_ct : 00
    0017 reserved  : 00
rpc_api_pipe: len left: 4 smbtrans read: 44
rpc_read: data_to_read: 4 rdata offset: 44 extra_data_size: 4
rpc_read: grew buffer by 4 bytes to 48
write_socket(3,59)
write_socket(3,59) wrote 59
got smb length of 63
size=63
smb_com=0x2e
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=12
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=4 (0x4)
smb_vwv[6]=59 (0x3B)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=0 (0x0)
smb_bcc=4
[000] 00 00 00 00                                       .... 
rpc_read: num_read = 4, read offset: 0, to read: 4
rpc_api_pipe: fragment first and last both set
000018 lsa_io_r_close 
    000018 smb_io_pol_hnd 
        0018 data1: 00000000
        001c data2: 00000000
        0020 data3: 0000
        0022 data4: 0000
        0024 data5: 00 00 00 00 00 00 00 00 
    002c status: NT_STATUS_OK
write_socket(3,45)
write_socket(3,45) wrote 45
got smb length of 35
size=35
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=0
smb_bcc=0
cmd = setdriver HP990C HP990C
write_socket(3,106)
write_socket(3,106) wrote 106
got smb length of 103
size=103
smb_com=0xa2
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=34
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=6144 (0x1800)
smb_vwv[3]=373 (0x175)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=0 (0x0)
smb_vwv[13]=0 (0x0)
smb_vwv[14]=0 (0x0)
smb_vwv[15]=0 (0x0)
smb_vwv[16]=0 (0x0)
smb_vwv[17]=0 (0x0)
smb_vwv[18]=0 (0x0)
smb_vwv[19]=0 (0x0)
smb_vwv[20]=0 (0x0)
smb_vwv[21]=32768 (0x8000)
smb_vwv[22]=0 (0x0)
smb_vwv[23]=0 (0x0)
smb_vwv[24]=0 (0x0)
smb_vwv[25]=0 (0x0)
smb_vwv[26]=0 (0x0)
smb_vwv[27]=0 (0x0)
smb_vwv[28]=0 (0x0)
smb_vwv[29]=0 (0x0)
smb_vwv[30]=0 (0x0)
smb_vwv[31]=512 (0x200)
smb_vwv[32]=65280 (0xFF00)
smb_vwv[33]=5 (0x5)
smb_bcc=0
Bind RPC Pipe[7518]: \PIPE\spoolss
Bind Abstract Syntax: [000] 78 56 34 12 34 12 CD AB  EF 00 01 23 45 67 89 AB  xV4.4... ...#Eg..
[010] 01 00 00 00                                       .... 
Bind Transfer Syntax: [000] 04 5D 88 8A EB 1C C9 11  9F E8 08 00 2B 10 48 60  .]...... ....+.H`
[010] 02 00 00 00                                       .... 
000000 smb_io_rpc_hdr hdr
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 0b
    0003 flags     : 00
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 0048
    000a auth_len  : 0000
    000c call_id   : 00000005
000010 smb_io_rpc_hdr_rb 
    000010 smb_io_rpc_hdr_bba 
        0010 max_tsize: 1630
        0012 max_rsize: 1630
        0014 assoc_gid: 00000000
    0018 num_elements: 00000001
    001c context_id  : 0000
    001e num_syntaxes: 01
    00001f smb_io_rpc_iface 
        0020 data   : 12345678
        0024 data   : 1234
        0026 data   : abcd
        0028 data   : ef 00 01 23 45 67 89 ab 
        0030 version: 00000001
    000034 smb_io_rpc_iface 
        0034 data   : 8a885d04
        0038 data   : 1ceb
        003a data   : 11c9
        003c data   : 9f e8 08 00 2b 10 48 60 
        0044 version: 00000002
rpc_api_pipe: cmd:26 fnum:7518
size=154
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=49153
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=16
smb_vwv[0]=0 (0x0)
smb_vwv[1]=72 (0x48)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=72 (0x48)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=82 (0x52)
smb_vwv[11]=72 (0x48)
smb_vwv[12]=82 (0x52)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29976 (0x7518)
smb_bcc=87
[000] 00 5C 00 50 00 49 00 50  00 45 00 5C 00 00 00 05  .\.P.I.P .E.\....
[010] 00 0B 00 10 00 00 00 48  00 00 00 05 00 00 00 30  .......H .......0
[020] 16 30 16 00 00 00 00 01  00 00 00 00 00 01 00 78  .0...... .......x
[030] 56 34 12 34 12 CD AB EF  00 01 23 45 67 89 AB 01  V4.4.... ..#Eg...
[040] 00 00 00 04 5D 88 8A EB  1C C9 11 9F E8 08 00 2B  ....]... .......+
[050] 10 48 60 02 00 00 00                              .H`.... 
write_socket(3,158)
write_socket(3,158) wrote 158
got smb length of 124
size=124
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=68 (0x44)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=68 (0x44)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=69
[000] 00 05 00 0C 03 10 00 00  00 44 00 00 00 05 00 00  ........ .D......
[010] 00 30 16 30 16 F0 53 00  00 0E 00 5C 50 49 50 45  .0.0..S. ...\PIPE
[020] 5C 73 70 6F 6F 6C 73 73  00 01 00 00 00 00 00 00  \spoolss ........
[030] 00 04 5D 88 8A EB 1C C9  11 9F E8 08 00 2B 10 48  ..]..... .....+.H
[040] 60 02 00 00 00                                    `.... 
size=124
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=68 (0x44)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=68 (0x44)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=69
[000] 00 05 00 0C 03 10 00 00  00 44 00 00 00 05 00 00  ........ .D......
[010] 00 30 16 30 16 F0 53 00  00 0E 00 5C 50 49 50 45  .0.0..S. ...\PIPE
[020] 5C 73 70 6F 6F 6C 73 73  00 01 00 00 00 00 00 00  \spoolss ........
[030] 00 04 5D 88 8A EB 1C C9  11 9F E8 08 00 2B 10 48  ..]..... .....+.H
[040] 60 02 00 00 00                                    `.... 
rpc_check_hdr: rdata->data_size = 68
000000 smb_io_rpc_hdr rpc_hdr   
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 0c
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 0044
    000a auth_len  : 0000
    000c call_id   : 00000005
rpc_api_pipe: len left: 0 smbtrans read: 68
rpc_api_pipe: fragment first and last both set
rpc_pipe_bind: rpc_api_pipe returned OK.
000010 smb_io_rpc_hdr_ba 
    000010 smb_io_rpc_hdr_bba 
        0010 max_tsize: 1630
        0012 max_rsize: 1630
        0014 assoc_gid: 000053f0
    000018 smb_io_rpc_addr_str 
        0018 len: 000e
        001a str: \PIPE\spoolss.
    000028 smb_io_rpc_results 
        0028 num_results: 01
        002c result     : 0000
        002e reason     : 0000
    000030 smb_io_rpc_iface 
        0030 data   : 8a885d04
        0034 data   : 1ceb
        0036 data   : 11c9
        0038 data   : 9f e8 08 00 2b 10 48 60 
        0040 version: 00000002
bind_rpc_pipe: server pipe_name found: \PIPE\spoolss
bind_rpc_pipe: accepted!
make_spoolss_q_open_printer_ex
000000 spoolss_io_q_open_printer_ex 
    0000 printername_ptr: 00000001
    000004 smb_io_unistr2 
        0004 uni_max_len: 00000013
        0008 undoc      : 00000000
        000c uni_str_len: 00000013
        0010 buffer     : \.\.L.O.C.A.L.H.O.S.T.\.H.P.9.9.0.C...
    000038 spoolss_io_printer_default 
        0038 datatype_ptr: 00000000
        00003c smb_io_unistr2 - NULL datatype
        00003c spoolss_io_devmode_cont 
            003c size: 00000000
            0040 devmode_ptr: 00000000
        0044 access_required: 000f000c
    0048 user_switch: 00000001
    00004c spool_io_user_level 
        004c level: 00000001
        0050 ptr: 00000001
        000054  
            0054 size: 00000019
            0058 client_name_ptr: 00000001
            005c user_name_ptr: 00000001
            0060 build: 00000565
            0064 major: 00000002
            0068 minor: 00000000
            006c processor: 00000000
            000070 smb_io_unistr2 
                0070 uni_max_len: 0000000c
                0074 undoc      : 00000000
                0078 uni_str_len: 0000000c
                007c buffer     : \.\.L.O.C.A.L.H.O.S.T...
            000094 smb_io_unistr2 
                0094 uni_max_len: 00000005
                0098 undoc      : 00000000
                009c uni_str_len: 00000005
                00a0 buffer     : r.o.o.t...
rpc_api_pipe_req: Outgoing data not a multiple of 8 bytes....
create_rpc_request: opnum: 0x45 data_len: 0xc2
create_rpc_request: data_len: c2 auth_len: 0 alloc_hint: b2
000000 smb_io_rpc_hdr hdr    
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 00
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 00c2
    000a auth_len  : 0000
    000c call_id   : 00000006
000010 smb_io_rpc_hdr_req hdr_req
    0010 alloc_hint: 000000b2
    0014 context_id: 0000
    0016 opnum     : 0045
rpc_api_pipe: cmd:26 fnum:7518
size=276
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=49153
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=16
smb_vwv[0]=0 (0x0)
smb_vwv[1]=194 (0xC2)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=194 (0xC2)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=82 (0x52)
smb_vwv[11]=194 (0xC2)
smb_vwv[12]=82 (0x52)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29976 (0x7518)
smb_bcc=209
[000] 00 5C 00 50 00 49 00 50  00 45 00 5C 00 00 00 05  .\.P.I.P .E.\....
[010] 00 00 03 10 00 00 00 C2  00 00 00 06 00 00 00 B2  ........ ........
[020] 00 00 00 00 00 45 00 01  00 00 00 13 00 00 00 00  .....E.. ........
[030] 00 00 00 13 00 00 00 5C  00 5C 00 4C 00 4F 00 43  .......\ .\.L.O.C
[040] 00 41 00 4C 00 48 00 4F  00 53 00 54 00 5C 00 48  .A.L.H.O .S.T.\.H
[050] 00 50 00 39 00 39 00 30  00 43 00 00 00 00 00 00  .P.9.9.0 .C......
[060] 00 00 00 00 00 00 00 00  00 00 00 0C 00 0F 00 01  ........ ........
[070] 00 00 00 01 00 00 00 01  00 00 00 19 00 00 00 01  ........ ........
[080] 00 00 00 01 00 00 00 65  05 00 00 02 00 00 00 00  .......e ........
[090] 00 00 00 00 00 00 00 0C  00 00 00 00 00 00 00 0C  ........ ........
[0A0] 00 00 00 5C 00 5C 00 4C  00 4F 00 43 00 41 00 4C  ...\.\.L .O.C.A.L
[0B0] 00 48 00 4F 00 53 00 54  00 00 00 05 00 00 00 00  .H.O.S.T ........
[0C0] 00 00 00 05 00 00 00 72  00 6F 00 6F 00 74 00 00  .......r .o.o.t..
[0D0] 00                                                . 
write_socket(3,280)
write_socket(3,280) wrote 280
got smb length of 104
size=104
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=48 (0x30)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=48 (0x30)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=49
[000] 00 05 00 02 03 10 00 00  00 30 00 00 00 06 00 00  ........ .0......
[010] 00 18 00 00 00 00 00 00  00 00 00 00 00 02 00 00  ........ ........
[020] 00 00 00 00 00 C1 24 A3  3D D6 29 00 00 00 00 00  ......$. =.).....
[030] 00                                                . 
size=104
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=48 (0x30)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=48 (0x30)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=49
[000] 00 05 00 02 03 10 00 00  00 30 00 00 00 06 00 00  ........ .0......
[010] 00 18 00 00 00 00 00 00  00 00 00 00 00 02 00 00  ........ ........
[020] 00 00 00 00 00 C1 24 A3  3D D6 29 00 00 00 00 00  ......$. =.).....
[030] 00                                                . 
rpc_check_hdr: rdata->data_size = 48
000000 smb_io_rpc_hdr rpc_hdr   
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 02
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 0030
    000a auth_len  : 0000
    000c call_id   : 00000006
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
    0010 alloc_hint: 00000018
    0014 context_id: 0000
    0016 cancel_ct : 00
    0017 reserved  : 00
rpc_api_pipe: len left: 0 smbtrans read: 48
rpc_api_pipe: fragment first and last both set
000018 spoolss_io_r_open_printer_ex 
    000018 smb_io_pol_hnd printer handle
        0018 data1: 00000000
        001c data2: 00000002
        0020 data3: 0000
        0022 data4: 0000
        0024 data5: c1 24 a3 3d d6 29 00 00 
    002c status code: WERR_OK
000000 spoolss_io_q_getprinter 
    000000 smb_io_pol_hnd printer handle
        0000 data1: 00000000
        0004 data2: 00000002
        0008 data3: 0000
        000a data4: 0000
        000c data5: c1 24 a3 3d d6 29 00 00 
    0014 level: 00000002
    000018 spoolss_io_buffer 
        0018 ptr: 00000000
    001c offered: 00000000
create_rpc_request: opnum: 0x8 data_len: 0x38
create_rpc_request: data_len: 38 auth_len: 0 alloc_hint: 28
000000 smb_io_rpc_hdr hdr    
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 00
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 0038
    000a auth_len  : 0000
    000c call_id   : 00000007
000010 smb_io_rpc_hdr_req hdr_req
    0010 alloc_hint: 00000028
    0014 context_id: 0000
    0016 opnum     : 0008
rpc_api_pipe: cmd:26 fnum:7518
size=138
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=49153
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=16
smb_vwv[0]=0 (0x0)
smb_vwv[1]=56 (0x38)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=56 (0x38)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=82 (0x52)
smb_vwv[11]=56 (0x38)
smb_vwv[12]=82 (0x52)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29976 (0x7518)
smb_bcc=71
[000] 00 5C 00 50 00 49 00 50  00 45 00 5C 00 00 00 05  .\.P.I.P .E.\....
[010] 00 00 03 10 00 00 00 38  00 00 00 07 00 00 00 28  .......8 .......(
[020] 00 00 00 00 00 08 00 00  00 00 00 02 00 00 00 00  ........ ........
[030] 00 00 00 C1 24 A3 3D D6  29 00 00 02 00 00 00 00  ....$.=. ).......
[040] 00 00 00 00 00 00 00                              ....... 
write_socket(3,142)
write_socket(3,142) wrote 142
got smb length of 92
size=92
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=36 (0x24)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=36 (0x24)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=37
[000] 00 05 00 02 03 10 00 00  00 24 00 00 00 07 00 00  ........ .$......
[010] 00 0C 00 00 00 00 00 00  00 00 00 00 00 78 01 00  ........ .....x..
[020] 00 7A 00 00 00                                    .z... 
size=92
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=36 (0x24)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=36 (0x24)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=37
[000] 00 05 00 02 03 10 00 00  00 24 00 00 00 07 00 00  ........ .$......
[010] 00 0C 00 00 00 00 00 00  00 00 00 00 00 78 01 00  ........ .....x..
[020] 00 7A 00 00 00                                    .z... 
rpc_check_hdr: rdata->data_size = 36
000000 smb_io_rpc_hdr rpc_hdr   
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 02
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 0024
    000a auth_len  : 0000
    000c call_id   : 00000007
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
    0010 alloc_hint: 0000000c
    0014 context_id: 0000
    0016 cancel_ct : 00
    0017 reserved  : 00
rpc_api_pipe: len left: 0 smbtrans read: 36
rpc_api_pipe: fragment first and last both set
000018 spoolss_io_r_getprinter 
    000018 spoolss_io_buffer 
        0018 ptr: 00000000
    001c needed: 00000178
    0020 status: WERR_INSUFFICIENT_BUFFER
000000 spoolss_io_q_getprinter 
    000000 smb_io_pol_hnd printer handle
        0000 data1: 00000000
        0004 data2: 00000002
        0008 data3: 0000
        000a data4: 0000
        000c data5: c1 24 a3 3d d6 29 00 00 
    0014 level: 00000002
    000018 spoolss_io_buffer 
        0018 ptr: 00000001
        001c size: 00000178
    0198 offered: 00000178
rpc_api_pipe_req: Outgoing data not a multiple of 8 bytes....
create_rpc_request: opnum: 0x8 data_len: 0x1b4
create_rpc_request: data_len: 1b4 auth_len: 0 alloc_hint: 1a4
000000 smb_io_rpc_hdr hdr    
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 00
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 01b4
    000a auth_len  : 0000
    000c call_id   : 00000008
000010 smb_io_rpc_hdr_req hdr_req
    0010 alloc_hint: 000001a4
    0014 context_id: 0000
    0016 opnum     : 0008
rpc_api_pipe: cmd:26 fnum:7518
size=518
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=49153
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=16
smb_vwv[0]=0 (0x0)
smb_vwv[1]=436 (0x1B4)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=436 (0x1B4)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=82 (0x52)
smb_vwv[11]=436 (0x1B4)
smb_vwv[12]=82 (0x52)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29976 (0x7518)
smb_bcc=451
[000] 00 5C 00 50 00 49 00 50  00 45 00 5C 00 00 00 05  .\.P.I.P .E.\....
[010] 00 00 03 10 00 00 00 B4  01 00 00 08 00 00 00 A4  ........ ........
[020] 01 00 00 00 00 08 00 00  00 00 00 02 00 00 00 00  ........ ........
[030] 00 00 00 C1 24 A3 3D D6  29 00 00 02 00 00 00 01  ....$.=. ).......
[040] 00 00 00 78 01 00 00 00  00 00 00 00 00 00 00 00  ...x.... ........
[050] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[060] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[070] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[080] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[090] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[0A0] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[0B0] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[0C0] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[0D0] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[0E0] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[0F0] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[100] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[110] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[120] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[130] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[140] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[150] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[160] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[170] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[180] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[190] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[1A0] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[1B0] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 78  ........ .......x
[1C0] 01 00 00                                          ... 
write_socket(3,522)
write_socket(3,522) wrote 522
got smb length of 472
size=472
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=416 (0x1A0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=416 (0x1A0)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=417
[000] 00 05 00 02 03 10 00 00  00 A0 01 00 00 08 00 00  ........ ........
[010] 00 88 01 00 00 00 00 00  00 01 00 00 00 78 01 00  ........ .....x..
[020] 00 6A 01 00 00 4E 01 00  00 40 01 00 00 1A 01 00  .j...N.. . at ......
[030] 00 18 01 00 00 0A 01 00  00 08 01 00 00 00 00 00  ........ ........
[040] 00 06 01 00 00 F4 00 00  00 EC 00 00 00 EA 00 00  ........ ........
[050] 00 56 00 00 00 18 00 00  00 01 00 00 00 01 00 00  .V...... ........
[060] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[070] 00 00 00 00 00 00 00 01  00 04 80 78 00 00 00 00  ........ ...x....
[080] 00 00 00 00 00 00 00 14  00 00 00 02 00 64 00 03  ........ .....d..
[090] 00 00 00 00 02 14 00 00  00 00 E0 01 01 00 00 00  ........ ........
[0A0] 00 00 01 00 00 00 00 00  09 24 00 00 00 00 10 01  ........ .$......
[0B0] 05 00 00 00 00 00 05 15  00 00 00 D2 36 FD 06 BF  ........ ....6...
[0C0] D2 AE 9F 68 67 A2 9C F4  01 00 00 00 02 24 00 00  ...hg... .....$..
[0D0] 00 00 10 01 05 00 00 00  00 00 05 15 00 00 00 D2  ........ ........
[0E0] 36 FD 06 BF D2 AE 9F 68  67 A2 9C F4 01 00 00 01  6......h g.......
[0F0] 05 00 00 00 00 00 05 15  00 00 00 D2 36 FD 06 BF  ........ ....6...
[100] D2 AE 9F 68 67 A2 9C F4  01 00 00 00 00 52 00 41  ...hg... .....R.A
[110] 00 57 00 00 00 77 00 69  00 6E 00 70 00 72 00 69  .W...w.i .n.p.r.i
[120] 00 6E 00 74 00 00 00 00  00 00 00 48 00 50 00 39  .n.t.... ...H.P.9
[130] 00 39 00 30 00 43 00 00  00 00 00 53 00 61 00 6D  .9.0.C.. ...S.a.m
[140] 00 62 00 61 00 20 00 50  00 72 00 69 00 6E 00 74  .b.a. .P .r.i.n.t
[150] 00 65 00 72 00 20 00 50  00 6F 00 72 00 74 00 00  .e.r. .P .o.r.t..
[160] 00 48 00 50 00 39 00 39  00 30 00 43 00 00 00 5C  .H.P.9.9 .0.C...\
[170] 00 5C 00 5A 00 45 00 55  00 53 00 5C 00 48 00 50  .\.Z.E.U .S.\.H.P
[180] 00 39 00 39 00 30 00 43  00 00 00 5C 00 5C 00 5A  .9.9.0.C ...\.\.Z
[190] 00 45 00 55 00 53 00 00  00 78 01 00 00 00 00 00  .E.U.S.. .x......
[1A0] 00                                                . 
size=472
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=416 (0x1A0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=416 (0x1A0)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=417
[000] 00 05 00 02 03 10 00 00  00 A0 01 00 00 08 00 00  ........ ........
[010] 00 88 01 00 00 00 00 00  00 01 00 00 00 78 01 00  ........ .....x..
[020] 00 6A 01 00 00 4E 01 00  00 40 01 00 00 1A 01 00  .j...N.. . at ......
[030] 00 18 01 00 00 0A 01 00  00 08 01 00 00 00 00 00  ........ ........
[040] 00 06 01 00 00 F4 00 00  00 EC 00 00 00 EA 00 00  ........ ........
[050] 00 56 00 00 00 18 00 00  00 01 00 00 00 01 00 00  .V...... ........
[060] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[070] 00 00 00 00 00 00 00 01  00 04 80 78 00 00 00 00  ........ ...x....
[080] 00 00 00 00 00 00 00 14  00 00 00 02 00 64 00 03  ........ .....d..
[090] 00 00 00 00 02 14 00 00  00 00 E0 01 01 00 00 00  ........ ........
[0A0] 00 00 01 00 00 00 00 00  09 24 00 00 00 00 10 01  ........ .$......
[0B0] 05 00 00 00 00 00 05 15  00 00 00 D2 36 FD 06 BF  ........ ....6...
[0C0] D2 AE 9F 68 67 A2 9C F4  01 00 00 00 02 24 00 00  ...hg... .....$..
[0D0] 00 00 10 01 05 00 00 00  00 00 05 15 00 00 00 D2  ........ ........
[0E0] 36 FD 06 BF D2 AE 9F 68  67 A2 9C F4 01 00 00 01  6......h g.......
[0F0] 05 00 00 00 00 00 05 15  00 00 00 D2 36 FD 06 BF  ........ ....6...
[100] D2 AE 9F 68 67 A2 9C F4  01 00 00 00 00 52 00 41  ...hg... .....R.A
[110] 00 57 00 00 00 77 00 69  00 6E 00 70 00 72 00 69  .W...w.i .n.p.r.i
[120] 00 6E 00 74 00 00 00 00  00 00 00 48 00 50 00 39  .n.t.... ...H.P.9
[130] 00 39 00 30 00 43 00 00  00 00 00 53 00 61 00 6D  .9.0.C.. ...S.a.m
[140] 00 62 00 61 00 20 00 50  00 72 00 69 00 6E 00 74  .b.a. .P .r.i.n.t
[150] 00 65 00 72 00 20 00 50  00 6F 00 72 00 74 00 00  .e.r. .P .o.r.t..
[160] 00 48 00 50 00 39 00 39  00 30 00 43 00 00 00 5C  .H.P.9.9 .0.C...\
[170] 00 5C 00 5A 00 45 00 55  00 53 00 5C 00 48 00 50  .\.Z.E.U .S.\.H.P
[180] 00 39 00 39 00 30 00 43  00 00 00 5C 00 5C 00 5A  .9.9.0.C ...\.\.Z
[190] 00 45 00 55 00 53 00 00  00 78 01 00 00 00 00 00  .E.U.S.. .x......
[1A0] 00                                                . 
rpc_check_hdr: rdata->data_size = 416
000000 smb_io_rpc_hdr rpc_hdr   
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 02
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 01a0
    000a auth_len  : 0000
    000c call_id   : 00000008
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
    0010 alloc_hint: 00000188
    0014 context_id: 0000
    0016 cancel_ct : 00
    0017 reserved  : 00
rpc_api_pipe: len left: 0 smbtrans read: 416
rpc_api_pipe: fragment first and last both set
000018 spoolss_io_r_getprinter 
    000018 spoolss_io_buffer 
        0018 ptr: 00000001
        001c size: 00000178
    0198 needed: 00000178
    019c status: WERR_OK
000000 smb_io_printer_info_2 
    0000 offset: 0000016a
    00016a smb_io_unistr servername
    0004 offset: 0000014e
    00014e smb_io_unistr printername
    0008 offset: 00000140
    000140 smb_io_unistr sharename
    000c offset: 0000011a
    00011a smb_io_unistr portname
    0010 offset: 00000118
    000118 smb_io_unistr drivername
    0014 offset: 0000010a
    00010a smb_io_unistr comment
    0018 offset: 00000108
    000108 smb_io_unistr location
    001c devmode: 00000000
    0020 offset: 00000106
    000106 smb_io_unistr sepfile
    0024 offset: 000000f4
    0000f4 smb_io_unistr printprocessor
    0028 offset: 000000ec
    0000ec smb_io_unistr datatype
    002c offset: 000000ea
    0000ea smb_io_unistr parameters
    0030 sec_desc: 00000056
    00001c smb_io_reldevmode devmode
        001c offset: 00000000
    000030 smb_io_relsecdesc secdesc
        0030 offset: 00000056
        000056 sec_io_desc secdesc
            0056 revision : 0001
            0058 type     : 8004
            005a off_owner_sid: 00000078
            005e off_grp_sid  : 00000000
            0062 off_sacl     : 00000000
            0066 off_dacl     : 00000014
            0000ce smb_io_dom_sid owner_sid 
                00d0 sid_rev_num: 00
                00d1 num_auths  : 00
                00d2 id_auth[0] : 00
                00d3 id_auth[1] : 00
                00d4 id_auth[2] : 00
                00d5 id_auth[3] : 05
                00d6 id_auth[4] : 15
                00d7 id_auth[5] : 00
                00d8 sub_auths : 
            00006a sec_io_acl dacl
                006c revision: 0064
                006e size     : 0003
                0070 num_aces : 02000000
000000 spoolss_io_q_setprinter 
    000000 smb_io_pol_hnd printer handle
        0000 data1: 00000000
        0004 data2: 00000002
        0008 data3: 0000
        000a data4: 0000
        000c data5: c1 24 a3 3d d6 29 00 00 
    0014 level: 00000002
    000018 spool_io_printer_info_level 
        0018 level: 00000002
        001c info_ptr: 00000001
        000020 spool_io_printer_info_level_2 
            0020 servername_ptr: 00000001
            0024 printername_ptr: 00000001
            0028 sharename_ptr: 00000001
            002c portname_ptr: 00000001
            0030 drivername_ptr: 00000001
            0034 comment_ptr: 00000001
            0038 location_ptr: 00000000
            003c devmode_ptr: 00000000
            0040 sepfile_ptr: 00000000
            0044 printprocessor_ptr: 00000001
            0048 datatype_ptr: 00000001
            004c parameters_ptr: 00000000
            0050 secdesc_ptr: 00000001
            0054 attributes: 00000178
            0058 priority: 00000000
            005c default_priority: 00000000
            0060 starttime: 00000000
            0064 untiltime: 00000000
            0068 status: 000000ec
            006c cjobs: 00000000
            0070 averageppm: 00000000
            000074 smb_io_unistr2 servername
                0074 uni_max_len: 00000007
                0078 undoc      : 00000000
                007c uni_str_len: 00000007
                0080 buffer     : \.\.Z.E.U.S...
            00008e smb_io_unistr2 printername
                0090 uni_max_len: 0000000e
                0094 undoc      : 00000000
                0098 uni_str_len: 0000000e
                009c buffer     : \.\.Z.E.U.S.\.H.P.9.9.0.C...
            0000b8 smb_io_unistr2 sharename
                00b8 uni_max_len: 00000007
                00bc undoc      : 00000000
                00c0 uni_str_len: 00000007
                00c4 buffer     : H.P.9.9.0.C...
            0000d2 smb_io_unistr2 portname
                00d4 uni_max_len: 00000013
                00d8 undoc      : 00000000
                00dc uni_str_len: 00000013
                00e0 buffer     : S.a.m.b.a. .P.r.i.n.t.e.r. .P.o.r.t...
            000106 smb_io_unistr2 drivername
                0108 uni_max_len: 00000007
                010c undoc      : 00000000
                0110 uni_str_len: 00000007
                0114 buffer     : H.P.9.9.0.C...
            000122 smb_io_unistr2 comment
                0124 uni_max_len: 00000007
                0128 undoc      : 00000000
                012c uni_str_len: 00000007
                0130 buffer     : H.P.9.9.0.C...
            00013e smb_io_unistr2 - NULL location
            00013e smb_io_unistr2 - NULL sepfile
            00013e smb_io_unistr2 printprocessor
                0140 uni_max_len: 00000009
                0144 undoc      : 00000000
                0148 uni_str_len: 00000009
                014c buffer     : w.i.n.p.r.i.n.t...
            00015e smb_io_unistr2 datatype
                0160 uni_max_len: 00000004
                0164 undoc      : 00000000
                0168 uni_str_len: 00000004
                016c buffer     : R.A.W...
            000174 smb_io_unistr2 - NULL parameters
    000174 spoolss_io_devmode_cont 
        0174 size: 00000000
        0178 devmode_ptr: 00000000
    00017c sec_io_desc_buf 
        0180 ptr  : 00000001
        000188 sec_io_desc sec   
            0188 revision : 0001
            018a type     : 8004
            018c off_owner_sid: 00000078
            0190 off_grp_sid  : 00000000
            0194 off_sacl     : 00000000
            0198 off_dacl     : 00000014
            00019c smb_io_dom_sid owner_sid 
                019c sid_rev_num: 00
                019d num_auths  : 00
                019e id_auth[0] : 00
                019f id_auth[1] : 00
                01a0 id_auth[2] : 00
                01a1 id_auth[3] : 05
                01a2 id_auth[4] : 15
                01a3 id_auth[5] : 00
                01a4 sub_auths : 
            00019c sec_io_acl dacl
                019c revision: 0064
                01a0 num_aces : 02000000
SetPrinter call failed!
make_spoolss_q_closeprinter
000000 spoolss_io_q_closeprinter 
    000000 smb_io_pol_hnd printer handle
        0000 data1: 00000000
        0004 data2: 00000002
        0008 data3: 0000
        000a data4: 0000
        000c data5: c1 24 a3 3d d6 29 00 00 
rpc_api_pipe_req: Outgoing data not a multiple of 8 bytes....
create_rpc_request: opnum: 0x1d data_len: 0x2c
create_rpc_request: data_len: 2c auth_len: 0 alloc_hint: 1c
000000 smb_io_rpc_hdr hdr    
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 00
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 002c
    000a auth_len  : 0000
    000c call_id   : 00000009
000010 smb_io_rpc_hdr_req hdr_req
    0010 alloc_hint: 0000001c
    0014 context_id: 0000
    0016 opnum     : 001d
rpc_api_pipe: cmd:26 fnum:7518
size=126
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=49153
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=16
smb_vwv[0]=0 (0x0)
smb_vwv[1]=44 (0x2C)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=44 (0x2C)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=82 (0x52)
smb_vwv[11]=44 (0x2C)
smb_vwv[12]=82 (0x52)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29976 (0x7518)
smb_bcc=59
[000] 00 5C 00 50 00 49 00 50  00 45 00 5C 00 00 00 05  .\.P.I.P .E.\....
[010] 00 00 03 10 00 00 00 2C  00 00 00 09 00 00 00 1C  ......., ........
[020] 00 00 00 00 00 1D 00 00  00 00 00 02 00 00 00 00  ........ ........
[030] 00 00 00 C1 24 A3 3D D6  29 00 00                 ....$.=. )..
write_socket(3,130)
write_socket(3,130) wrote 130
got smb length of 100
size=100
smb_com=0x25
smb_rcls=5
smb_reh=0
smb_err=32768
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=44 (0x2C)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=44 (0x2C)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=45
[000] 00 05 00 02 03 10 00 00  00 30 00 00 00 09 00 00  ........ .0......
[010] 00 18 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[020] 00 00 00 00 00 00 00 00  00 00 00 00 00           ........ .....
size=100
smb_com=0x25
smb_rcls=5
smb_reh=0
smb_err=32768
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=44 (0x2C)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=44 (0x2C)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=45
[000] 00 05 00 02 03 10 00 00  00 30 00 00 00 09 00 00  ........ .0......
[010] 00 18 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[020] 00 00 00 00 00 00 00 00  00 00 00 00 00           ........ .....
rpc_check_hdr: rdata->data_size = 44
000000 smb_io_rpc_hdr rpc_hdr   
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 02
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 0030
    000a auth_len  : 0000
    000c call_id   : 00000009
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
    0010 alloc_hint: 00000018
    0014 context_id: 0000
    0016 cancel_ct : 00
    0017 reserved  : 00
rpc_api_pipe: len left: 4 smbtrans read: 44
rpc_read: data_to_read: 4 rdata offset: 44 extra_data_size: 4
rpc_read: grew buffer by 4 bytes to 48
write_socket(3,59)
write_socket(3,59) wrote 59
got smb length of 63
size=63
smb_com=0x2e
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=12
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=4 (0x4)
smb_vwv[6]=59 (0x3B)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=0 (0x0)
smb_bcc=4
[000] 00 00 00 00                                       .... 
rpc_read: num_read = 4, read offset: 0, to read: 4
rpc_api_pipe: fragment first and last both set
000018 spoolss_io_r_closeprinter 
    000018 smb_io_pol_hnd printer handle
        0018 data1: 00000000
        001c data2: 00000000
        0020 data3: 0000
        0022 data4: 0000
        0024 data5: 00 00 00 00 00 00 00 00 
    002c status: WERR_OK
write_socket(3,45)
write_socket(3,45) wrote 45
got smb length of 35
size=35
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=10709
smb_uid=100
smb_mid=1
smt_wct=0
smb_bcc=0
result was NT_STATUS_UNSUCCESSFUL


More information about the samba mailing list