[Samba] cupsaddsmb rpcclient error

Daniel T. Gynn dan.gynn at essensys.com
Fri Oct 25 02:16:35 GMT 2002


I am running samba 2.2.6 and cups 1.1.16.  I can't get cupsaddsmb to
complete successfully.  I'm at an end here, I can't think of anything
else to try after 2 weeks of searching the web.  It copies the drivers
to the print$ share directory, however the SetPrinter command fails on
the rpcclient command and it returns with an NT_STATUS_UNSUCCESSFUL
error.  At the SetPrinter failure, it returns an WERR_ACCESS_DENIED, but
I'm not sure what permissions it's looking for or where it wants them
set.  I'm attaching the results of rpcclient with debug level 100.


Serverzone is 14400
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 = LIMBACH
doing parameter netbios name = LFSPITPDC
handle_netbios_name: set global_myname to: LFSPITPDC
doing parameter server string = LFS Samba Server
doing parameter encrypt passwords = Yes
doing parameter obey pam restrictions = Yes
doing parameter pam password change = Yes
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
doing parameter unix password sync = Yes
doing parameter log file = /var/log/samba/%m.log
doing parameter max log size = 0
doing parameter time server = Yes
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
doing parameter addprinter command = /usr/sbin/cupsaddsmb
doing parameter domain admin group = ntadmin
doing parameter add user script = /usr/local/bin/newMachine.sh %u
doing parameter logon path = \\172.24.150.210\profiles\%U
doing parameter logon drive = I:
doing parameter logon home = \\172.24.150.210\%U
doing parameter domain logons = Yes
doing parameter os level = 64
doing parameter preferred master = Yes
doing parameter domain master = Yes
doing parameter dns proxy = No
doing parameter wins server = 192.168.110.163
wins_srv_load_list(): Building WINS server list:
192.168.110.163,
1 WINS server listed.
doing parameter ldap port = 389
doing parameter ldap suffix = "ou=smb, o=limbach, c=us"
doing parameter ldap admin dn = "uid=manager, o=limbach, c=us"
doing parameter ldap ssl = no
doing parameter admin users = @ntadmin
doing parameter printer admin = @ntadmin
doing parameter hosts allow = 172.24.150. 172.24.151. 127.0.0.1 172.29.175. 172.24.155. 172.24.154. 172.29.140.
doing parameter printcap name = /etc/printcap
doing parameter printing = cups
doing parameter print command = /usr/bin/lpr -r -P%p %s
doing parameter lpq command = /usr/bin/lpq -P%p
doing parameter lprm command = /usr/bin/lprm -P%p %j
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: ROLE_DOMAIN_PDC
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=172.24.150.210 bcast=172.24.151.255 nmask=255.255.254.0
resolve_lmhosts: Attempting lmhosts lookup for name localhost<0x20>
getlmhostsent: lmhost entry: 127.0.0.1 localhost 
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
error connecting to 127.0.0.1:445 (Connection refused)
Connecting to 127.0.0.1 at port 139
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 = 16384
socket option SO_RCVBUF = 16384
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
write_socket(3,72)
write_socket(3,72) wrote 72
Sent session request
got smb length of 0
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
write_socket(3,168)
write_socket(3,168) wrote 168
got smb length of 85
size=85
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=3162
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]=1024 (0x400)
smb_vwv[4]=65 (0x41)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=23296 (0x5B00)
smb_vwv[8]=12 (0xC)
smb_vwv[9]=63744 (0xF900)
smb_vwv[10]=227 (0xE3)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=3367 (0xD27)
smb_vwv[13]=2811 (0xAFB)
smb_vwv[14]=49786 (0xC27A)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]=2048 (0x800)
smb_bcc=16
[000] 04 0B DF 23 F2 0A A6 53  4C 49 4D 42 41 43 48 00  ...#...S LIMBACH.
size=85
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=3162
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]=1024 (0x400)
smb_vwv[4]=65 (0x41)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=23296 (0x5B00)
smb_vwv[8]=12 (0xC)
smb_vwv[9]=63744 (0xF900)
smb_vwv[10]=227 (0xE3)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=3367 (0xD27)
smb_vwv[13]=2811 (0xAFB)
smb_vwv[14]=49786 (0xC27A)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]=2048 (0x800)
smb_bcc=16
[000] 04 0B DF 23 F2 0A A6 53  4C 49 4D 42 41 43 48 00  ...#...S LIMBACH.
write_socket(3,134)
write_socket(3,134) wrote 134
got smb length of 66
size=66
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=3162
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=25
[000] 55 6E 69 78 00 53 61 6D  62 61 20 32 2E 32 2E 36  Unix.Sam ba 2.2.6
[010] 00 4C 49 4D 42 41 43 48  00                       .LIMBACH .
size=66
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=3162
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=25
[000] 55 6E 69 78 00 53 61 6D  62 61 20 32 2E 32 2E 36  Unix.Sam ba 2.2.6
[010] 00 4C 49 4D 42 41 43 48  00                       .LIMBACH .
write_socket(3,69)
write_socket(3,69) wrote 69
got smb length of 49
size=49
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
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=8
[000] 49 50 43 00 49 50 43 00                           IPC.IPC. 
cli_init_creds: user root domain è!@ flgs: 0
ntlmssp_cli_flgs:0
write_socket(3,95)
write_socket(3,95) wrote 95
got smb length of 103
size=103
smb_com=0xa2
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
smb_uid=100
smb_mid=1
smt_wct=34
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=7424 (0x1D00)
smb_vwv[3]=371 (0x173)
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[731d]: \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     : 03
    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:731d
