Hello list,

slowly I am at the end of my wisdom ...

---
Problem: rpcclient -c'adddriver' won't add driver information
---
Symptoms: rpcclient (debug level 4) exits with:
[...]
lsa_io_sec_qos: length c does not match size 8
result was DOS code 0x00000003
---
Syntax:
After shifting thru gigabyte of useless garbage mailling-list archives i
found the fitting part of a Samba-HOWTO:

rpcclient -U'root%{youdliketoknow}' -c'adddriver "Windows NT x86"
"cnlbp4u:UNIDRV.DLL:CNLBP4U.GPD:UNIDRVUI.DLL:UNIDRV.HLP:NULL:RAW: \
UNIDRV.DLL,CNLBP4U.GPD,UNIDRVUI.DLL,UNIDRV.HLP,CNLBPRES.DLL, \
UNIRES.DLL,STDNAMES.GPD"' LINUX -d 4

(the \ are used for readability) - and as you see, there are 7 semi-colons
seperating the files in the adddriver command.
---
Current configuration as thrown out by testparm:
Load smb config files from /etc/samba/smb.conf
Processing section "[print$]"
Processing section "[netlogon]"
Processing section "[lbp4u]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

# Global parameters
[global]
        workgroup = POPPE
        server string = Samba 3.0.7 Server
        security = SHARE
        map to guest = Bad User
        null passwords = Yes
        guest account = smbguest
        username map = /etc/samba/smbusers
        name resolve order = wins lmhosts bcast
        time server = Yes
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192
SO_SNDBUF=8192
        printcap cache time = 750
        os level = 100
        wins support = Yes
        printer admin = @ntadmin, root
        cups options = raw