size=146
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=16385
smb_tid=1
smb_pid=3162
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]=74 (0x4A)
smb_vwv[11]=72 (0x48)
smb_vwv[12]=74 (0x4A)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29469 (0x731D)
smb_bcc=79
[000] 5C 50 49 50 45 5C 00 05  00 0B 03 10 00 00 00 48  \PIPE\.. .......H
[010] 00 00 00 01 00 00 00 30  16 30 16 00 00 00 00 01  .......0 .0......
[020] 00 00 00 00 00 01 00 78  57 34 12 34 12 CD AB EF  .......x W4.4....
[030] 00 01 23 45 67 89 AB 00  00 00 00 04 5D 88 8A EB  ..#Eg... ....]...
[040] 1C C9 11 9F E8 08 00 2B  10 48 60 02 00 00 00     .......+ .H`....
write_socket(3,150)
write_socket(3,150) wrote 150
got smb length of 124
size=124
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
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=1
smb_tid=1
smb_pid=3162
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
data_len: 44 data_calc_len: 44
rpc_api_pipe: cmd:26 fnum:731d
size=142
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=16385
smb_tid=1
smb_pid=3162
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]=74 (0x4A)
smb_vwv[11]=68 (0x44)
smb_vwv[12]=74 (0x4A)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29469 (0x731D)
smb_bcc=75
[000] 5C 50 49 50 45 5C 00 05  00 00 03 10 00 00 00 44  \PIPE\.. .......D
[010] 00 00 00 02 00 00 00 34  00 00 00 00 00 06 00 01  .......4 ........
[020] 00 00 00 5C 00 00 00 18  00 00 00 00 00 00 00 00  ...\.... ........
[030] 00 00 00 00 00 00 00 00  00 00 00 01 00 00 00 0C  ........ ........
[040] 00 00 00 02 00 01 00 00  00 00 02                 ........ ...
write_socket(3,146)
write_socket(3,146) wrote 146
got smb length of 104
size=104
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
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 46 B7 B5  3D 5B 0C 00 00 00 00 00  .....F.. =[......
[030] 00                                                . 
size=104
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
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 46 B7 B5  3D 5B 0C 00 00 00 00 00  .....F.. =[......
[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: 46 b7 b5 3d 5b 0c 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: 46 b7 b5 3d 5b 0c 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
data_len: 2e data_calc_len: 2e
rpc_api_pipe: cmd:26 fnum:731d
size=120
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=16385
smb_tid=1
smb_pid=3162
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]=74 (0x4A)
smb_vwv[11]=46 (0x2E)
smb_vwv[12]=74 (0x4A)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29469 (0x731D)
smb_bcc=53
[000] 5C 50 49 50 45 5C 00 05  00 00 03 10 00 00 00 2E  \PIPE\.. ........
[010] 00 00 00 03 00 00 00 1E  00 00 00 00 00 07 00 00  ........ ........
[020] 00 00 00 01 00 00 00 00  00 00 00 46 B7 B5 3D 5B  ........ ...F..=[
[030] 0C 00 00 05 00                                    ..... 
write_socket(3,124)
write_socket(3,124) wrote 124
got smb length of 102
size=102
smb_com=0x25
smb_rcls=5
smb_reh=0
smb_err=32768
smb_flg=136
smb_flg2=16385
smb_tid=1
smb_pid=3162
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 68 00 00 00 03 00 00  ........ .h......
[010] 00 50 00 00 00 00 00 00  00 00 00 00 22 05 00 00  .P...... ...."...
[020] 00 0E 00 10 00 01 00 00  00 01 00 00 00 08 00     ........ .......
size=102
smb_com=0x25
smb_rcls=5
smb_reh=0
smb_err=32768
smb_flg=136
smb_flg2=16385
smb_tid=1
smb_pid=3162
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 68 00 00 00 03 00 00  ........ .h......
[010] 00 50 00 00 00 00 00 00  00 00 00 00 22 05 00 00  .P...... ...."...
[020] 00 0E 00 10 00 01 00 00  00 01 00 00 00 08 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  : 0068
    000a auth_len  : 0000
    000c call_id   : 00000003
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
    0010 alloc_hint: 00000050
    0014 context_id: 0000
    0016 cancel_ct : 00
    0017 reserved  : 00
rpc_api_pipe: len left: 58 smbtrans read: 46
rpc_read: data_to_read: 58 rdata offset: 46 extra_data_size: 58
rpc_read: grew buffer by 58 bytes to 104
write_socket(3,59)
write_socket(3,59) wrote 59
got smb length of 117
size=117
smb_com=0x2e
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
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]=58 (0x3A)
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=58
[000] 00 00 00 00 00 00 07 00  00 00 4C 00 49 00 4D 00  ........ ..L.I.M.
[010] 42 00 41 00 43 00 48 00  00 00 04 00 00 00 01 04  B.A.C.H. ........
[020] 00 00 00 00 00 05 15 00  00 00 9A 2B 1C 11 58 19  ........ ...+..X.
[030] 55 28 75 89 FE DC 00 00  00 00                    U(u..... ..
rpc_read: num_read = 58, read offset: 0, to read: 58
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: 000e
        0022 uni_dom_str_len: 0010
        0024 buffer_dom_name: 00000001
        0028 buffer_dom_sid : 00000001
        00002c smb_io_unistr2 unistr2
            002c uni_max_len: 00000008
            0030 undoc      : 00000000
            0034 uni_str_len: 00000007
            0038 buffer     : L.I.M.B.A.C.H.
        000048 smb_io_dom_sid2 
            0048 num_auths: 00000004
            00004c smb_io_dom_sid sid
                004c sid_rev_num: 01
                004d num_auths  : 04
                004e id_auth[0] : 00
                004f id_auth[1] : 00
                0050 id_auth[2] : 00
                0051 id_auth[3] : 00
                0052 id_auth[4] : 00
                0053 id_auth[5] : 05
                0054 sub_auths : 00000015 111c2b9a 28551958 dcfe8975 
    0064 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: 46 b7 b5 3d 5b 0c 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
data_len: 2c data_calc_len: 2c
rpc_api_pipe: cmd:26 fnum:731d
size=118
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=16385
smb_tid=1
smb_pid=3162
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]=74 (0x4A)
smb_vwv[11]=44 (0x2C)
smb_vwv[12]=74 (0x4A)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29469 (0x731D)
smb_bcc=51
[000] 5C 50 49 50 45 5C 00 05  00 00 03 10 00 00 00 2C  \PIPE\.. .......,
[010] 00 00 00 04 00 00 00 1C  00 00 00 00 00 00 00 00  ........ ........
[020] 00 00 00 01 00 00 00 00  00 00 00 46 B7 B5 3D 5B  ........ ...F..=[
[030] 0C 00 00                                          ... 
write_socket(3,122)
write_socket(3,122) wrote 122
got smb length of 100
size=100
smb_com=0x25
smb_rcls=5
smb_reh=0
smb_err=32768
smb_flg=136
smb_flg2=16385
smb_tid=1
smb_pid=3162
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=16385
smb_tid=1
smb_pid=3162
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=1
smb_tid=1
smb_pid=3162
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=1
smb_tid=1
smb_pid=3162
smb_uid=100
smb_mid=1
smt_wct=0
smb_bcc=0
cmd = setdriver business4 business4
write_socket(3,96)
write_socket(3,96) wrote 96
got smb length of 103
size=103
smb_com=0xa2
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
smb_uid=100
smb_mid=1
smt_wct=34
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=7680 (0x1E00)
smb_vwv[3]=371 (0x173)
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[731e]: \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     : 03
    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:731e
size=146
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=16385
smb_tid=1
smb_pid=3162
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]=74 (0x4A)
smb_vwv[11]=72 (0x48)
smb_vwv[12]=74 (0x4A)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29470 (0x731E)
smb_bcc=79
[000] 5C 50 49 50 45 5C 00 05  00 0B 03 10 00 00 00 48  \PIPE\.. .......H
[010] 00 00 00 05 00 00 00 30  16 30 16 00 00 00 00 01  .......0 .0......
[020] 00 00 00 00 00 01 00 78  56 34 12 34 12 CD AB EF  .......x V4.4....
[030] 00 01 23 45 67 89 AB 01  00 00 00 04 5D 88 8A EB  ..#Eg... ....]...
[040] 1C C9 11 9F E8 08 00 2B  10 48 60 02 00 00 00     .......+ .H`....
write_socket(3,150)
write_socket(3,150) wrote 150
got smb length of 124
size=124
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
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=1
smb_tid=1
smb_pid=3162
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: 00000016
        0008 undoc      : 00000000
        000c uni_str_len: 00000016
        0010 buffer     : \.\.L.O.C.A.L.H.O.S.T.\.b.u.s.i.n.e.s.s.4...
    00003c spoolss_io_printer_default 
        003c datatype_ptr: 00000000
        000040 smb_io_unistr2 - NULL datatype
        000040 spoolss_io_devmode_cont 
            0040 size: 00000000
            0044 devmode_ptr: 00000000
        0048 access_required: 000f000c
    004c user_switch: 00000001
    000050 spool_io_user_level 
        0050 level: 00000001
        0054 ptr: 00000001
        000058  
            0058 size: 00000019
            005c client_name_ptr: 00000001
            0060 user_name_ptr: 00000001
            0064 build: 00000565
            0068 major: 00000002
            006c minor: 00000000
            0070 processor: 00000000
            000074 smb_io_unistr2 
                0074 uni_max_len: 0000000c
                0078 undoc      : 00000000
                007c uni_str_len: 0000000c
                0080 buffer     : \.\.L.O.C.A.L.H.O.S.T...
            000098 smb_io_unistr2 
                0098 uni_max_len: 00000005
                009c undoc      : 00000000
                00a0 uni_str_len: 00000005
                00a4 buffer     : r.o.o.t...