[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin, root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775
        guest ok = Yes
[netlogon]
        comment = NetLogon
        path = /var/lib/samba/netlogon
        browseable = No
[lbp4u]
        comment = Canon LBP4U via AXIS
        path = /var/tmp
        printable = Yes
        print command = lpr -r -P%p %s
---
Any Insight as to whats going wrong here would be very much appreciated !

Regards

Kai M Poppe
---
Debug Output from rpcclient -d 1024:
INFO: Current debug levels:
  all: True/1024
  tdb: False/0
  printdrivers: False/0
  lanman: False/0
  smb: False/0
  rpc_parse: False/0
  rpc_srv: False/0
  rpc_cli: False/0
  passdb: False/0
  sam: False/0
  auth: False/0
  winbind: False/0
  vfs: False/0
  idmap: False/0
  quota: False/0
  acls: False/0
added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="LINUX"
Connecting to host=LINUX
internal_resolve_name: looking up LINUX#20
Opening cache file at /var/lib/samba/gencache.tdb
Returning valid cache entry: key = NBT/LINUX#20, value = 192.168.0.3:0,
timeout = Wed Sep 29 15:19:54 2004

name LINUX#20 found.
Connecting to 192.168.0.3 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 = 16
socket option IPTOS_THROUGHPUT = 16
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(4,183)
write_socket(4,183) wrote 183
got smb length of 89
size=89
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=9203
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[ 0]=    7 (0x7)
smb_vwv[ 1]=12802 (0x3202)
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]=62464 (0xF400)
smb_vwv[ 8]=   35 (0x23)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]=32995 (0x80E3)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=35374 (0x8A2E)
smb_vwv[13]= 9958 (0x26E6)
smb_vwv[14]=50342 (0xC4A6)
smb_vwv[15]=34817 (0x8801)
smb_vwv[16]= 2303 (0x8FF)
smb_bcc=20
[000] C4 D1 5A C5 24 91 C1 12  50 00 4F 00 50 00 50 00  ÄÑZÅ$.Á. P.O.P.P.
[010] 45 00 00 00                                       E...
size=89
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=9203
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[ 0]=    7 (0x7)
smb_vwv[ 1]=12802 (0x3202)
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]=62464 (0xF400)
smb_vwv[ 8]=   35 (0x23)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]=32995 (0x80E3)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=35374 (0x8A2E)
smb_vwv[13]= 9958 (0x26E6)
smb_vwv[14]=50342 (0xC4A6)
smb_vwv[15]=34817 (0x8801)
smb_vwv[16]= 2303 (0x8FF)
smb_bcc=20
[000] C4 D1 5A C5 24 91 C1 12  50 00 4F 00 50 00 50 00  ÄÑZÅ$.Á. P.O.P.P.
[010] 45 00 00 00                                       E...
Serverzone is -7200
write_socket(4,134)
write_socket(4,134) wrote 134
got smb length of 98
size=98
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=9203
smb_uid=0
smb_mid=2
smt_wct=3
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    1 (0x1)
smb_bcc=57
[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 20 00 33  00 2E 00 30 00 2E 00 37  .b.a. .3 ...0...7
[020] 00 2D 00 53 00 55 00 53  00 45 00 00 00 50 00 4F  .-.S.U.S .E...P.O
size=98
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=9203
smb_uid=0
smb_mid=2
smt_wct=3
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    1 (0x1)
smb_bcc=57
[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 20 00 33  00 2E 00 30 00 2E 00 37  .b.a. .3 ...0...7
[020] 00 2D 00 53 00 55 00 53  00 45 00 00 00 50 00 4F  .-.S.U.S .E...P.O
[030] 00 50 00 50 00 45 00 00  00                       .P.P.E.. .
write_socket(4,102)
write_socket(4,102) wrote 102
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=9203
smb_uid=0
smb_mid=3
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 POPPE
write_socket(4,104)
write_socket(4,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=9203
smb_uid=0
smb_mid=4
smt_wct=34
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=47104 (0xB800)
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[75b8]: \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: 10b8
        0012 max_rsize: 10b8
        0014 assoc_gid: 00000000
    0018 num_elements: 00000001
    001c context_id  : 0000
    001e num_syntaxes: 01
    00001f smb_io_rpc_iface
        000020 smb_io_uuid uuid
            0020 data   : 12345778
            0024 data   : 1234
            0026 data   : abcd
            0028 data   : ef 00
            002a data   : 01 23 45 67 89 ab
        0030 version: 00000000
    000034 smb_io_rpc_iface
        000034 smb_io_uuid uuid
            0034 data   : 8a885d04
            0038 data   : 1ceb
            003a data   : 11c9
            003c data   : 9f e8
            003e data   : 08 00 2b 10 48 60
        0044 version: 00000002
rpc_api_pipe: fnum:75b8
size=154
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=51201
smb_tid=1
smb_pid=9203
smb_uid=0
smb_mid=5
smt_wct=16
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=   72 (0x48)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]= 1024 (0x400)
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]=30136 (0x75B8)
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 03 10 00 00 00 48  00 00 00 01 00 00 00 B8  .......H .......¸
[020] 10 B8 10 00 00 00 00 01  00 00 00 00 00 01 00 78  .¸...... .......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(4,158)
write_socket(4,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=9203
smb_uid=0
smb_mid=5
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 B8 10 B8 10 F0 53 00  00 0C 00 5C 50 49 50 45  .¸.¸.ð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=9203
smb_uid=0
smb_mid=5
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 B8 10 B8 10 F0 53 00  00 0C 00 5C 50 49 50 45  .¸.¸.ð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: 10b8
        0012 max_rsize: 10b8
        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
        000030 smb_io_uuid uuid
            0030 data   : 8a885d04
            0034 data   : 1ceb
            0036 data   : 11c9
            0038 data   : 9f e8
            003a data   : 08 00 2b 10 48 60
        0040 version: 00000002
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
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: fnum:75b8
size=150
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=51201
smb_tid=1
smb_pid=9203
smb_uid=0
smb_mid=6
smt_wct=16
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=   68 (0x44)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]= 4280 (0x10B8)
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]=30136 (0x75B8)
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(4,154)
write_socket(4,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=9203
smb_uid=0
smb_mid=6
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 4C B6 5A  41 F4 23 00 00 00 00 00  .....L¶Z Aô#.....
[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=9203
smb_uid=0
smb_mid=6
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 4C B6 5A  41 F4 23 00 00 00 00 00  .....L¶Z Aô#.....
[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
created /tmp/reply_\PIPE\lsarpc_6.5.prs
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: 4c b6 5a 41 f4 23 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: 4c b6 5a 41 f4 23 00 00
    0014 info_class: 0005
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: fnum:75b8
size=128
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=51201
smb_tid=1
smb_pid=9203
smb_uid=0
smb_mid=7
smt_wct=16
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=   46 (0x2E)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]= 4280 (0x10B8)
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]=30136 (0x75B8)
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 4C B6 5A 41 F4  23 00 00 05 00           ...L¶ZAô #....
write_socket(4,132)
write_socket(4,132) wrote 132
got smb length of 156
size=156
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=9203
smb_uid=0
smb_mid=7
smt_wct=10
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=  100 (0x64)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  100 (0x64)
smb_vwv[ 7]=   56 (0x38)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=101
[000] 00 05 00 02 03 10 00 00  00 64 00 00 00 03 00 00  ........ .d......
[010] 00 4C 00 00 00 00 00 00  00 00 00 00 22 05 00 00  .L...... ...."...
[020] 00 0A 00 0C 00 01 00 00  00 01 00 00 00 06 00 00  ........ ........
[030] 00 00 00 00 00 05 00 00  00 4C 00 49 00 4E 00 55  ........ .L.I.N.U
[040] 00 58 00 00 00 04 00 00  00 01 04 00 00 00 00 00  .X...... ........
[050] 05 15 00 00 00 36 5E 82  C0 D3 AE 18 D5 6F BF A2  .....6^. ÀÓ®.Õo¿¢
[060] 29 00 00 00 00                                    )....
size=156
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=9203
smb_uid=0
smb_mid=7
smt_wct=10
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=  100 (0x64)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  100 (0x64)
smb_vwv[ 7]=   56 (0x38)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=101
[000] 00 05 00 02 03 10 00 00  00 64 00 00 00 03 00 00  ........ .d......
[010] 00 4C 00 00 00 00 00 00  00 00 00 00 22 05 00 00  .L...... ...."...
[020] 00 0A 00 0C 00 01 00 00  00 01 00 00 00 06 00 00  ........ ........
[030] 00 00 00 00 00 05 00 00  00 4C 00 49 00 4E 00 55  ........ .L.I.N.U
[040] 00 58 00 00 00 04 00 00  00 01 04 00 00 00 00 00  .X...... ........
[050] 05 15 00 00 00 36 5E 82  C0 D3 AE 18 D5 6F BF A2  .....6^. ÀÓ®.Õo¿¢
[060] 29 00 00 00 00                                    )....
rpc_check_hdr: rdata->data_size = 100
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  : 0064
    000a auth_len  : 0000
    000c call_id   : 00000003
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
    0010 alloc_hint: 0000004c
    0014 context_id: 0000
    0016 cancel_ct : 00
    0017 reserved  : 00