rpc_api_pipe_req: Outgoing data not a multiple of 8 bytes....
create_rpc_request: opnum: 0x45 data_len: 0xc6
create_rpc_request: data_len: c6 auth_len: 0 alloc_hint: b6
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  : 00c6
    000a auth_len  : 0000
    000c call_id   : 00000006
000010 smb_io_rpc_hdr_req hdr_req
    0010 alloc_hint: 000000b6
    0014 context_id: 0000
    0016 opnum     : 0045
data_len: c6 data_calc_len: c6
rpc_api_pipe: cmd:26 fnum:731e
size=272
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=16385
smb_tid=1
smb_pid=3162
smb_uid=100
smb_mid=1
smt_wct=16
smb_vwv[0]=0 (0x0)
smb_vwv[1]=198 (0xC6)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=198 (0xC6)
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]=74 (0x4A)
smb_vwv[11]=198 (0xC6)
smb_vwv[12]=74 (0x4A)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29470 (0x731E)
smb_bcc=205
[000] 5C 50 49 50 45 5C 00 05  00 00 03 10 00 00 00 C6  \PIPE\.. ........
[010] 00 00 00 06 00 00 00 B6  00 00 00 00 00 45 00 01  ........ .....E..
[020] 00 00 00 16 00 00 00 00  00 00 00 16 00 00 00 5C  ........ .......\
[030] 00 5C 00 4C 00 4F 00 43  00 41 00 4C 00 48 00 4F  .\.L.O.C .A.L.H.O
[040] 00 53 00 54 00 5C 00 62  00 75 00 73 00 69 00 6E  .S.T.\.b .u.s.i.n
[050] 00 65 00 73 00 73 00 34  00 00 00 00 00 00 00 00  .e.s.s.4 ........
[060] 00 00 00 00 00 00 00 0C  00 0F 00 01 00 00 00 01  ........ ........
[070] 00 00 00 01 00 00 00 19  00 00 00 01 00 00 00 01  ........ ........
[080] 00 00 00 65 05 00 00 02  00 00 00 00 00 00 00 00  ...e.... ........
[090] 00 00 00 0C 00 00 00 00  00 00 00 0C 00 00 00 5C  ........ .......\
[0A0] 00 5C 00 4C 00 4F 00 43  00 41 00 4C 00 48 00 4F  .\.L.O.C .A.L.H.O
[0B0] 00 53 00 54 00 00 00 05  00 00 00 00 00 00 00 05  .S.T.... ........
[0C0] 00 00 00 72 00 6F 00 6F  00 74 00 00 00           ...r.o.o .t...
write_socket(3,276)
write_socket(3,276) wrote 276
got smb length of 104
size=104
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
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 46 B7 B5  3D 5B 0C 00 00 00 00 00  .....F.. =[......
[030] 00                                                . 
size=104
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
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 46 B7 B5  3D 5B 0C 00 00 00 00 00  .....F.. =[......
[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: 46 b7 b5 3d 5b 0c 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: 46 b7 b5 3d 5b 0c 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
data_len: 38 data_calc_len: 38
rpc_api_pipe: cmd:26 fnum:731e
size=130
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=16385
smb_tid=1
smb_pid=3162
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]=74 (0x4A)
smb_vwv[11]=56 (0x38)
smb_vwv[12]=74 (0x4A)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29470 (0x731E)
smb_bcc=63
[000] 5C 50 49 50 45 5C 00 05  00 00 03 10 00 00 00 38  \PIPE\.. .......8
[010] 00 00 00 07 00 00 00 28  00 00 00 00 00 08 00 00  .......( ........
[020] 00 00 00 02 00 00 00 00  00 00 00 46 B7 B5 3D 5B  ........ ...F..=[
[030] 0C 00 00 02 00 00 00 00  00 00 00 00 00 00 00     ........ .......
write_socket(3,134)
write_socket(3,134) wrote 134
got smb length of 92
size=92
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
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 AC 01 00  ........ ........
[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=1
smb_tid=1
smb_pid=3162
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 AC 01 00  ........ ........
[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: 000001ac
    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: 46 b7 b5 3d 5b 0c 00 00 
    0014 level: 00000002
    000018 spoolss_io_buffer 
        0018 ptr: 00000001
        001c size: 000001ac
    01cc offered: 000001ac
create_rpc_request: opnum: 0x8 data_len: 0x1e8
create_rpc_request: data_len: 1e8 auth_len: 0 alloc_hint: 1d8
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  : 01e8
    000a auth_len  : 0000
    000c call_id   : 00000008
000010 smb_io_rpc_hdr_req hdr_req
    0010 alloc_hint: 000001d8
    0014 context_id: 0000
    0016 opnum     : 0008
data_len: 1e8 data_calc_len: 1e8
rpc_api_pipe: cmd:26 fnum:731e
size=562
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=16385
smb_tid=1
smb_pid=3162
smb_uid=100
smb_mid=1
smt_wct=16
smb_vwv[0]=0 (0x0)
smb_vwv[1]=488 (0x1E8)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=488 (0x1E8)
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]=74 (0x4A)
smb_vwv[11]=488 (0x1E8)
smb_vwv[12]=74 (0x4A)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29470 (0x731E)
smb_bcc=495
[000] 5C 50 49 50 45 5C 00 05  00 00 03 10 00 00 00 E8  \PIPE\.. ........
[010] 01 00 00 08 00 00 00 D8  01 00 00 00 00 08 00 00  ........ ........
[020] 00 00 00 02 00 00 00 00  00 00 00 46 B7 B5 3D 5B  ........ ...F..=[
[030] 0C 00 00 02 00 00 00 01  00 00 00 AC 01 00 00 00  ........ ........
[040] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[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 00  ........ ........
[1C0] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[1D0] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[1E0] 00 00 00 00 00 00 00 00  00 00 00 AC 01 00 00     ........ .......
write_socket(3,566)
write_socket(3,566) wrote 566
got smb length of 524
size=524
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=468 (0x1D4)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=468 (0x1D4)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=469
[000] 00 05 00 02 03 10 00 00  00 D4 01 00 00 08 00 00  ........ ........
[010] 00 BC 01 00 00 00 00 00  00 01 00 00 00 AC 01 00  ........ ........
[020] 00 94 01 00 00 68 01 00  00 54 01 00 00 2E 01 00  .....h.. .T......
[030] 00 2C 01 00 00 08 01 00  00 06 01 00 00 00 00 00  .,...... ........
[040] 00 04 01 00 00 F2 00 00  00 EA 00 00 00 E8 00 00  ........ ........
[050] 00 00 00 00 00 18 00 00  00 01 00 00 00 01 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 52 00 41 00 57  ........ ...R.A.W
[110] 00 00 00 77 00 69 00 6E  00 70 00 72 00 69 00 6E  ...w.i.n .p.r.i.n
[120] 00 74 00 00 00 00 00 00  00 48 00 50 00 20 00 4C  .t...... .H.P. .L
[130] 00 61 00 73 00 65 00 72  00 4A 00 65 00 74 00 20  .a.s.e.r .J.e.t. 
[140] 00 34 00 30 00 30 00 30  00 6E 00 00 00 00 00 53  .4.0.0.0 .n.....S
[150] 00 61 00 6D 00 62 00 61  00 20 00 50 00 72 00 69  .a.m.b.a . .P.r.i
[160] 00 6E 00 74 00 65 00 72  00 20 00 50 00 6F 00 72  .n.t.e.r . .P.o.r
[170] 00 74 00 00 00 62 00 75  00 73 00 69 00 6E 00 65  .t...b.u .s.i.n.e
[180] 00 73 00 73 00 34 00 00  00 5C 00 5C 00 6C 00 6F  .s.s.4.. .\.\.l.o
[190] 00 63 00 61 00 6C 00 68  00 6F 00 73 00 74 00 5C  .c.a.l.h .o.s.t.\
[1A0] 00 62 00 75 00 73 00 69  00 6E 00 65 00 73 00 73  .b.u.s.i .n.e.s.s
[1B0] 00 34 00 00 00 5C 00 5C  00 6C 00 6F 00 63 00 61  .4...\.\ .l.o.c.a
[1C0] 00 6C 00 68 00 6F 00 73  00 74 00 00 00 AC 01 00  .l.h.o.s .t......
[1D0] 00 00 00 00 00                                    ..... 
size=524
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=468 (0x1D4)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=468 (0x1D4)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=469
[000] 00 05 00 02 03 10 00 00  00 D4 01 00 00 08 00 00  ........ ........
[010] 00 BC 01 00 00 00 00 00  00 01 00 00 00 AC 01 00  ........ ........
[020] 00 94 01 00 00 68 01 00  00 54 01 00 00 2E 01 00  .....h.. .T......
[030] 00 2C 01 00 00 08 01 00  00 06 01 00 00 00 00 00  .,...... ........
[040] 00 04 01 00 00 F2 00 00  00 EA 00 00 00 E8 00 00  ........ ........
[050] 00 00 00 00 00 18 00 00  00 01 00 00 00 01 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 52 00 41 00 57  ........ ...R.A.W
[110] 00 00 00 77 00 69 00 6E  00 70 00 72 00 69 00 6E  ...w.i.n .p.r.i.n
[120] 00 74 00 00 00 00 00 00  00 48 00 50 00 20 00 4C  .t...... .H.P. .L
[130] 00 61 00 73 00 65 00 72  00 4A 00 65 00 74 00 20  .a.s.e.r .J.e.t. 
[140] 00 34 00 30 00 30 00 30  00 6E 00 00 00 00 00 53  .4.0.0.0 .n.....S
[150] 00 61 00 6D 00 62 00 61  00 20 00 50 00 72 00 69  .a.m.b.a . .P.r.i
[160] 00 6E 00 74 00 65 00 72  00 20 00 50 00 6F 00 72  .n.t.e.r . .P.o.r
[170] 00 74 00 00 00 62 00 75  00 73 00 69 00 6E 00 65  .t...b.u .s.i.n.e
[180] 00 73 00 73 00 34 00 00  00 5C 00 5C 00 6C 00 6F  .s.s.4.. .\.\.l.o
[190] 00 63 00 61 00 6C 00 68  00 6F 00 73 00 74 00 5C  .c.a.l.h .o.s.t.\
[1A0] 00 62 00 75 00 73 00 69  00 6E 00 65 00 73 00 73  .b.u.s.i .n.e.s.s
[1B0] 00 34 00 00 00 5C 00 5C  00 6C 00 6F 00 63 00 61  .4...\.\ .l.o.c.a
[1C0] 00 6C 00 68 00 6F 00 73  00 74 00 00 00 AC 01 00  .l.h.o.s .t......
[1D0] 00 00 00 00 00                                    ..... 
rpc_check_hdr: rdata->data_size = 468
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  : 01d4
    000a auth_len  : 0000
    000c call_id   : 00000008
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
    0010 alloc_hint: 000001bc
    0014 context_id: 0000
    0016 cancel_ct : 00
    0017 reserved  : 00
rpc_api_pipe: len left: 0 smbtrans read: 468
rpc_api_pipe: fragment first and last both set
000018 spoolss_io_r_getprinter 
    000018 spoolss_io_buffer 
        0018 ptr: 00000001
        001c size: 000001ac
    01cc needed: 000001ac
    01d0 status: WERR_OK
000000 smb_io_printer_info_2 
    0000 offset: 00000194
    000194 smb_io_unistr servername
    0004 offset: 00000168
    000168 smb_io_unistr printername
    0008 offset: 00000154
    000154 smb_io_unistr sharename
    000c offset: 0000012e
    00012e smb_io_unistr portname
    0010 offset: 0000012c
    00012c smb_io_unistr drivername
    0014 offset: 00000108
    000108 smb_io_unistr comment
    0018 offset: 00000106
    000106 smb_io_unistr location
    001c devmode: 00000000
    0020 offset: 00000104
    000104 smb_io_unistr sepfile
    0024 offset: 000000f2
    0000f2 smb_io_unistr printprocessor
    0028 offset: 000000ea
    0000ea smb_io_unistr datatype
    002c offset: 000000e8
    0000e8 smb_io_unistr parameters
    0030 sec_desc: 00000000
    00001c smb_io_reldevmode devmode
        001c offset: 00000000
    0034 attributes: 00000018
    0038 priority: 00000001
    003c defpriority: 00000001
    0040 starttime: 00000000
    0044 untiltime: 00000000
    0048 status: 00000000
    004c jobs: 00000000
    0050 averageppm: 00000000
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: 46 b7 b5 3d 5b 0c 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: 00000000
            0054 attributes: 00000018
            0058 priority: 00000001
            005c default_priority: 00000001
            0060 starttime: 00000000
            0064 untiltime: 00000000
            0068 status: 00000000
            006c cjobs: 00000000
            0070 averageppm: 00000000
            000074 smb_io_unistr2 servername
                0074 uni_max_len: 0000000c
                0078 undoc      : 00000000
                007c uni_str_len: 0000000c
                0080 buffer     : \.\.l.o.c.a.l.h.o.s.t...
            000098 smb_io_unistr2 printername
                0098 uni_max_len: 00000016
                009c undoc      : 00000000
                00a0 uni_str_len: 00000016
                00a4 buffer     : \.\.l.o.c.a.l.h.o.s.t.\.b.u.s.i.n.e.s.s.4...
            0000d0 smb_io_unistr2 sharename
                00d0 uni_max_len: 0000000a
                00d4 undoc      : 00000000
                00d8 uni_str_len: 0000000a
                00dc buffer     : b.u.s.i.n.e.s.s.4...
            0000f0 smb_io_unistr2 portname
                00f0 uni_max_len: 00000013
                00f4 undoc      : 00000000
                00f8 uni_str_len: 00000013
                00fc buffer     : S.a.m.b.a. .P.r.i.n.t.e.r. .P.o.r.t...
            000122 smb_io_unistr2 drivername
                0124 uni_max_len: 0000000a
                0128 undoc      : 00000000
                012c uni_str_len: 0000000a
                0130 buffer     : b.u.s.i.n.e.s.s.4...
            000144 smb_io_unistr2 comment
                0144 uni_max_len: 00000012
                0148 undoc      : 00000000
                014c uni_str_len: 00000012
                0150 buffer     : H.P. .L.a.s.e.r.J.e.t. .4.0.0.0.n...
            000174 smb_io_unistr2 - NULL location
            000174 smb_io_unistr2 - NULL sepfile
            000174 smb_io_unistr2 printprocessor
                0174 uni_max_len: 00000009
                0178 undoc      : 00000000
                017c uni_str_len: 00000009
                0180 buffer     : w.i.n.p.r.i.n.t...
            000192 smb_io_unistr2 datatype
                0194 uni_max_len: 00000004
                0198 undoc      : 00000000
                019c uni_str_len: 00000004
                01a0 buffer     : R.A.W...
            0001a8 smb_io_unistr2 - NULL parameters
    0001a8 spoolss_io_devmode_cont 
        01a8 size: 00000000
        01ac devmode_ptr: 00000000
    0001b0 sec_io_desc_buf 
        01b0 size: 00000000
        01b4 ptr: 00000000
    01b8 command: 00000000
rpc_api_pipe_req: Outgoing data not a multiple of 8 bytes....
create_rpc_request: opnum: 0x7 data_len: 0x1d4
create_rpc_request: data_len: 1d4 auth_len: 0 alloc_hint: 1c4
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  : 01d4
    000a auth_len  : 0000
    000c call_id   : 00000009
000010 smb_io_rpc_hdr_req hdr_req
    0010 alloc_hint: 000001c4
    0014 context_id: 0000
    0016 opnum     : 0007
data_len: 1d4 data_calc_len: 1d4
rpc_api_pipe: cmd:26 fnum:731e
size=542
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=16385
smb_tid=1
smb_pid=3162
smb_uid=100
smb_mid=1
smt_wct=16
smb_vwv[0]=0 (0x0)
smb_vwv[1]=468 (0x1D4)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=468 (0x1D4)
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]=74 (0x4A)
smb_vwv[11]=468 (0x1D4)
smb_vwv[12]=74 (0x4A)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29470 (0x731E)
smb_bcc=475
[000] 5C 50 49 50 45 5C 00 05  00 00 03 10 00 00 00 D4  \PIPE\.. ........
[010] 01 00 00 09 00 00 00 C4  01 00 00 00 00 07 00 00  ........ ........
[020] 00 00 00 02 00 00 00 00  00 00 00 46 B7 B5 3D 5B  ........ ...F..=[
[030] 0C 00 00 02 00 00 00 02  00 00 00 01 00 00 00 01  ........ ........
[040] 00 00 00 01 00 00 00 01  00 00 00 01 00 00 00 01  ........ ........
[050] 00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[060] 00 00 00 01 00 00 00 01  00 00 00 00 00 00 00 00  ........ ........
[070] 00 00 00 18 00 00 00 01  00 00 00 01 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 0C 00 00 00 00  00 00 00 0C 00 00 00 5C  ........ .......\
[0A0] 00 5C 00 6C 00 6F 00 63  00 61 00 6C 00 68 00 6F  .\.l.o.c .a.l.h.o
[0B0] 00 73 00 74 00 00 00 16  00 00 00 00 00 00 00 16  .s.t.... ........
[0C0] 00 00 00 5C 00 5C 00 6C  00 6F 00 63 00 61 00 6C  ...\.\.l .o.c.a.l
[0D0] 00 68 00 6F 00 73 00 74  00 5C 00 62 00 75 00 73  .h.o.s.t .\.b.u.s
[0E0] 00 69 00 6E 00 65 00 73  00 73 00 34 00 00 00 0A  .i.n.e.s .s.4....
[0F0] 00 00 00 00 00 00 00 0A  00 00 00 62 00 75 00 73  ........ ...b.u.s
[100] 00 69 00 6E 00 65 00 73  00 73 00 34 00 00 00 13  .i.n.e.s .s.4....
[110] 00 00 00 00 00 00 00 13  00 00 00 53 00 61 00 6D  ........ ...S.a.m
[120] 00 62 00 61 00 20 00 50  00 72 00 69 00 6E 00 74  .b.a. .P .r.i.n.t
[130] 00 65 00 72 00 20 00 50  00 6F 00 72 00 74 00 00  .e.r. .P .o.r.t..
[140] 00 00 00 0A 00 00 00 00  00 00 00 0A 00 00 00 62  ........ .......b
[150] 00 75 00 73 00 69 00 6E  00 65 00 73 00 73 00 34  .u.s.i.n .e.s.s.4
[160] 00 00 00 12 00 00 00 00  00 00 00 12 00 00 00 48  ........ .......H
[170] 00 50 00 20 00 4C 00 61  00 73 00 65 00 72 00 4A  .P. .L.a .s.e.r.J
[180] 00 65 00 74 00 20 00 34  00 30 00 30 00 30 00 6E  .e.t. .4 .0.0.0.n
[190] 00 00 00 09 00 00 00 00  00 00 00 09 00 00 00 77  ........ .......w
[1A0] 00 69 00 6E 00 70 00 72  00 69 00 6E 00 74 00 00  .i.n.p.r .i.n.t..
[1B0] 00 00 00 04 00 00 00 00  00 00 00 04 00 00 00 52  ........ .......R
[1C0] 00 41 00 57 00 00 00 00  00 00 00 00 00 00 00 00  .A.W.... ........
[1D0] 00 00 00 00 00 00 00 00  00 00 00                 ........ ...
write_socket(3,546)
write_socket(3,546) wrote 546
got smb length of 84
size=84
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=28 (0x1C)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=28 (0x1C)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=29
[000] 00 05 00 02 03 10 00 00  00 1C 00 00 00 09 00 00  ........ ........
[010] 00 04 00 00 00 00 00 00  00 05 00 00 00           ........ .....
size=84
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=3162
smb_uid=100
smb_mid=1
smt_wct=10
smb_vwv[0]=0 (0x0)
smb_vwv[1]=28 (0x1C)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=0 (0x0)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=28 (0x1C)
smb_vwv[7]=56 (0x38)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=29
[000] 00 05 00 02 03 10 00 00  00 1C 00 00 00 09 00 00  ........ ........
[010] 00 04 00 00 00 00 00 00  00 05 00 00 00           ........ .....
rpc_check_hdr: rdata->data_size = 28
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  : 001c
    000a auth_len  : 0000
    000c call_id   : 00000009
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
    0010 alloc_hint: 00000004
    0014 context_id: 0000
    0016 cancel_ct : 00
    0017 reserved  : 00
rpc_api_pipe: len left: 0 smbtrans read: 28
rpc_api_pipe: fragment first and last both set
000018 spoolss_io_r_setprinter 
    0018 status: WERR_ACCESS_DENIED
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: 46 b7 b5 3d 5b 0c 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   : 0000000a
000010 smb_io_rpc_hdr_req hdr_req
    0010 alloc_hint: 0000001c
    0014 context_id: 0000
    0016 opnum     : 001d
data_len: 2c data_calc_len: 2c
rpc_api_pipe: cmd:26 fnum:731e
size=118
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=16385
smb_tid=1
smb_pid=3162
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]=74 (0x4A)
smb_vwv[11]=44 (0x2C)
smb_vwv[12]=74 (0x4A)
smb_vwv[13]=2 (0x2)
smb_vwv[14]=38 (0x26)
smb_vwv[15]=29470 (0x731E)
smb_bcc=51
[000] 5C 50 49 50 45 5C 00 05  00 00 03 10 00 00 00 2C  \PIPE\.. .......,
[010] 00 00 00 0A 00 00 00 1C  00 00 00 00 00 1D 00 00  ........ ........
[020] 00 00 00 02 00 00 00 00  00 00 00 46 B7 B5 3D 5B  ........ ...F..=[
[030] 0C 00 00                                          ... 
write_socket(3,122)
write_socket(3,122) wrote 122
got smb length of 100
size=100
smb_com=0x25
smb_rcls=5
smb_reh=0
smb_err=32768
smb_flg=136
smb_flg2=16385
smb_tid=1
smb_pid=3162
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 0A 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=16385
smb_tid=1
smb_pid=3162
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 0A 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   : 0000000a
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=1
smb_tid=1
smb_pid=3162
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=1
smb_tid=1
smb_pid=3162
smb_uid=100
smb_mid=1
smt_wct=0
smb_bcc=0
result was NT_STATUS_UNSUCCESSFUL






More information about the samba mailing list