rpc_api_pipe: len left: 0 smbtrans read: 100
rpc_api_pipe: fragment first and last both set
created /tmp/reply_\PIPE\lsarpc_7.5.prs
000018 lsa_io_r_query
    0018 undoc_buffer: 22000000
    001c info_class: 0005
    000020 lsa_io_dom_query
        0020 uni_dom_max_len: 000a
        0022 uni_dom_str_len: 000c
        0024 buffer_dom_name: 00000001
        0028 buffer_dom_sid : 00000001
        00002c smb_io_unistr2 unistr2
            002c uni_max_len: 00000006
            0030 offset     : 00000000
            0034 uni_str_len: 00000005
            0038 buffer     : L.I.N.U.X.
        000044 smb_io_dom_sid2
            0044 num_auths: 00000004
            000048 smb_io_dom_sid sid
                0048 sid_rev_num: 01
                0049 num_auths  : 04
                004a id_auth[0] : 00
                004b id_auth[1] : 00
                004c id_auth[2] : 00
                004d id_auth[3] : 00
                004e id_auth[4] : 00
                004f id_auth[5] : 05
                0050 sub_auths : 00000015 c0825e36 d518aed3 29a2bf6f
    0060 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: 4c b6 5a 41 f4 23 00 00
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: fnum:75b8
size=126
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=51201
smb_tid=1
smb_pid=9203
smb_uid=0
smb_mid=8
smt_wct=16
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=   44 (0x2C)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]= 4280 (0x10B8)
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]=30136 (0x75B8)
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 4C B6 5A 41 F4  23 00 00                 ...L¶ZAô #..
write_socket(4,130)
write_socket(4,130) wrote 130
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=9203
smb_uid=0
smb_mid=8
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 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 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=9203
smb_uid=0
smb_mid=8
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 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 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   : 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: 0 smbtrans read: 48
rpc_api_pipe: fragment first and last both set
created /tmp/reply_\PIPE\lsarpc_0.5.prs
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(4,45)
write_socket(4,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=9203
smb_uid=0
smb_mid=9
smt_wct=0
smb_bcc=0
write_socket(4,106)
write_socket(4,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=9203
smb_uid=0
smb_mid=10
smt_wct=34
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=47360 (0xB900)
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[75b9]: \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: 10b8
        0012 max_rsize: 10b8
        0014 assoc_gid: 00000000
    0018 num_elements: 00000001
    001c context_id  : 0000
    001e num_syntaxes: 01
    00001f smb_io_rpc_iface
        000020 smb_io_uuid uuid
            0020 data   : 12345678
            0024 data   : 1234
            0026 data   : abcd
            0028 data   : ef 00
            002a data   : 01 23 45 67 89 ab
        0030 version: 00000001
    000034 smb_io_rpc_iface
        000034 smb_io_uuid uuid
            0034 data   : 8a885d04
            0038 data   : 1ceb
            003a data   : 11c9
            003c data   : 9f e8
            003e data   : 08 00 2b 10 48 60
        0044 version: 00000002
rpc_api_pipe: fnum:75b9
size=154
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=51201
smb_tid=1
smb_pid=9203
smb_uid=0
smb_mid=11
smt_wct=16
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=   72 (0x48)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]= 4280 (0x10B8)
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]=30137 (0x75B9)
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 03 10 00 00 00 48  00 00 00 05 00 00 00 B8  .......H .......¸
[020] 10 B8 10 00 00 00 00 01  00 00 00 00 00 01 00 78  .¸...... .......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(4,158)
write_socket(4,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=9203
smb_uid=0
smb_mid=11
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 B8 10 B8 10 F0 53 00  00 0E 00 5C 50 49 50 45  .¸.¸.ð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=9203
smb_uid=0
smb_mid=11
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 B8 10 B8 10 F0 53 00  00 0E 00 5C 50 49 50 45  .¸.¸.ð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: 10b8
        0012 max_rsize: 10b8
        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
        000030 smb_io_uuid uuid
            0030 data   : 8a885d04
            0034 data   : 1ceb
            0036 data   : 11c9
            0038 data   : 9f e8
            003a data   : 08 00 2b 10 48 60
        0040 version: 00000002
bind_rpc_pipe: accepted!
Getting architecture dependant directory
index: [1]
long architecture: [Windows NT x86]
short architecture: [W32X86]
make_spoolss_q_addprinterdriver
000000 spoolss_io_q_addprinterdriver
    0000 server_name_ptr: 00000001
    000004 smb_io_unistr2 server_name
        0004 uni_max_len: 00000008
        0008 offset     : 00000000
        000c uni_str_len: 00000008
        0010 buffer     : \.\.L.I.N.U.X...
    0020 info_level: 00000003
    000024 spool_io_printer_driver_info_level
        0024 level: 00000003
        0028 ptr: 00000001
        00002c spool_io_printer_driver_info_level_3
            002c cversion: 00000002
            0030 name: 00000001
            0034 environment: 00000001
            0038 driverpath: 00000001
            003c datafile: 00000001
            0040 configfile: 00000001
            0044 helpfile: 00000001
            0048 monitorname: 00000000
            004c defaultdatatype: 00000001
            0050 dependentfilessize: 00000055
            0054 dependentfiles: 00000001
            000058 smb_io_unistr2 name
                0058 uni_max_len: 00000008
                005c offset     : 00000000
                0060 uni_str_len: 00000008
                0064 buffer     : c.n.l.b.p.4.u...
            000074 smb_io_unistr2 environment
                0074 uni_max_len: 0000000f
                0078 offset     : 00000000
                007c uni_str_len: 0000000f
                0080 buffer     : W.i.n.d.o.w.s. .N.T. .x.8.6...
            00009e smb_io_unistr2 driverpath
                00a0 uni_max_len: 0000000b
                00a4 offset     : 00000000
                00a8 uni_str_len: 0000000b
                00ac buffer     : U.N.I.D.R.V...D.L.L...
            0000c2 smb_io_unistr2 datafile
                00c4 uni_max_len: 0000000c
                00c8 offset     : 00000000
                00cc uni_str_len: 0000000c
                00d0 buffer     : C.N.L.B.P.4.U...G.P.D...
            0000e8 smb_io_unistr2 configfile
                00e8 uni_max_len: 0000000d
                00ec offset     : 00000000
                00f0 uni_str_len: 0000000d
                00f4 buffer     : U.N.I.D.R.V.U.I...D.L.L...
            00010e smb_io_unistr2 helpfile
                0110 uni_max_len: 0000000b
                0114 offset     : 00000000
                0118 uni_str_len: 0000000b
                011c buffer     : U.N.I.D.R.V...H.L.P...
            000132 smb_io_unistr2 - NULL monitorname
            000132 smb_io_unistr2 defaultdatatype
                0134 uni_max_len: 00000004
                0138 offset     : 00000000
                013c uni_str_len: 00000004
                0140 buffer     : R.A.W...
            000148 smb_io_buffer5
                0148 buf_len: 00000055
                014c buffer:
U.N.I.D.R.V...D.L.L...C.N.L.B.P.4.U...G.P.D...U.N.I.D.R.V.U.I...D.L.L...U.N.
I.D.R.V...H.L.P...C.N
.L.B.P.R.E.S...D.L.L...U.N.I.R.E.S...D.L.L...S.T.D.N.A.M.E.S...G.P.D.....
create_rpc_request: opnum: 0x9 data_len: 0x20e
create_rpc_request: data_len: 20e auth_len: 0 alloc_hint: 1fe
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  : 020e
    000a auth_len  : 0000
    000c call_id   : 00000006
000010 smb_io_rpc_hdr_req hdr_req
    0010 alloc_hint: 000001fe
    0014 context_id: 0000
    0016 opnum     : 0009
data_len: 20e data_calc_len: 20e
rpc_api_pipe: fnum:75b9
size=608
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=51201
smb_tid=1
smb_pid=9203
smb_uid=0
smb_mid=12
smt_wct=16
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=  526 (0x20E)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]= 4280 (0x10B8)
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]=  526 (0x20E)
smb_vwv[12]=   82 (0x52)
smb_vwv[13]=    2 (0x2)
smb_vwv[14]=   38 (0x26)
smb_vwv[15]=30137 (0x75B9)
smb_bcc=541
[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 0E  02 00 00 06 00 00 00 FE  ........ .......þ
[020] 01 00 00 00 00 09 00 01  00 00 00 08 00 00 00 00  ........ ........
[030] 00 00 00 08 00 00 00 5C  00 5C 00 4C 00 49 00 4E  .......\ .\.L.I.N
[040] 00 55 00 58 00 00 00 03  00 00 00 03 00 00 00 01  .U.X.... ........
[050] 00 00 00 02 00 00 00 01  00 00 00 01 00 00 00 01  ........ ........
[060] 00 00 00 01 00 00 00 01  00 00 00 01 00 00 00 00  ........ ........
[070] 00 00 00 01 00 00 00 55  00 00 00 01 00 00 00 08  .......U ........
[080] 00 00 00 00 00 00 00 08  00 00 00 63 00 6E 00 6C  ........ ...c.n.l
[090] 00 62 00 70 00 34 00 75  00 00 00 0F 00 00 00 00  .b.p.4.u ........
[0A0] 00 00 00 0F 00 00 00 57  00 69 00 6E 00 64 00 6F  .......W .i.n.d.o
[0B0] 00 77 00 73 00 20 00 4E  00 54 00 20 00 78 00 38  .w.s. .N .T. .x.8
[0C0] 00 36 00 00 00 00 00 0B  00 00 00 00 00 00 00 0B  .6...... ........
[0D0] 00 00 00 55 00 4E 00 49  00 44 00 52 00 56 00 2E  ...U.N.I .D.R.V..
[0E0] 00 44 00 4C 00 4C 00 00  00 00 00 0C 00 00 00 00  .D.L.L.. ........
[0F0] 00 00 00 0C 00 00 00 43  00 4E 00 4C 00 42 00 50  .......C .N.L.B.P
[100] 00 34 00 55 00 2E 00 47  00 50 00 44 00 00 00 0D  .4.U...G .P.D....
[110] 00 00 00 00 00 00 00 0D  00 00 00 55 00 4E 00 49  ........ ...U.N.I
[120] 00 44 00 52 00 56 00 55  00 49 00 2E 00 44 00 4C  .D.R.V.U .I...D.L
[130] 00 4C 00 00 00 00 00 0B  00 00 00 00 00 00 00 0B  .L...... ........
[140] 00 00 00 55 00 4E 00 49  00 44 00 52 00 56 00 2E  ...U.N.I .D.R.V..
[150] 00 48 00 4C 00 50 00 00  00 00 00 04 00 00 00 00  .H.L.P.. ........
[160] 00 00 00 04 00 00 00 52  00 41 00 57 00 00 00 55  .......R .A.W...U
[170] 00 00 00 55 00 4E 00 49  00 44 00 52 00 56 00 2E  ...U.N.I .D.R.V..
[180] 00 44 00 4C 00 4C 00 00  00 43 00 4E 00 4C 00 42  .D.L.L.. .C.N.L.B
[190] 00 50 00 34 00 55 00 2E  00 47 00 50 00 44 00 00  .P.4.U.. .G.P.D..
[1A0] 00 55 00 4E 00 49 00 44  00 52 00 56 00 55 00 49  .U.N.I.D .R.V.U.I
[1B0] 00 2E 00 44 00 4C 00 4C  00 00 00 55 00 4E 00 49  ...D.L.L ...U.N.I
[1C0] 00 44 00 52 00 56 00 2E  00 48 00 4C 00 50 00 00  .D.R.V.. .H.L.P..
[1D0] 00 43 00 4E 00 4C 00 42  00 50 00 52 00 45 00 53  .C.N.L.B .P.R.E.S
[1E0] 00 2E 00 44 00 4C 00 4C  00 00 00 55 00 4E 00 49  ...D.L.L ...U.N.I
[1F0] 00 52 00 45 00 53 00 2E  00 44 00 4C 00 4C 00 00  .R.E.S.. .D.L.L..
[200] 00 53 00 54 00 44 00 4E  00 41 00 4D 00 45 00 53  .S.T.D.N .A.M.E.S
[210] 00 2E 00 47 00 50 00 44  00 00 00 00 00           ...G.P.D .....
write_socket(4,612)
write_socket(4,612) wrote 612
got smb length of 84
size=84
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=9203
smb_uid=0
smb_mid=12
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 06 00 00  ........ ........
[010] 00 04 00 00 00 00 00 00  00 03 00 00 00           ........ .....
size=84
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=9203
smb_uid=0
smb_mid=12
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 06 00 00  ........ ........
[010] 00 04 00 00 00 00 00 00  00 03 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   : 00000006
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
created /tmp/reply_\PIPE\spoolss_9.5.prs
000018 spoolss_io_r_addprinterdriver
    0018 status: DOS code 0x00000003
result was DOS code 0x00000003
write_socket(4,45)
write_socket(4,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=9203
smb_uid=0
smb_mid=13
smt_wct=0
smb_bcc=0
write_socket(4,39)
write_socket(4,39) wrote 39
got smb length of 35
size=35
smb_com=0x71
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=9203
smb_uid=0
smb_mid=14
smt_wct=0
smb_bcc=0


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to