[Samba] IIS Change Notifications

Gareth Evans agrath at gmail.com
Sun Jan 9 02:06:20 MST 2011


Sure, no problem - here's the full debug -10 log from when I tested this
afternoon.

This is just the relevant portion from using IIS; after the appdomain had
started up and notification had registered, and I did a move/copy operation
over the top of a preexisting file.

The wireshark testing i'll do using the FileSystemMonitor application (to
remove the noise from IIS loading files etc on page-load) and a console
window for copying the new files in and it will be captured from 3.5.6

For the windows-source share, i'll try and use a loopback as I don't have a
2008 server at home; all that testing was done on production environment

I'll start up the servers now and capture the traces from wireshark (if I
can figure out how to drive it- every time I try I can't read the output)

Gareth

On Sun, Jan 9, 2011 at 10:01 PM, Volker Lendecke
<Volker.Lendecke at sernet.de>wrote:

> On Sun, Jan 09, 2011 at 08:31:11PM +1300, Gareth Evans wrote:
> > Since I posted the above, i've done more testing and research.
>
> Can you get us the raw network traces when running against
> Samba 3.5.6 (there was a significant bug fixed in that
> release, 7662) and against Windows, where it is working?
> Also, can you get us the full corresponding debug level 10
> log? If your changes all come from CIFS clients, can you try
> Samba with "kernel change notify = false" to get the kernel
> inotify out of the picture as a potential problem?
>
> Information on how to create network traces can be found
> under http://wiki.samba.org/index.php/Capture_Packets, for
> Windows you can certainly also use wireshark.
>
> Thanks,
>
> Volker Lendecke
>
> --
> SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
> phone: +49-551-370000-0, fax: +49-551-370000-9
> AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
>
-------------- next part --------------
inotify_dispatch called with mask=2, name=[ChangeNotifyTesting.dll]
inotify_dispatch: ne.action = 3, ne.path = ChangeNotifyTesting.dll
filter_match: e->mask=2, w->mask=210003c6, w->filter=17
sys_notify_callback called with action=3, for ChangeNotifyTesting.dll
notify_callback called for client/site.co.nz/htdocs/Test/bin
    0000 offset: 00000000
    0004 action: 00000003
    0008 namelen: 0000002e
    000c name: C.h.a.n.g.e.N.o.t.i.f.y.T.e.s.t.i.n.g...d.l.l...
Client only wanted 32 bytes, trying to marshall 58 bytes
size=71
smb_com=0xa0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=61377
smt_wct=18
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
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_bcc=0
inotify_dispatch called with mask=2, name=[ChangeNotifyTesting.dll]
inotify_dispatch: ne.action = 3, ne.path = ChangeNotifyTesting.dll
filter_match: e->mask=2, w->mask=210003c6, w->filter=17
sys_notify_callback called with action=3, for ChangeNotifyTesting.dll
notify_callback called for client/site.co.nz/htdocs/Test/bin
got smb length of 84
got message type 0x0 of len 0x54
Transaction 655 of length 88 (0 toread)
size=84
smb_com=0xa0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62401
smt_wct=23
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]= 8192 (0x2000)
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]=21504 (0x5400)
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]= 1024 (0x400)
smb_vwv[18]=    4 (0x4)
smb_vwv[19]=    3 (0x3)
smb_vwv[20]=    0 (0x0)
smb_vwv[21]=10891 (0x2A8B)
smb_vwv[22]=    1 (0x1)
smb_bcc=3
[0000] 00 00 00                                          ...
switch message SMBnttrans (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
vfs_ChDir to /srv/web_store/microsoft
num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
reply_nttrans: state->setup_count = 8
[0000] 03 00 00 00 8B 2A 01 00                            .....*..
call_nt_transact_notify_change
call_nt_transact_notify_change: notify change called on client/site.co.nz/htdocs/Test/bin, filter = FILE_NAME|DIR_NAME, recursive = 1
    0000 offset: 00000000
    0004 action: 00000003
    0008 namelen: 0000002e
    000c name: C.h.a.n.g.e.N.o.t.i.f.y.T.e.s.t.i.n.g...d.l.l...
Client only wanted 32 bytes, trying to marshall 58 bytes
size=71
smb_com=0xa0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62401
smt_wct=18
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
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_bcc=0
inotify_dispatch called with mask=2, name=[ChangeNotifyTesting.pdb]
inotify_dispatch: ne.action = 3, ne.path = ChangeNotifyTesting.pdb
filter_match: e->mask=2, w->mask=210003c6, w->filter=17
sys_notify_callback called with action=3, for ChangeNotifyTesting.pdb
notify_callback called for client/site.co.nz/htdocs/Test/bin
inotify_dispatch called with mask=2, name=[ChangeNotifyTesting.pdb]
inotify_dispatch: ne.action = 3, ne.path = ChangeNotifyTesting.pdb
filter_match: e->mask=2, w->mask=210003c6, w->filter=17
sys_notify_callback called with action=3, for ChangeNotifyTesting.pdb
notify_callback called for client/site.co.nz/htdocs/Test/bin
got smb length of 36
got message type 0x0 of len 0x24
Transaction 656 of length 40 (0 toread)
size=36
smb_com=0xa4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=61890
smt_wct=0
smb_bcc=0
switch message SMBntcancel (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
error packet at smbd/nttrans.c(73) cmd=160 (SMBnttrans) NT_STATUS_CANCELLED
size=71
smb_com=0xa0
smb_rcls=32
smb_reh=1
smb_err=49152
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=61890
smt_wct=18
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
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_bcc=0
reply_ntcancel: cancel called on mid = 61890.
got smb length of 144
got message type 0x0 of len 0x90
Transaction 657 of length 148 (0 toread)
size=144
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62465
smt_wct=15
smb_vwv[ 0]=   76 (0x4C)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   40 (0x28)
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]=   76 (0x4C)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=79
[0000] 00 00 00 EC 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 54 00 65   .t.d.o.c .s.\.T.e
[0040] 00 73 00 74 00 5C 00 62   00 69 00 6E 00 00 00     .s.t.\.b .i.n...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
unix_convert called on file "client/site.co.nz/htdocs/Test/bin"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 99, uid = 1001, flags = 0, file_id 801:210c3:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1004 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1004 max_data=40
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
SMB_QFBI - create: Sun Jan  9 13:10:48 2011
 access: Sun Jan  9 13:10:48 2011
 write: Sun Jan  9 13:10:48 2011
 change: Sun Jan  9 13:10:48 2011
 mode: 10
t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
size=100
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62465
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   40 (0x28)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   40 (0x28)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=45
[0000] 00 00 00 00 00 67 66 78   AA 91 AF CB 01 67 3A A9   .....gfx .....g:.
[0010] AA 91 AF CB 01 67 66 78   AA 91 AF CB 01 67 66 78   .....gfx .....gfx
[0020] AA 91 AF CB 01 10 00 00   00 00 00 00 00           ........ .....
got smb length of 41
got message type 0x0 of len 0x29
Transaction 658 of length 45 (0 toread)
size=41
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=65279
smb_uid=100
smb_mid=62530
smt_wct=3
smb_vwv[ 0]=10963 (0x2AD3)
smb_vwv[ 1]=65535 (0xFFFF)
smb_vwv[ 2]=65535 (0xFFFF)
smb_bcc=0
switch message SMBclose (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
close directory fnum=10963
Locking key 0108000000000000C110
Allocated locked data 0x0x7f9cb4c6e130
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 97, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
unparse_share_modes: del: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num: 6
print_share_mode_table: share_mode_entry[0]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x40, gen_id = 97, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
Unlocking key 0108000000000000C110
Locking key 0108000000000000C110
Allocated locked data 0x0x7f9cb4c741d0
notify_remove_onelevel:
     array: struct notify_entry_array
        num_entries              : 0x00000003 (3)
        entries: ARRAY(3)
            entries: struct notify_entry
                server: struct server_id
                    id                       : 0x00000664 (1636)
                filter                   : 0x00000e48 (3656)
                subdir_filter            : 0x00000fdb (4059)
                dir_fd                   : 0xffffffff (4294967295)
                dir_id: struct file_id
                    devid                    : 0x0000000000000801 (2049)
                    inode                    : 0x00000000000210c1 (135361)
                    extid                    : 0x0000000000000000 (0)
                path                     : '/srv/web_store/microsoft/client/site.co.nz/htdocs/Test'
                path_len                 : 0x00000000 (0)
                private_data             : 0x7f9cb4c63580
            entries: struct notify_entry
                server: struct server_id
                    id                       : 0x00000664 (1636)
                filter                   : 0x00000048 (72)
                subdir_filter            : 0x00000000 (0)
                dir_fd                   : 0xffffffff (4294967295)
                dir_id: struct file_id
                    devid                    : 0x0000000000000801 (2049)
                    inode                    : 0x00000000000210c1 (135361)
                    extid                    : 0x0000000000000000 (0)
                path                     : '/srv/web_store/microsoft/client/site.co.nz/htdocs/Test'
                path_len                 : 0x00000000 (0)
                private_data             : 0x7f9cb4c7b3f0
            entries: struct notify_entry
                server: struct server_id
                    id                       : 0x00000664 (1636)
                filter                   : 0x00000048 (72)
                subdir_filter            : 0x00000000 (0)
                dir_fd                   : 0xffffffff (4294967295)
                dir_id: struct file_id
                    devid                    : 0x0000000000000801 (2049)
                    inode                    : 0x00000000000210c1 (135361)
                    extid                    : 0x0000000000000000 (0)
                path                     : '/srv/web_store/microsoft/client/site.co.nz/htdocs/Test'
                path_len                 : 0x00000000 (0)
                private_data             : 0x7f9cb4c4ac60
Unlocking key 0108000000000000C110
Deleting inotify watch 18
Locking key 6E6F7469667920617272
Allocated locked data 0x0x7f9cb4c741d0
Unlocking key 6E6F7469667920617272
freed files structure 10963 (6 used)
size=35
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=65279
smb_uid=100
smb_mid=62530
smt_wct=0
smb_bcc=0
inotify_dispatch called with mask=8000, name=[]
got smb length of 144
got message type 0x0 of len 0x90
Transaction 659 of length 148 (0 toread)
size=144
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62593
smt_wct=15
smb_vwv[ 0]=   76 (0x4C)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   24 (0x18)
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]=   76 (0x4C)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=79
[0000] 00 00 00 ED 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 54 00 65   .t.d.o.c .s.\.T.e
[0040] 00 73 00 74 00 5C 00 62   00 69 00 6E 00 00 00     .s.t.\.b .i.n...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
unix_convert called on file "client/site.co.nz/htdocs/Test/bin"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 99, uid = 1001, flags = 0, file_id 801:210c3:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1005 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1005 max_data=24
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
size=84
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62593
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   24 (0x18)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   24 (0x18)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=29
[0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
got smb length of 136
got message type 0x0 of len 0x88
Transaction 660 of length 140 (0 toread)
size=136
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62658
smt_wct=15
smb_vwv[ 0]=   68 (0x44)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   40 (0x28)
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]=   68 (0x44)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=71
[0000] 00 00 00 EC 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 74 00 65   .t.d.o.c .s.\.t.e
[0040] 00 73 00 74 00 00 00                              .s.t...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
unix_convert called on file "client/site.co.nz/htdocs/test"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST] -> [client/site.co.nz/htdocs/Test]
check_reduced_name [client/site.co.nz/htdocs/Test] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test]
check_reduced_name: client/site.co.nz/htdocs/Test reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x40, gen_id = 97, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test (fnum = -1) level=1004 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test (fnum = -1) level=1004 max_data=40
dos_mode: client/site.co.nz/htdocs/Test
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
SMB_QFBI - create: Sun Jan  9 13:41:47 2011
 access: Sun Jan  9 13:41:48 2011
 write: Sun Jan  9 13:41:47 2011
 change: Sun Jan  9 13:41:47 2011
 mode: 10
t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
size=100
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62658
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   40 (0x28)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   40 (0x28)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=45
[0000] 00 00 00 00 00 45 C3 83   FE 95 AF CB 01 11 67 1F   .....E.. ......g.
[0010] FF 95 AF CB 01 45 C3 83   FE 95 AF CB 01 45 C3 83   .....E.. .....E..
[0020] FE 95 AF CB 01 10 00 00   00 00 00 00 00           ........ .....
got smb length of 136
got message type 0x0 of len 0x88
Transaction 661 of length 140 (0 toread)
size=136
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62722
smt_wct=15
smb_vwv[ 0]=   68 (0x44)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   24 (0x18)
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]=   68 (0x44)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=71
[0000] 00 00 00 ED 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 74 00 65   .t.d.o.c .s.\.t.e
[0040] 00 73 00 74 00 00 00                              .s.t...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
unix_convert called on file "client/site.co.nz/htdocs/test"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST] -> [client/site.co.nz/htdocs/Test]
check_reduced_name [client/site.co.nz/htdocs/Test] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test]
check_reduced_name: client/site.co.nz/htdocs/Test reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x40, gen_id = 97, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test (fnum = -1) level=1005 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test (fnum = -1) level=1005 max_data=24
dos_mode: client/site.co.nz/htdocs/Test
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
size=84
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62722
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   24 (0x18)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   24 (0x18)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=29
[0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
got smb length of 154
got message type 0x0 of len 0x9a
Transaction 662 of length 158 (0 toread)
size=154
smb_com=0xa2
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62785
smt_wct=24
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=57054 (0xDEDE)
smb_vwv[ 2]=17408 (0x4400)
smb_vwv[ 3]= 5632 (0x1600)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=    0 (0x0)
smb_vwv[ 7]=33024 (0x8100)
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]= 1792 (0x700)
smb_vwv[16]=    0 (0x0)
smb_vwv[17]=  256 (0x100)
smb_vwv[18]=    0 (0x0)
smb_vwv[19]=    0 (0x0)
smb_vwv[20]=    0 (0x0)
smb_vwv[21]=  512 (0x200)
smb_vwv[22]=    0 (0x0)
smb_vwv[23]=  768 (0x300)
smb_bcc=71
[0000] 00 5C 00 63 00 6C 00 69   00 65 00 6E 00 74 00 5C   .\.c.l.i .e.n.t.\
[0010] 00 73 00 69 00 74 00 65   00 2E 00 63 00 6F 00 2E   .s.i.t.e ...c.o..
[0020] 00 6E 00 7A 00 5C 00 68   00 74 00 64 00 6F 00 63   .n.z.\.h .t.d.o.c
[0030] 00 73 00 5C 00 54 00 65   00 73 00 74 00 5C 00 62   .s.\.T.e .s.t.\.b
[0040] 00 69 00 6E 00 00 00                              .i.n...
switch message SMBntcreateX (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = client/site.co.nz/htdocs/Test/bin
unix_convert called on file "client/site.co.nz/htdocs/Test/bin"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = client/site.co.nz/htdocs/Test/bin
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 ea_list = 0x(nil), sd = 0x(nil), fname = client/site.co.nz/htdocs/Test/bin
allocated file structure 6870, fnum = 10966 (7 used)
unix_mode(client/site.co.nz/htdocs/Test/bin) returning 0640
open_file_ntcreate: fname=client/site.co.nz/htdocs/Test/bin, dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0640 oplock_request=3
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
open_file_ntcreate: fname=client/site.co.nz/htdocs/Test/bin, after mapping access_mask=0x81
Locking key 0108000000000000C310
Allocated locked data 0x0x7f9cb4c6e8d0
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 99, uid = 1001, flags = 0, file_id 801:210c3:0
delay_for_oplocks: oplock type 0x0 on file client/site.co.nz/htdocs/Test/bin
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x81, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x81) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x81) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x81) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x1
share_conflict: access_mask = 0x81, share_access = 0x7
share_conflict: [1] am (0x100081) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x81) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x100081) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x81) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x81) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
delay_for_oplocks: oplock type 0x0 on file client/site.co.nz/htdocs/Test/bin
calling open_file with flags=0x0 flags2=0x0 mode=0640, access_mask = 0x81, open_access_mask = 0x81
fd_open: name client/site.co.nz/htdocs/Test/bin, flags = 00 mode = 0640, fd = 31.
Unlocking key 0108000000000000C310
freed files structure 10966 (6 used)
open_directory: opening directory client/site.co.nz/htdocs/Test/bin, access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x0
posix_get_nt_acl: called for file client/site.co.nz/htdocs/Test/bin
canonicalise_acl: Access ace entries before arrange :
canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 (smb-mwhdata) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
canon_ace index 2. Type = allow SID = S-1-22-1-1001 uid 1001 (smb-mwhdata) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
print_canon_ace_list: canonicalise_acl: ace entries after arrange
canon_ace index 0. Type = allow SID = S-1-22-1-1001 uid 1001 (smb-mwhdata) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 (smb-mwhdata) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
smbd_check_open_rights: file client/site.co.nz/htdocs/Test/bin requesting 0x81 returning 0x1 (NT_STATUS_OK)
allocated file structure 6871, fnum = 10967 (7 used)
Locking key 0108000000000000C310
Allocated locked data 0x0x7f9cb4c5e7c0
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 99, uid = 1001, flags = 0, file_id 801:210c3:0
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x81, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x81) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x81) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x81) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x1
share_conflict: access_mask = 0x81, share_access = 0x7
share_conflict: [1] am (0x100081) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x81) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x100081) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x81) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x81) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
unparse_share_modes: del: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num: 3
print_share_mode_table: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
print_share_mode_table: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
print_share_mode_table: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 101, uid = 1001, flags = 0, file_id 801:210c3:0
Unlocking key 0108000000000000C310
create_file_unixpath: info=1
create_file: info=1
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 101, uid = 1001, flags = 0, file_id 801:210c3:0
reply_ntcreate_and_X: fnum = 10967, open name = client/site.co.nz/htdocs/Test/bin
got smb length of 146
got message type 0x0 of len 0x92
Transaction 663 of length 150 (0 toread)
size=146
smb_com=0xa2
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62850
smt_wct=24
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=57054 (0xDEDE)
smb_vwv[ 2]=15360 (0x3C00)
smb_vwv[ 3]= 4096 (0x1000)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=    0 (0x0)
smb_vwv[ 7]=  256 (0x100)
smb_vwv[ 8]= 4096 (0x1000)
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]= 1792 (0x700)
smb_vwv[16]=    0 (0x0)
smb_vwv[17]=  256 (0x100)
smb_vwv[18]=    0 (0x0)
smb_vwv[19]=  256 (0x100)
smb_vwv[20]=    0 (0x0)
smb_vwv[21]=  512 (0x200)
smb_vwv[22]=    0 (0x0)
smb_vwv[23]=    0 (0x0)
smb_bcc=63
[0000] 00 5C 00 63 00 6C 00 69   00 65 00 6E 00 74 00 5C   .\.c.l.i .e.n.t.\
[0010] 00 73 00 69 00 74 00 65   00 2E 00 63 00 6F 00 2E   .s.i.t.e ...c.o..
[0020] 00 6E 00 7A 00 5C 00 68   00 74 00 64 00 6F 00 63   .n.z.\.h .t.d.o.c
[0030] 00 73 00 5C 00 74 00 65   00 73 00 74 00 00 00     .s.\.t.e .s.t...
switch message SMBntcreateX (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
reply_ntcreate_and_X: flags = 0x10, access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 root_dir_fid = 0x0, fname = client/site.co.nz/htdocs/test
unix_convert called on file "client/site.co.nz/htdocs/test"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST] -> [client/site.co.nz/htdocs/Test]
check_reduced_name [client/site.co.nz/htdocs/Test] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test]
check_reduced_name: client/site.co.nz/htdocs/Test reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test
create_file: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = client/site.co.nz/htdocs/Test
check_reduced_name [client/site.co.nz/htdocs/Test] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test]
check_reduced_name: client/site.co.nz/htdocs/Test reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test
create_file_unixpath: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = client/site.co.nz/htdocs/Test
open_directory: opening directory client/site.co.nz/htdocs/Test, access_mask = 0x100001, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x0
posix_get_nt_acl: called for file client/site.co.nz/htdocs/Test
canonicalise_acl: Access ace entries before arrange :
canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 (smb-mwhdata) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
canon_ace index 2. Type = allow SID = S-1-22-1-1001 uid 1001 (smb-mwhdata) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
print_canon_ace_list: canonicalise_acl: ace entries after arrange
canon_ace index 0. Type = allow SID = S-1-22-1-1001 uid 1001 (smb-mwhdata) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 (smb-mwhdata) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
smbd_check_open_rights: file client/site.co.nz/htdocs/Test requesting 0x100001 returning 0x100001 (NT_STATUS_OK)
allocated file structure 6872, fnum = 10968 (8 used)
Locking key 0108000000000000C110
Allocated locked data 0x0x7f9cb4c6f630
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x40, gen_id = 97, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x100001, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x100001) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x100001) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x100001) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x100001, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x100001) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x100001) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x100001) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x100001, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x100001) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x100001) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x100001) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x100001, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x100001) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x100001) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x100001) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
unparse_share_modes: del: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num: 6
print_share_mode_table: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 102, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
Unlocking key 0108000000000000C110
create_file_unixpath: info=1
create_file: info=1
dos_mode: client/site.co.nz/htdocs/Test
dos_mode_from_sbuf returning d
dos_mode returning d
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 102, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
reply_ntcreate_and_X: fnum = 10968, open name = client/site.co.nz/htdocs/Test
got smb length of 144
got message type 0x0 of len 0x90
Transaction 664 of length 148 (0 toread)
size=144
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62913
smt_wct=15
smb_vwv[ 0]=   76 (0x4C)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   40 (0x28)
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]=   76 (0x4C)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=79
[0000] 00 00 00 EC 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 54 00 65   .t.d.o.c .s.\.T.e
[0040] 00 73 00 74 00 5C 00 62   00 69 00 6E 00 00 00     .s.t.\.b .i.n...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
unix_convert called on file "client/site.co.nz/htdocs/Test/bin"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 101, uid = 1001, flags = 0, file_id 801:210c3:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1004 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1004 max_data=40
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
SMB_QFBI - create: Sun Jan  9 13:10:48 2011
 access: Sun Jan  9 13:10:48 2011
 write: Sun Jan  9 13:10:48 2011
 change: Sun Jan  9 13:10:48 2011
 mode: 10
t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
size=100
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62913
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   40 (0x28)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   40 (0x28)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=45
[0000] 00 00 00 00 00 67 66 78   AA 91 AF CB 01 67 3A A9   .....gfx .....g:.
[0010] AA 91 AF CB 01 67 66 78   AA 91 AF CB 01 67 66 78   .....gfx .....gfx
[0020] AA 91 AF CB 01 10 00 00   00 00 00 00 00           ........ .....
got smb length of 84
got message type 0x0 of len 0x54
Transaction 665 of length 88 (0 toread)
size=84
smb_com=0xa0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62977
smt_wct=23
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]= 8192 (0x2000)
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]=21504 (0x5400)
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]= 1024 (0x400)
smb_vwv[18]=    4 (0x4)
smb_vwv[19]=   23 (0x17)
smb_vwv[20]=    0 (0x0)
smb_vwv[21]=10968 (0x2AD8)
smb_vwv[22]=    0 (0x0)
smb_bcc=3
[0000] 00 00 00                                          ...
switch message SMBnttrans (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
reply_nttrans: state->setup_count = 8
[0000] 17 00 00 00 D8 2A 00 00                            .....*..
call_nt_transact_notify_change
call_nt_transact_notify_change: notify change called on client/site.co.nz/htdocs/Test, filter = FILE_NAME|DIR_NAME|ATTRIBUTES|LAST_WRITE, recursive = 0
Locking key 6E6F7469667920617272
Allocated locked data 0x0x7f9cb4c5e450
inotify_add_watch for /srv/web_store/microsoft/client/site.co.nz/htdocs/Test mask 210003c6 returned wd 19
Unlocking key 6E6F7469667920617272
change_notify_add_request: Adding request for client/site.co.nz/htdocs/Test: max_param = 32
got smb length of 154
got message type 0x0 of len 0x9a
Transaction 666 of length 158 (0 toread)
size=154
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63042
smt_wct=15
smb_vwv[ 0]=   86 (0x56)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=   10 (0xA)
smb_vwv[ 3]=16384 (0x4000)
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]=   86 (0x56)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    1 (0x1)
smb_bcc=89
[0000] 00 00 00 16 00 56 05 06   00 04 01 00 00 00 00 5C   .....V.. .......\
[0010] 00 63 00 6C 00 69 00 65   00 6E 00 74 00 5C 00 73   .c.l.i.e .n.t.\.s
[0020] 00 69 00 74 00 65 00 2E   00 63 00 6F 00 2E 00 6E   .i.t.e.. .c.o...n
[0030] 00 7A 00 5C 00 68 00 74   00 64 00 6F 00 63 00 73   .z.\.h.t .d.o.c.s
[0040] 00 5C 00 54 00 65 00 73   00 74 00 5C 00 62 00 69   .\.T.e.s .t.\.b.i
[0050] 00 6E 00 5C 00 2A 00 00   00                       .n.\.*.. .
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=0, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
unix_convert called on file "client/site.co.nz/htdocs/Test/bin/*"
stat_cache_lookup: lookup failed for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN/*]
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
unix_convert begin: name = client/site.co.nz/htdocs/Test/bin/*, dirpath = client/site.co.nz/htdocs/Test/bin, start = *
is_mangled * ?
is_mangled_component * (len 1) ?
is_mangled * ?
is_mangled_component * (len 1) ?
New file *
check_reduced_name [client/site.co.nz/htdocs/Test/bin/*] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin/*] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin/*]
check_reduced_name: client/site.co.nz/htdocs/Test/bin/* reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin/*
dir=client/site.co.nz/htdocs/Test/bin, mask = *
dptr_create dir=client/site.co.nz/htdocs/Test/bin
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
creating new dirptr 256 for path client/site.co.nz/htdocs/Test/bin, expect_close = 1
dptr_num is 256, wcard = *, attr = 22
dirpath=<client/site.co.nz/htdocs/Test/bin> dontdescend=<>
smbd_dirptr_get_entry: dirptr 0x7f9cb4c61fc0 now at offset 0
dos_mode: client/site.co.nz/htdocs/Test/bin/.
dos_mode_from_sbuf returning d
dos_mode returning d
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 101, uid = 1001, flags = 0, file_id 801:210c3:0
smbd_dirptr_get_entry mask=[*] found client/site.co.nz/htdocs/Test/bin/. fname=. (.)
smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
smbd_dirptr_get_entry: dirptr 0x7f9cb4c61fc0 now at offset 2147483648
dos_mode: client/site.co.nz/htdocs/Test/bin/..
dos_mode_from_sbuf returning d
dos_mode returning d
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 102, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
smbd_dirptr_get_entry mask=[*] found client/site.co.nz/htdocs/Test/bin/.. fname=.. (..)
smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
smbd_dirptr_get_entry: dirptr 0x7f9cb4c61fc0 now at offset 1892247626
dos_mode: client/site.co.nz/htdocs/Test/bin/ChangeNotifyTesting.pdb
dos_mode_from_sbuf returning
dos_mode returning
fetch_share_mode_unlocked: no share_mode record around (file not open)
smbd_dirptr_get_entry mask=[*] found client/site.co.nz/htdocs/Test/bin/ChangeNotifyTesting.pdb fname=ChangeNotifyTesting.pdb (ChangeNotifyTesting.pdb)
smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
hash2_name_to_8_3: ChangeNotifyTesting.pdb -> 085037D6 -> C2B1FI~U.PDB (cache=1)
smbd_dirptr_get_entry: dirptr 0x7f9cb4c61fc0 now at offset 2147483647
dos_mode: client/site.co.nz/htdocs/Test/bin/ChangeNotifyTesting.dll
dos_mode_from_sbuf returning
dos_mode returning
fetch_share_mode_unlocked: no share_mode record around (file not open)
smbd_dirptr_get_entry mask=[*] found client/site.co.nz/htdocs/Test/bin/ChangeNotifyTesting.dll fname=ChangeNotifyTesting.dll (ChangeNotifyTesting.dll)
smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
hash2_name_to_8_3: ChangeNotifyTesting.dll -> 085037D6 -> C2B1FI~U.DLL (cache=1)
smbd_dirptr_get_entry: dirptr 0x7f9cb4c61fc0 now at offset -1
call_trans2findfirst - (2) closing dptr_num 256
closing dptr key 256
t2_rep: params_sent_thistime = 10, data_sent_thistime = 476, useable_space = 131010
t2_rep: params_to_send = 10, data_to_send = 476, paramsize = 10, datasize = 476
size=544
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63042
smt_wct=10
smb_vwv[ 0]=   10 (0xA)
smb_vwv[ 1]=  476 (0x1DC)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=   10 (0xA)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  476 (0x1DC)
smb_vwv[ 7]=   68 (0x44)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=489
[0000] 00 FD FF 04 00 01 00 00   00 50 01 00 00 60 00 00   ........ .P...`..
[0010] 00 00 00 00 00 67 66 78   AA 91 AF CB 01 67 3A A9   .....gfx .....g:.
[0020] AA 91 AF CB 01 67 66 78   AA 91 AF CB 01 67 66 78   .....gfx .....gfx
[0030] AA 91 AF CB 01 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0040] 00 00 00 00 00 10 00 00   00 02 00 00 00 00 00 00   ........ ........
[0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0060] 00 00 00 00 00 00 00 00   00 00 00 2E 00 64 00 00   ........ .....d..
[0070] 00 00 00 00 00 45 C3 83   FE 95 AF CB 01 11 67 1F   .....E.. ......g.
[0080] FF 95 AF CB 01 45 C3 83   FE 95 AF CB 01 45 C3 83   .....E.. .....E..
[0090] FE 95 AF CB 01 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[00A0] 00 00 00 00 00 10 00 00   00 04 00 00 00 00 00 00   ........ ........
[00B0] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[00C0] 00 00 00 00 00 00 00 00   00 00 00 2E 00 2E 00 00   ........ ........
[00D0] 00 8C 00 00 00 00 00 00   00 67 66 78 AA 91 AF CB   ........ .gfx....
[00E0] 01 67 66 78 AA 91 AF CB   01 ED 5A D0 DD A4 AF CB   .gfx.... ..Z.....
[00F0] 01 ED 5A D0 DD A4 AF CB   01 00 2E 00 00 00 00 00   ..Z..... ........
[0100] 00 00 00 10 00 00 00 00   00 80 00 00 00 2E 00 00   ........ ........
[0110] 00 00 00 00 00 18 00 43   00 32 00 42 00 31 00 46   .......C .2.B.1.F
[0120] 00 49 00 7E 00 55 00 2E   00 50 00 44 00 42 00 43   .I.~.U.. .P.D.B.C
[0130] 00 68 00 61 00 6E 00 67   00 65 00 4E 00 6F 00 74   .h.a.n.g .e.N.o.t
[0140] 00 69 00 66 00 79 00 54   00 65 00 73 00 74 00 69   .i.f.y.T .e.s.t.i
[0150] 00 6E 00 67 00 2E 00 70   00 64 00 62 00 8C 00 00   .n.g...p .d.b....
[0160] 00 00 00 00 00 AD 61 25   36 A4 AF CB 01 AD 61 25   ......a% 6.....a%
[0170] 36 A4 AF CB 01 ED 5A D0   DD A4 AF CB 01 ED 5A D0   6.....Z. ......Z.
[0180] DD A4 AF CB 01 00 12 00   00 00 00 00 00 00 00 10   ........ ........
[0190] 00 00 00 00 00 80 00 00   00 2E 00 00 00 00 00 00   ........ ........
[01A0] 00 18 00 43 00 32 00 42   00 31 00 46 00 49 00 7E   ...C.2.B .1.F.I.~
[01B0] 00 55 00 2E 00 44 00 4C   00 4C 00 43 00 68 00 61   .U...D.L .L.C.h.a
[01C0] 00 6E 00 67 00 65 00 4E   00 6F 00 74 00 69 00 66   .n.g.e.N .o.t.i.f
[01D0] 00 79 00 54 00 65 00 73   00 74 00 69 00 6E 00 67   .y.T.e.s .t.i.n.g
[01E0] 00 2E 00 64 00 6C 00 6C   00                       ...d.l.l .
SMBtrans2 mask=* directory=client/site.co.nz/htdocs/Test/bin dirtype=22 numentries=4
hash2_name_to_8_3: * -> 0A877AA5 -> _2X68P~X (cache=1)
got smb length of 41
got message type 0x0 of len 0x29
Transaction 667 of length 45 (0 toread)
size=41
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=65279
smb_uid=100
smb_mid=63106
smt_wct=3
smb_vwv[ 0]=10967 (0x2AD7)
smb_vwv[ 1]=65535 (0xFFFF)
smb_vwv[ 2]=65535 (0xFFFF)
smb_bcc=0
switch message SMBclose (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
close directory fnum=10967
Locking key 0108000000000000C310
Allocated locked data 0x0x7f9cb4c7dde0
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 101, uid = 1001, flags = 0, file_id 801:210c3:0
unparse_share_modes: del: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num: 3
print_share_mode_table: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
print_share_mode_table: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
print_share_mode_table: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 101, uid = 1001, flags = 0, file_id 801:210c3:0
Unlocking key 0108000000000000C310
freed files structure 10967 (7 used)
size=35
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=65279
smb_uid=100
smb_mid=63106
smt_wct=0
smb_bcc=0
got smb length of 178
got message type 0x0 of len 0xb2
Transaction 668 of length 182 (0 toread)
size=178
smb_com=0xa2
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63170
smt_wct=24
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=57054 (0xDEDE)
smb_vwv[ 2]=23552 (0x5C00)
smb_vwv[ 3]= 5632 (0x1600)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=    0 (0x0)
smb_vwv[ 7]=35072 (0x8900)
smb_vwv[ 8]=  512 (0x200)
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]= 1792 (0x700)
smb_vwv[16]=    0 (0x0)
smb_vwv[17]=  256 (0x100)
smb_vwv[18]=    0 (0x0)
smb_vwv[19]=17408 (0x4400)
smb_vwv[20]=    0 (0x0)
smb_vwv[21]=  512 (0x200)
smb_vwv[22]=    0 (0x0)
smb_vwv[23]=  768 (0x300)
smb_bcc=95
[0000] 00 5C 00 63 00 6C 00 69   00 65 00 6E 00 74 00 5C   .\.c.l.i .e.n.t.\
[0010] 00 73 00 69 00 74 00 65   00 2E 00 63 00 6F 00 2E   .s.i.t.e ...c.o..
[0020] 00 6E 00 7A 00 5C 00 68   00 74 00 64 00 6F 00 63   .n.z.\.h .t.d.o.c
[0030] 00 73 00 5C 00 54 00 65   00 73 00 74 00 5C 00 62   .s.\.T.e .s.t.\.b
[0040] 00 69 00 6E 00 5C 00 64   00 65 00 73 00 6B 00 74   .i.n.\.d .e.s.k.t
[0050] 00 6F 00 70 00 2E 00 69   00 6E 00 69 00 00 00     .o.p...i .n.i...
switch message SMBntcreateX (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
reply_ntcreate_and_X: flags = 0x16, access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x44 root_dir_fid = 0x0, fname = client/site.co.nz/htdocs/Test/bin/desktop.ini
unix_convert called on file "client/site.co.nz/htdocs/Test/bin/desktop.ini"
stat_cache_lookup: lookup failed for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN/DESKTOP.INI]
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
unix_convert begin: name = client/site.co.nz/htdocs/Test/bin/desktop.ini, dirpath = client/site.co.nz/htdocs/Test/bin, start = desktop.ini
is_mangled desktop.ini ?
is_mangled_component desktop.ini (len 11) ?
is_mangled desktop.ini ?
is_mangled_component desktop.ini (len 11) ?
is_mangled desktop.ini ?
is_mangled_component desktop.ini (len 11) ?
New file desktop.ini
check_reduced_name [client/site.co.nz/htdocs/Test/bin/desktop.ini] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin/desktop.ini] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin/desktop.ini]
check_reduced_name: client/site.co.nz/htdocs/Test/bin/desktop.ini reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin/desktop.ini
create_file: access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x44 oplock_request = 0x3 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = client/site.co.nz/htdocs/Test/bin/desktop.ini
check_reduced_name [client/site.co.nz/htdocs/Test/bin/desktop.ini] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin/desktop.ini] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin/desktop.ini]
check_reduced_name: client/site.co.nz/htdocs/Test/bin/desktop.ini reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin/desktop.ini
create_file_unixpath: access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x44 oplock_request = 0x3 ea_list = 0x(nil), sd = 0x(nil), fname = client/site.co.nz/htdocs/Test/bin/desktop.ini
allocated file structure 6873, fnum = 10969 (8 used)
unix_mode(client/site.co.nz/htdocs/Test/bin/desktop.ini) returning 0640
open_file_ntcreate: fname=client/site.co.nz/htdocs/Test/bin/desktop.ini, dos_attrs=0x0 access_mask=0x20089 share_access=0x7 create_disposition = 0x1 create_options=0x44 unix mode=0640 oplock_request=3
check_reduced_name [client/site.co.nz/htdocs/Test/bin/desktop.ini] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin/desktop.ini] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin/desktop.ini]
check_reduced_name: client/site.co.nz/htdocs/Test/bin/desktop.ini reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin/desktop.ini
open_file_ntcreate: FILE_OPEN requested for file client/site.co.nz/htdocs/Test/bin/desktop.ini and file doesn't exist.
freed files structure 10969 (7 used)
create_file_unixpath: NT_STATUS_OBJECT_NAME_NOT_FOUND
create_file: NT_STATUS_OBJECT_NAME_NOT_FOUND
error packet at smbd/error.c(160) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_NOT_FOUND
size=35
smb_com=0xa2
smb_rcls=52
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63170
smt_wct=0
smb_bcc=0
got smb length of 80
got message type 0x0 of len 0x50
Transaction 669 of length 84 (0 toread)
size=80
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=0
smb_pid=65279
smb_uid=100
smb_mid=63234
smt_wct=4
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=   80 (0x50)
smb_vwv[ 2]=    8 (0x8)
smb_vwv[ 3]=    1 (0x1)
smb_bcc=37
[0000] 00 5C 00 5C 00 53 00 4D   00 42 00 54 00 45 00 53   .\.\.S.M .B.T.E.S
[0010] 00 54 00 5C 00 49 00 50   00 43 00 24 00 00 00 3F   .T.\.I.P .C.$...?
[0020] 3F 3F 3F 3F 00                                    ????.
switch message SMBtconX (pid 1636) conn 0x0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
Client requested device type [?????] for share [IPC$]
making a connection to 'normal' service ipc$
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
account_policy_get: name: password history, val: 0
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
pdb_set_username: setting username nobody, was
pdb_set_domain: setting domain SMBTEST, was
pdb_set_nt_username: setting nt username , was
pdb_set_full_name: setting full name nobody, was
Home server: smbtest
pdb_set_homedir: setting home dir \\smbtest\nobody, was
pdb_set_dir_drive: setting dir drive , was NULL
pdb_set_logon_script: setting logon script , was
Home server: smbtest
pdb_set_profile_path: setting profile path \\smbtest\nobody\profile, was
pdb_set_workstations: setting workstations , was
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
account_policy_get: name: password history, val: 0
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
pdb_set_user_sid: setting user sid S-1-5-21-3374292861-1731810674-2886964828-501
pdb_set_user_sid_from_rid:
        setting user sid S-1-5-21-3374292861-1731810674-2886964828-501 from rid 501
Cache entry with key = IDMAP/SID2GID/S-1-5-21-3374292861-1731810674-2886964828-513 couldn't be found
winbind failed to find a gid for sid S-1-5-21-3374292861-1731810674-2886964828-513
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
lookup_global_sam_rid: looking up RID 513.
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
Can't find a unix id for an unmapped group
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
LEGACY: mapping failed for sid S-1-5-21-3374292861-1731810674-2886964828-513
pdb_set_group_sid: setting group sid S-1-5-21-3374292861-1731810674-2886964828-513
Finding user nobody
Trying _Get_Pwnam(), username as lowercase is nobody
Get_Pwnam_internals did find user [nobody]!
set_conn_connectpath: service IPC$, connectpath = /tmp
Connect path is '/tmp' for service [IPC$]
se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
Initialising default vfs hooks
Initialising custom vfs hooks from [/[Default VFS]/]
vfs_find_backend_entry called for /[Default VFS]/
Successfully loaded vfs module [/[Default VFS]/] with the new modules system
claiming [IPC$]
Locking key 64060000010000004950
Allocated locked data 0x0x7f9cb4c7f5b0
Unlocking key 64060000010000004950
set_conn_connectpath: service IPC$, connectpath = /tmp
user_ok_token: share IPC$ is ok for unix user nobody
is_share_read_only_for_user: share IPC$ is read-only for unix user nobody
se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
account_policy_get: name: password history, val: 0
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
pdb_set_username: setting username nobody, was
pdb_set_domain: setting domain SMBTEST, was
pdb_set_nt_username: setting nt username , was
pdb_set_full_name: setting full name nobody, was
Home server: smbtest
pdb_set_homedir: setting home dir \\smbtest\nobody, was
pdb_set_dir_drive: setting dir drive , was NULL
pdb_set_logon_script: setting logon script , was
Home server: smbtest
pdb_set_profile_path: setting profile path \\smbtest\nobody\profile, was
pdb_set_workstations: setting workstations , was
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
account_policy_get: name: password history, val: 0
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
pdb_set_user_sid: setting user sid S-1-5-21-3374292861-1731810674-2886964828-501
pdb_set_user_sid_from_rid:
        setting user sid S-1-5-21-3374292861-1731810674-2886964828-501 from rid 501
Cache entry with key = IDMAP/SID2GID/S-1-5-21-3374292861-1731810674-2886964828-513 couldn't be found
winbind failed to find a gid for sid S-1-5-21-3374292861-1731810674-2886964828-513
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
lookup_global_sam_rid: looking up RID 513.
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
Can't find a unix id for an unmapped group
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
LEGACY: mapping failed for sid S-1-5-21-3374292861-1731810674-2886964828-513
pdb_set_group_sid: setting group sid S-1-5-21-3374292861-1731810674-2886964828-513
setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
NT user token of user S-1-5-21-3374292861-1731810674-2886964828-501
contains 6 SIDs
SID[  0]: S-1-5-21-3374292861-1731810674-2886964828-501
SID[  1]: S-1-22-2-65534
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SID[  5]: S-1-22-1-65534
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 65534
Primary group is 65534 and contains 1 supplementary groups
Group[  0]: 65534
change_to_user uid=(0,65534) gid=(0,65534)
set_conn_connectpath: service IPC$, connectpath = /tmp
vfswrap_fs_capabilities: timestamp resolution of sec available on share IPC$, directory /tmp
gareth (192.168.182.1) connect to service IPC$ initially as user nobody (uid=65534, gid=65534) (pid 1636)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
tconX service=IPC$
got smb length of 72
got message type 0x0 of len 0x48
Transaction 670 of length 76 (0 toread)
size=72
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=63298
smt_wct=15
smb_vwv[ 0]=    4 (0x4)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   24 (0x18)
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]=    4 (0x4)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    7 (0x7)
smb_bcc=7
[0000] 00 00 00 00 00 ED 03                              .......
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c7a120
setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
NT user token of user S-1-5-21-3374292861-1731810674-2886964828-501
contains 6 SIDs
SID[  0]: S-1-5-21-3374292861-1731810674-2886964828-501
SID[  1]: S-1-22-2-65534
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SID[  5]: S-1-22-1-65534
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 65534
Primary group is 65534 and contains 1 supplementary groups
Group[  0]: 65534
change_to_user uid=(0,65534) gid=(0,65534)
vfs_ChDir to /tmp
error packet at smbd/trans2.c(4116) cmd=50 (SMBtrans2) NT_STATUS_INVALID_HANDLE
size=35
smb_com=0x32
smb_rcls=8
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51203
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=63298
smt_wct=0
smb_bcc=0
got smb length of 72
got message type 0x0 of len 0x48
Transaction 671 of length 76 (0 toread)
size=72
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=63362
smt_wct=15
smb_vwv[ 0]=    4 (0x4)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   24 (0x18)
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]=    4 (0x4)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    7 (0x7)
smb_bcc=7
[0000] 00 00 00 00 00 ED 03                              .......
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c7a120
change_to_user: Skipping user change - already user
error packet at smbd/trans2.c(4116) cmd=50 (SMBtrans2) NT_STATUS_INVALID_HANDLE
size=35
smb_com=0x32
smb_rcls=8
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51203
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=63362
smt_wct=0
smb_bcc=0
got smb length of 100
got message type 0x0 of len 0x64
Transaction 672 of length 104 (0 toread)
size=100
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=63426
smt_wct=16
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
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]=  100 (0x64)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    2 (0x2)
smb_vwv[14]=   83 (0x53)
smb_vwv[15]=    0 (0x0)
smb_bcc=33
[0000] 00 5C 00 50 00 49 00 50   00 45 00 5C 00 4D 00 73   .\.P.I.P .E.\.M.s
[0010] 00 46 00 74 00 65 00 57   00 64 00 73 00 00 00 00   .F.t.e.W .d.s....
[0020] 00                                                .
switch message SMBtrans (pid 1636) conn 0x7f9cb4c7a120
change_to_user: Skipping user change - already user
trans <\PIPE\MsFteWds> data=0 params=0 setup=2
calling named_pipe
named pipe command on <MsFteWds> name
unknown named pipe: setup 0x53 setup1=0
error packet at smbd/ipc.c(533) cmd=37 (SMBtrans) NT_STATUS_NOT_SUPPORTED
size=35
smb_com=0x25
smb_rcls=187
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51203
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=63426
smt_wct=0
smb_bcc=0
got smb length of 84
got message type 0x0 of len 0x54
Transaction 673 of length 88 (0 toread)
size=84
smb_com=0xa0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63490
smt_wct=23
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]= 8192 (0x2000)
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]=21504 (0x5400)
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]= 1024 (0x400)
smb_vwv[18]=    4 (0x4)
smb_vwv[19]=    3 (0x3)
smb_vwv[20]=    0 (0x0)
smb_vwv[21]=10891 (0x2A8B)
smb_vwv[22]=    1 (0x1)
smb_bcc=3
[0000] 00 00 00                                          ...
switch message SMBnttrans (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
vfs_ChDir to /srv/web_store/microsoft
num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
reply_nttrans: state->setup_count = 8
[0000] 03 00 00 00 8B 2A 01 00                            .....*..
call_nt_transact_notify_change
call_nt_transact_notify_change: notify change called on client/site.co.nz/htdocs/Test/bin, filter = FILE_NAME|DIR_NAME, recursive = 1
    0000 offset: 00000000
    0004 action: 00000003
    0008 namelen: 0000002e
    000c name: C.h.a.n.g.e.N.o.t.i.f.y.T.e.s.t.i.n.g...p.d.b...
Client only wanted 32 bytes, trying to marshall 58 bytes
size=71
smb_com=0xa0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63490
smt_wct=18
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
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_bcc=0
got smb length of 36
got message type 0x0 of len 0x24
Transaction 674 of length 40 (0 toread)
size=36
smb_com=0xa4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62977
smt_wct=0
smb_bcc=0
switch message SMBntcancel (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
error packet at smbd/nttrans.c(73) cmd=160 (SMBnttrans) NT_STATUS_CANCELLED
size=71
smb_com=0xa0
smb_rcls=32
smb_reh=1
smb_err=49152
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=62977
smt_wct=18
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
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_bcc=0
reply_ntcancel: cancel called on mid = 62977.
got smb length of 41
got message type 0x0 of len 0x29
Transaction 675 of length 45 (0 toread)
size=41
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=65279
smb_uid=100
smb_mid=63553
smt_wct=3
smb_vwv[ 0]=10968 (0x2AD8)
smb_vwv[ 1]=65535 (0xFFFF)
smb_vwv[ 2]=65535 (0xFFFF)
smb_bcc=0
switch message SMBclose (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
close directory fnum=10968
Locking key 0108000000000000C110
Allocated locked data 0x0x7f9cb4c6e130
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 102, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
unparse_share_modes: del: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num: 6
print_share_mode_table: share_mode_entry[0]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x40, gen_id = 102, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
Unlocking key 0108000000000000C110
Locking key 0108000000000000C110
Allocated locked data 0x0x7f9cb4c60c90
notify_remove_onelevel:
     array: struct notify_entry_array
        num_entries              : 0x00000003 (3)
        entries: ARRAY(3)
            entries: struct notify_entry
                server: struct server_id
                    id                       : 0x00000664 (1636)
                filter                   : 0x00000e48 (3656)
                subdir_filter            : 0x00000fdb (4059)
                dir_fd                   : 0xffffffff (4294967295)
                dir_id: struct file_id
                    devid                    : 0x0000000000000801 (2049)
                    inode                    : 0x00000000000210c1 (135361)
                    extid                    : 0x0000000000000000 (0)
                path                     : '/srv/web_store/microsoft/client/site.co.nz/htdocs/Test'
                path_len                 : 0x00000000 (0)
                private_data             : 0x7f9cb4c63580
            entries: struct notify_entry
                server: struct server_id
                    id                       : 0x00000664 (1636)
                filter                   : 0x00000048 (72)
                subdir_filter            : 0x00000000 (0)
                dir_fd                   : 0xffffffff (4294967295)
                dir_id: struct file_id
                    devid                    : 0x0000000000000801 (2049)
                    inode                    : 0x00000000000210c1 (135361)
                    extid                    : 0x0000000000000000 (0)
                path                     : '/srv/web_store/microsoft/client/site.co.nz/htdocs/Test'
                path_len                 : 0x00000000 (0)
                private_data             : 0x7f9cb4c7b3f0
            entries: struct notify_entry
                server: struct server_id
                    id                       : 0x00000664 (1636)
                filter                   : 0x00000048 (72)
                subdir_filter            : 0x00000000 (0)
                dir_fd                   : 0xffffffff (4294967295)
                dir_id: struct file_id
                    devid                    : 0x0000000000000801 (2049)
                    inode                    : 0x00000000000210c1 (135361)
                    extid                    : 0x0000000000000000 (0)
                path                     : '/srv/web_store/microsoft/client/site.co.nz/htdocs/Test'
                path_len                 : 0x00000000 (0)
                private_data             : 0x7f9cb4c4ac60
Unlocking key 0108000000000000C110
Deleting inotify watch 19
Locking key 6E6F7469667920617272
Allocated locked data 0x0x7f9cb4c60c90
Unlocking key 6E6F7469667920617272
freed files structure 10968 (6 used)
size=35
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=65279
smb_uid=100
smb_mid=63553
smt_wct=0
smb_bcc=0
inotify_dispatch called with mask=8000, name=[]
got smb length of 144
got message type 0x0 of len 0x90
Transaction 676 of length 148 (0 toread)
size=144
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63618
smt_wct=15
smb_vwv[ 0]=   76 (0x4C)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   40 (0x28)
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]=   76 (0x4C)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=79
[0000] 00 00 00 EC 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 54 00 65   .t.d.o.c .s.\.T.e
[0040] 00 73 00 74 00 5C 00 62   00 69 00 6E 00 00 00     .s.t.\.b .i.n...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
unix_convert called on file "client/site.co.nz/htdocs/Test/bin"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 101, uid = 1001, flags = 0, file_id 801:210c3:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1004 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1004 max_data=40
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
SMB_QFBI - create: Sun Jan  9 13:10:48 2011
 access: Sun Jan  9 13:10:48 2011
 write: Sun Jan  9 13:10:48 2011
 change: Sun Jan  9 13:10:48 2011
 mode: 10
t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
size=100
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63618
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   40 (0x28)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   40 (0x28)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=45
[0000] 00 00 00 00 00 67 66 78   AA 91 AF CB 01 67 3A A9   .....gfx .....g:.
[0010] AA 91 AF CB 01 67 66 78   AA 91 AF CB 01 67 66 78   .....gfx .....gfx
[0020] AA 91 AF CB 01 10 00 00   00 00 00 00 00           ........ .....
got smb length of 136
got message type 0x0 of len 0x88
Transaction 677 of length 140 (0 toread)
size=136
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63682
smt_wct=15
smb_vwv[ 0]=   68 (0x44)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   40 (0x28)
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]=   68 (0x44)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=71
[0000] 00 00 00 EC 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 74 00 65   .t.d.o.c .s.\.t.e
[0040] 00 73 00 74 00 00 00                              .s.t...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
unix_convert called on file "client/site.co.nz/htdocs/test"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST] -> [client/site.co.nz/htdocs/Test]
check_reduced_name [client/site.co.nz/htdocs/Test] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test]
check_reduced_name: client/site.co.nz/htdocs/Test reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x40, gen_id = 102, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test (fnum = -1) level=1004 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test (fnum = -1) level=1004 max_data=40
dos_mode: client/site.co.nz/htdocs/Test
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
SMB_QFBI - create: Sun Jan  9 13:41:47 2011
 access: Sun Jan  9 13:41:48 2011
 write: Sun Jan  9 13:41:47 2011
 change: Sun Jan  9 13:41:47 2011
 mode: 10
t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
size=100
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63682
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   40 (0x28)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   40 (0x28)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=45
[0000] 00 00 00 00 00 45 C3 83   FE 95 AF CB 01 11 67 1F   .....E.. ......g.
[0010] FF 95 AF CB 01 45 C3 83   FE 95 AF CB 01 45 C3 83   .....E.. .....E..
[0020] FE 95 AF CB 01 10 00 00   00 00 00 00 00           ........ .....
got smb length of 144
got message type 0x0 of len 0x90
Transaction 678 of length 148 (0 toread)
size=144
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63745
smt_wct=15
smb_vwv[ 0]=   76 (0x4C)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   24 (0x18)
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]=   76 (0x4C)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=79
[0000] 00 00 00 ED 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 54 00 65   .t.d.o.c .s.\.T.e
[0040] 00 73 00 74 00 5C 00 62   00 69 00 6E 00 00 00     .s.t.\.b .i.n...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
unix_convert called on file "client/site.co.nz/htdocs/Test/bin"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 101, uid = 1001, flags = 0, file_id 801:210c3:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1005 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1005 max_data=24
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
size=84
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63745
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   24 (0x18)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   24 (0x18)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=29
[0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
got smb length of 136
got message type 0x0 of len 0x88
Transaction 679 of length 140 (0 toread)
size=136
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63810
smt_wct=15
smb_vwv[ 0]=   68 (0x44)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   24 (0x18)
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]=   68 (0x44)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=71
[0000] 00 00 00 ED 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 74 00 65   .t.d.o.c .s.\.t.e
[0040] 00 73 00 74 00 00 00                              .s.t...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
unix_convert called on file "client/site.co.nz/htdocs/test"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST] -> [client/site.co.nz/htdocs/Test]
check_reduced_name [client/site.co.nz/htdocs/Test] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test]
check_reduced_name: client/site.co.nz/htdocs/Test reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x40, gen_id = 102, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test (fnum = -1) level=1005 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test (fnum = -1) level=1005 max_data=24
dos_mode: client/site.co.nz/htdocs/Test
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
size=84
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63810
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   24 (0x18)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   24 (0x18)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=29
[0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
got smb length of 154
got message type 0x0 of len 0x9a
Transaction 680 of length 158 (0 toread)
size=154
smb_com=0xa2
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63873
smt_wct=24
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=57054 (0xDEDE)
smb_vwv[ 2]=17408 (0x4400)
smb_vwv[ 3]= 5632 (0x1600)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=    0 (0x0)
smb_vwv[ 7]=33024 (0x8100)
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]= 1792 (0x700)
smb_vwv[16]=    0 (0x0)
smb_vwv[17]=  256 (0x100)
smb_vwv[18]=    0 (0x0)
smb_vwv[19]=    0 (0x0)
smb_vwv[20]=    0 (0x0)
smb_vwv[21]=  512 (0x200)
smb_vwv[22]=    0 (0x0)
smb_vwv[23]=  768 (0x300)
smb_bcc=71
[0000] 12 5C 00 63 00 6C 00 69   00 65 00 6E 00 74 00 5C   .\.c.l.i .e.n.t.\
[0010] 00 73 00 69 00 74 00 65   00 2E 00 63 00 6F 00 2E   .s.i.t.e ...c.o..
[0020] 00 6E 00 7A 00 5C 00 68   00 74 00 64 00 6F 00 63   .n.z.\.h .t.d.o.c
[0030] 00 73 00 5C 00 54 00 65   00 73 00 74 00 5C 00 62   .s.\.T.e .s.t.\.b
[0040] 00 69 00 6E 00 00 00                              .i.n...
switch message SMBntcreateX (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = client/site.co.nz/htdocs/Test/bin
unix_convert called on file "client/site.co.nz/htdocs/Test/bin"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = client/site.co.nz/htdocs/Test/bin
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 ea_list = 0x(nil), sd = 0x(nil), fname = client/site.co.nz/htdocs/Test/bin
allocated file structure 6874, fnum = 10970 (7 used)
unix_mode(client/site.co.nz/htdocs/Test/bin) returning 0640
open_file_ntcreate: fname=client/site.co.nz/htdocs/Test/bin, dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0640 oplock_request=3
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
open_file_ntcreate: fname=client/site.co.nz/htdocs/Test/bin, after mapping access_mask=0x81
Locking key 0108000000000000C310
Allocated locked data 0x0x7f9cb4c6e8d0
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 101, uid = 1001, flags = 0, file_id 801:210c3:0
delay_for_oplocks: oplock type 0x0 on file client/site.co.nz/htdocs/Test/bin
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x81, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x81) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x81) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x81) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x1
share_conflict: access_mask = 0x81, share_access = 0x7
share_conflict: [1] am (0x100081) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x81) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x100081) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x81) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x81) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
delay_for_oplocks: oplock type 0x0 on file client/site.co.nz/htdocs/Test/bin
calling open_file with flags=0x0 flags2=0x0 mode=0640, access_mask = 0x81, open_access_mask = 0x81
fd_open: name client/site.co.nz/htdocs/Test/bin, flags = 00 mode = 0640, fd = 31.
Unlocking key 0108000000000000C310
freed files structure 10970 (6 used)
open_directory: opening directory client/site.co.nz/htdocs/Test/bin, access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x0
posix_get_nt_acl: called for file client/site.co.nz/htdocs/Test/bin
canonicalise_acl: Access ace entries before arrange :
canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 (smb-mwhdata) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
canon_ace index 2. Type = allow SID = S-1-22-1-1001 uid 1001 (smb-mwhdata) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
print_canon_ace_list: canonicalise_acl: ace entries after arrange
canon_ace index 0. Type = allow SID = S-1-22-1-1001 uid 1001 (smb-mwhdata) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 (smb-mwhdata) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
smbd_check_open_rights: file client/site.co.nz/htdocs/Test/bin requesting 0x81 returning 0x1 (NT_STATUS_OK)
allocated file structure 6875, fnum = 10971 (7 used)
Locking key 0108000000000000C310
Allocated locked data 0x0x7f9cb4c605c0
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 101, uid = 1001, flags = 0, file_id 801:210c3:0
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x81, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x81) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x81) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x81) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x1
share_conflict: access_mask = 0x81, share_access = 0x7
share_conflict: [1] am (0x100081) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x81) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x100081) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x81) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x81) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
unparse_share_modes: del: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num: 3
print_share_mode_table: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
print_share_mode_table: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
print_share_mode_table: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 105, uid = 1001, flags = 0, file_id 801:210c3:0
Unlocking key 0108000000000000C310
create_file_unixpath: info=1
create_file: info=1
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 105, uid = 1001, flags = 0, file_id 801:210c3:0
reply_ntcreate_and_X: fnum = 10971, open name = client/site.co.nz/htdocs/Test/bin
got smb length of 146
got message type 0x0 of len 0x92
Transaction 681 of length 150 (0 toread)
size=146
smb_com=0xa2
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=63938
smt_wct=24
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=57054 (0xDEDE)
smb_vwv[ 2]=15360 (0x3C00)
smb_vwv[ 3]= 4096 (0x1000)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=    0 (0x0)
smb_vwv[ 7]=  256 (0x100)
smb_vwv[ 8]= 4096 (0x1000)
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]= 1792 (0x700)
smb_vwv[16]=    0 (0x0)
smb_vwv[17]=  256 (0x100)
smb_vwv[18]=    0 (0x0)
smb_vwv[19]=  256 (0x100)
smb_vwv[20]=    0 (0x0)
smb_vwv[21]=  512 (0x200)
smb_vwv[22]=    0 (0x0)
smb_vwv[23]=    0 (0x0)
smb_bcc=63
[0000] 00 5C 00 63 00 6C 00 69   00 65 00 6E 00 74 00 5C   .\.c.l.i .e.n.t.\
[0010] 00 73 00 69 00 74 00 65   00 2E 00 63 00 6F 00 2E   .s.i.t.e ...c.o..
[0020] 00 6E 00 7A 00 5C 00 68   00 74 00 64 00 6F 00 63   .n.z.\.h .t.d.o.c
[0030] 00 73 00 5C 00 74 00 65   00 73 00 74 00 00 00     .s.\.t.e .s.t...
switch message SMBntcreateX (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
reply_ntcreate_and_X: flags = 0x10, access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 root_dir_fid = 0x0, fname = client/site.co.nz/htdocs/test
unix_convert called on file "client/site.co.nz/htdocs/test"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST] -> [client/site.co.nz/htdocs/Test]
check_reduced_name [client/site.co.nz/htdocs/Test] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test]
check_reduced_name: client/site.co.nz/htdocs/Test reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test
create_file: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = client/site.co.nz/htdocs/Test
check_reduced_name [client/site.co.nz/htdocs/Test] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test]
check_reduced_name: client/site.co.nz/htdocs/Test reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test
create_file_unixpath: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = client/site.co.nz/htdocs/Test
open_directory: opening directory client/site.co.nz/htdocs/Test, access_mask = 0x100001, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x0
posix_get_nt_acl: called for file client/site.co.nz/htdocs/Test
canonicalise_acl: Access ace entries before arrange :
canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 (smb-mwhdata) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
canon_ace index 2. Type = allow SID = S-1-22-1-1001 uid 1001 (smb-mwhdata) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
print_canon_ace_list: canonicalise_acl: ace entries after arrange
canon_ace index 0. Type = allow SID = S-1-22-1-1001 uid 1001 (smb-mwhdata) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 (smb-mwhdata) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
smbd_check_open_rights: file client/site.co.nz/htdocs/Test requesting 0x100001 returning 0x100001 (NT_STATUS_OK)
allocated file structure 6876, fnum = 10972 (8 used)
Locking key 0108000000000000C110
Allocated locked data 0x0x7f9cb4c6f630
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x40, gen_id = 102, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x100001, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x100001) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x100001) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x100001) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x100001, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x100001) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x100001) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x100001) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x100001, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x100001) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x100001) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x100001) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x100001, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x100001) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x100001) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x100001) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
unparse_share_modes: del: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num: 6
print_share_mode_table: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 106, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
Unlocking key 0108000000000000C110
create_file_unixpath: info=1
create_file: info=1
dos_mode: client/site.co.nz/htdocs/Test
dos_mode_from_sbuf returning d
dos_mode returning d
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 106, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
reply_ntcreate_and_X: fnum = 10972, open name = client/site.co.nz/htdocs/Test
got smb length of 144
got message type 0x0 of len 0x90
Transaction 682 of length 148 (0 toread)
size=144
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64001
smt_wct=15
smb_vwv[ 0]=   76 (0x4C)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   40 (0x28)
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]=   76 (0x4C)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=79
[0000] 00 00 00 EC 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 54 00 65   .t.d.o.c .s.\.T.e
[0040] 00 73 00 74 00 5C 00 62   00 69 00 6E 00 00 00     .s.t.\.b .i.n...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
unix_convert called on file "client/site.co.nz/htdocs/Test/bin"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 105, uid = 1001, flags = 0, file_id 801:210c3:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1004 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1004 max_data=40
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
SMB_QFBI - create: Sun Jan  9 13:10:48 2011
 access: Sun Jan  9 13:10:48 2011
 write: Sun Jan  9 13:10:48 2011
 change: Sun Jan  9 13:10:48 2011
 mode: 10
t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
size=100
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64001
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   40 (0x28)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   40 (0x28)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=45
[0000] 00 00 00 00 00 67 66 78   AA 91 AF CB 01 67 3A A9   .....gfx .....g:.
[0010] AA 91 AF CB 01 67 66 78   AA 91 AF CB 01 67 66 78   .....gfx .....gfx
[0020] AA 91 AF CB 01 10 00 00   00 00 00 00 00           ........ .....
got smb length of 84
got message type 0x0 of len 0x54
Transaction 683 of length 88 (0 toread)
size=84
smb_com=0xa0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64066
smt_wct=23
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]= 8192 (0x2000)
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]=21504 (0x5400)
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]= 1024 (0x400)
smb_vwv[18]=    4 (0x4)
smb_vwv[19]=   23 (0x17)
smb_vwv[20]=    0 (0x0)
smb_vwv[21]=10972 (0x2ADC)
smb_vwv[22]=    0 (0x0)
smb_bcc=3
[0000] 00 00 00                                          ...
switch message SMBnttrans (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
reply_nttrans: state->setup_count = 8
[0000] 17 00 00 00 DC 2A 00 00                            .....*..
call_nt_transact_notify_change
call_nt_transact_notify_change: notify change called on client/site.co.nz/htdocs/Test, filter = FILE_NAME|DIR_NAME|ATTRIBUTES|LAST_WRITE, recursive = 0
Locking key 6E6F7469667920617272
Allocated locked data 0x0x7f9cb4c5e450
inotify_add_watch for /srv/web_store/microsoft/client/site.co.nz/htdocs/Test mask 210003c6 returned wd 20
Unlocking key 6E6F7469667920617272
change_notify_add_request: Adding request for client/site.co.nz/htdocs/Test: max_param = 32
got smb length of 154
got message type 0x0 of len 0x9a
Transaction 684 of length 158 (0 toread)
size=154
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64129
smt_wct=15
smb_vwv[ 0]=   86 (0x56)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=   10 (0xA)
smb_vwv[ 3]=16384 (0x4000)
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]=   86 (0x56)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    1 (0x1)
smb_bcc=89
[0000] 00 00 00 16 00 56 05 06   00 04 01 00 00 00 00 5C   .....V.. .......\
[0010] 00 63 00 6C 00 69 00 65   00 6E 00 74 00 5C 00 73   .c.l.i.e .n.t.\.s
[0020] 00 69 00 74 00 65 00 2E   00 63 00 6F 00 2E 00 6E   .i.t.e.. .c.o...n
[0030] 00 7A 00 5C 00 68 00 74   00 64 00 6F 00 63 00 73   .z.\.h.t .d.o.c.s
[0040] 00 5C 00 54 00 65 00 73   00 74 00 5C 00 62 00 69   .\.T.e.s .t.\.b.i
[0050] 00 6E 00 5C 00 2A 00 00   00                       .n.\.*.. .
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=0, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
unix_convert called on file "client/site.co.nz/htdocs/Test/bin/*"
stat_cache_lookup: lookup failed for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN/*]
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
unix_convert begin: name = client/site.co.nz/htdocs/Test/bin/*, dirpath = client/site.co.nz/htdocs/Test/bin, start = *
is_mangled * ?
is_mangled_component * (len 1) ?
is_mangled * ?
is_mangled_component * (len 1) ?
New file *
check_reduced_name [client/site.co.nz/htdocs/Test/bin/*] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin/*] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin/*]
check_reduced_name: client/site.co.nz/htdocs/Test/bin/* reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin/*
dir=client/site.co.nz/htdocs/Test/bin, mask = *
dptr_create dir=client/site.co.nz/htdocs/Test/bin
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
creating new dirptr 256 for path client/site.co.nz/htdocs/Test/bin, expect_close = 1
dptr_num is 256, wcard = *, attr = 22
dirpath=<client/site.co.nz/htdocs/Test/bin> dontdescend=<>
smbd_dirptr_get_entry: dirptr 0x7f9cb4c5ab80 now at offset 0
dos_mode: client/site.co.nz/htdocs/Test/bin/.
dos_mode_from_sbuf returning d
dos_mode returning d
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 105, uid = 1001, flags = 0, file_id 801:210c3:0
smbd_dirptr_get_entry mask=[*] found client/site.co.nz/htdocs/Test/bin/. fname=. (.)
smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
smbd_dirptr_get_entry: dirptr 0x7f9cb4c5ab80 now at offset 2147483648
dos_mode: client/site.co.nz/htdocs/Test/bin/..
dos_mode_from_sbuf returning d
dos_mode returning d
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 106, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
smbd_dirptr_get_entry mask=[*] found client/site.co.nz/htdocs/Test/bin/.. fname=.. (..)
smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
smbd_dirptr_get_entry: dirptr 0x7f9cb4c5ab80 now at offset 1892247626
dos_mode: client/site.co.nz/htdocs/Test/bin/ChangeNotifyTesting.pdb
dos_mode_from_sbuf returning
dos_mode returning
fetch_share_mode_unlocked: no share_mode record around (file not open)
smbd_dirptr_get_entry mask=[*] found client/site.co.nz/htdocs/Test/bin/ChangeNotifyTesting.pdb fname=ChangeNotifyTesting.pdb (ChangeNotifyTesting.pdb)
smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
hash2_name_to_8_3: ChangeNotifyTesting.pdb -> 085037D6 -> C2B1FI~U.PDB (cache=1)
smbd_dirptr_get_entry: dirptr 0x7f9cb4c5ab80 now at offset 2147483647
dos_mode: client/site.co.nz/htdocs/Test/bin/ChangeNotifyTesting.dll
dos_mode_from_sbuf returning
dos_mode returning
fetch_share_mode_unlocked: no share_mode record around (file not open)
smbd_dirptr_get_entry mask=[*] found client/site.co.nz/htdocs/Test/bin/ChangeNotifyTesting.dll fname=ChangeNotifyTesting.dll (ChangeNotifyTesting.dll)
smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
hash2_name_to_8_3: ChangeNotifyTesting.dll -> 085037D6 -> C2B1FI~U.DLL (cache=1)
smbd_dirptr_get_entry: dirptr 0x7f9cb4c5ab80 now at offset -1
call_trans2findfirst - (2) closing dptr_num 256
closing dptr key 256
t2_rep: params_sent_thistime = 10, data_sent_thistime = 476, useable_space = 131010
t2_rep: params_to_send = 10, data_to_send = 476, paramsize = 10, datasize = 476
size=544
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64129
smt_wct=10
smb_vwv[ 0]=   10 (0xA)
smb_vwv[ 1]=  476 (0x1DC)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=   10 (0xA)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  476 (0x1DC)
smb_vwv[ 7]=   68 (0x44)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=489
[0000] 00 FD FF 04 00 01 00 00   00 50 01 00 00 60 00 00   ........ .P...`..
[0010] 00 00 00 00 00 67 66 78   AA 91 AF CB 01 67 3A A9   .....gfx .....g:.
[0020] AA 91 AF CB 01 67 66 78   AA 91 AF CB 01 67 66 78   .....gfx .....gfx
[0030] AA 91 AF CB 01 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0040] 00 00 00 00 00 10 00 00   00 02 00 00 00 00 00 00   ........ ........
[0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0060] 00 00 00 00 00 00 00 00   00 00 00 2E 00 64 00 00   ........ .....d..
[0070] 00 00 00 00 00 45 C3 83   FE 95 AF CB 01 11 67 1F   .....E.. ......g.
[0080] FF 95 AF CB 01 45 C3 83   FE 95 AF CB 01 45 C3 83   .....E.. .....E..
[0090] FE 95 AF CB 01 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[00A0] 00 00 00 00 00 10 00 00   00 04 00 00 00 00 00 00   ........ ........
[00B0] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[00C0] 00 00 00 00 00 00 00 00   00 00 00 2E 00 2E 00 00   ........ ........
[00D0] 00 8C 00 00 00 00 00 00   00 67 66 78 AA 91 AF CB   ........ .gfx....
[00E0] 01 67 66 78 AA 91 AF CB   01 ED 5A D0 DD A4 AF CB   .gfx.... ..Z.....
[00F0] 01 ED 5A D0 DD A4 AF CB   01 00 2E 00 00 00 00 00   ..Z..... ........
[0100] 00 00 00 10 00 00 00 00   00 80 00 00 00 2E 00 00   ........ ........
[0110] 00 00 00 00 00 18 00 43   00 32 00 42 00 31 00 46   .......C .2.B.1.F
[0120] 00 49 00 7E 00 55 00 2E   00 50 00 44 00 42 00 43   .I.~.U.. .P.D.B.C
[0130] 00 68 00 61 00 6E 00 67   00 65 00 4E 00 6F 00 74   .h.a.n.g .e.N.o.t
[0140] 00 69 00 66 00 79 00 54   00 65 00 73 00 74 00 69   .i.f.y.T .e.s.t.i
[0150] 00 6E 00 67 00 2E 00 70   00 64 00 62 00 8C 00 00   .n.g...p .d.b....
[0160] 00 00 00 00 00 AD 61 25   36 A4 AF CB 01 AD 61 25   ......a% 6.....a%
[0170] 36 A4 AF CB 01 ED 5A D0   DD A4 AF CB 01 ED 5A D0   6.....Z. ......Z.
[0180] DD A4 AF CB 01 00 12 00   00 00 00 00 00 00 00 10   ........ ........
[0190] 00 00 00 00 00 80 00 00   00 2E 00 00 00 00 00 00   ........ ........
[01A0] 00 18 00 43 00 32 00 42   00 31 00 46 00 49 00 7E   ...C.2.B .1.F.I.~
[01B0] 00 55 00 2E 00 44 00 4C   00 4C 00 43 00 68 00 61   .U...D.L .L.C.h.a
[01C0] 00 6E 00 67 00 65 00 4E   00 6F 00 74 00 69 00 66   .n.g.e.N .o.t.i.f
[01D0] 00 79 00 54 00 65 00 73   00 74 00 69 00 6E 00 67   .y.T.e.s .t.i.n.g
[01E0] 00 2E 00 64 00 6C 00 6C   00                       ...d.l.l .
SMBtrans2 mask=* directory=client/site.co.nz/htdocs/Test/bin dirtype=22 numentries=4
hash2_name_to_8_3: * -> 0A877AA5 -> _2X68P~X (cache=1)
got smb length of 41
got message type 0x0 of len 0x29
Transaction 685 of length 45 (0 toread)
size=41
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=65279
smb_uid=100
smb_mid=64193
smt_wct=3
smb_vwv[ 0]=10971 (0x2ADB)
smb_vwv[ 1]=65535 (0xFFFF)
smb_vwv[ 2]=65535 (0xFFFF)
smb_bcc=0
switch message SMBclose (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
close directory fnum=10971
Locking key 0108000000000000C310
Allocated locked data 0x0x7f9cb4c7dde0
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 105, uid = 1001, flags = 0, file_id 801:210c3:0
unparse_share_modes: del: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num: 3
print_share_mode_table: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
print_share_mode_table: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
print_share_mode_table: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 105, uid = 1001, flags = 0, file_id 801:210c3:0
Unlocking key 0108000000000000C310
freed files structure 10971 (7 used)
size=35
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=65279
smb_uid=100
smb_mid=64193
smt_wct=0
smb_bcc=0
got smb length of 72
got message type 0x0 of len 0x48
Transaction 686 of length 76 (0 toread)
size=72
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=64257
smt_wct=15
smb_vwv[ 0]=    4 (0x4)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   24 (0x18)
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]=    4 (0x4)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    7 (0x7)
smb_bcc=7
[0000] 00 00 00 00 00 ED 03                              .......
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c7a120
setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
NT user token of user S-1-5-21-3374292861-1731810674-2886964828-501
contains 6 SIDs
SID[  0]: S-1-5-21-3374292861-1731810674-2886964828-501
SID[  1]: S-1-22-2-65534
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SID[  5]: S-1-22-1-65534
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 65534
Primary group is 65534 and contains 1 supplementary groups
Group[  0]: 65534
change_to_user uid=(0,65534) gid=(0,65534)
vfs_ChDir to /tmp
error packet at smbd/trans2.c(4116) cmd=50 (SMBtrans2) NT_STATUS_INVALID_HANDLE
size=35
smb_com=0x32
smb_rcls=8
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51203
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=64257
smt_wct=0
smb_bcc=0
got smb length of 72
got message type 0x0 of len 0x48
Transaction 687 of length 76 (0 toread)
size=72
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=64321
smt_wct=15
smb_vwv[ 0]=    4 (0x4)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   24 (0x18)
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]=    4 (0x4)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    7 (0x7)
smb_bcc=7
[0000] 00 00 00 00 00 ED 03                              .......
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c7a120
change_to_user: Skipping user change - already user
error packet at smbd/trans2.c(4116) cmd=50 (SMBtrans2) NT_STATUS_INVALID_HANDLE
size=35
smb_com=0x32
smb_rcls=8
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51203
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=64321
smt_wct=0
smb_bcc=0
got smb length of 100
got message type 0x0 of len 0x64
Transaction 688 of length 104 (0 toread)
size=100
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=64385
smt_wct=16
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
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]=  100 (0x64)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    2 (0x2)
smb_vwv[14]=   83 (0x53)
smb_vwv[15]=    0 (0x0)
smb_bcc=33
[0000] 00 5C 00 50 00 49 00 50   00 45 00 5C 00 4D 00 73   .\.P.I.P .E.\.M.s
[0010] 00 46 00 74 00 65 00 57   00 64 00 73 00 00 00 00   .F.t.e.W .d.s....
[0020] 00                                                .
switch message SMBtrans (pid 1636) conn 0x7f9cb4c7a120
change_to_user: Skipping user change - already user
trans <\PIPE\MsFteWds> data=0 params=0 setup=2
calling named_pipe
named pipe command on <MsFteWds> name
unknown named pipe: setup 0x53 setup1=0
error packet at smbd/ipc.c(533) cmd=37 (SMBtrans) NT_STATUS_NOT_SUPPORTED
size=35
smb_com=0x25
smb_rcls=187
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51203
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=64385
smt_wct=0
smb_bcc=0
got smb length of 84
got message type 0x0 of len 0x54
Transaction 689 of length 88 (0 toread)
size=84
smb_com=0xa0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64449
smt_wct=23
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]= 8192 (0x2000)
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]=21504 (0x5400)
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]= 1024 (0x400)
smb_vwv[18]=    4 (0x4)
smb_vwv[19]=    3 (0x3)
smb_vwv[20]=    0 (0x0)
smb_vwv[21]=10891 (0x2A8B)
smb_vwv[22]=    1 (0x1)
smb_bcc=3
[0000] 00 00 00                                          ...
switch message SMBnttrans (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
vfs_ChDir to /srv/web_store/microsoft
num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
reply_nttrans: state->setup_count = 8
[0000] 03 00 00 00 8B 2A 01 00                            .....*..
call_nt_transact_notify_change
call_nt_transact_notify_change: notify change called on client/site.co.nz/htdocs/Test/bin, filter = FILE_NAME|DIR_NAME, recursive = 1
change_notify_add_request: Adding request for client/site.co.nz/htdocs/Test/bin: max_param = 32
got smb length of 36
got message type 0x0 of len 0x24
Transaction 690 of length 40 (0 toread)
size=36
smb_com=0xa4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64066
smt_wct=0
smb_bcc=0
switch message SMBntcancel (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
error packet at smbd/nttrans.c(73) cmd=160 (SMBnttrans) NT_STATUS_CANCELLED
size=71
smb_com=0xa0
smb_rcls=32
smb_reh=1
smb_err=49152
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64066
smt_wct=18
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
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_bcc=0
reply_ntcancel: cancel called on mid = 64066.
got smb length of 41
got message type 0x0 of len 0x29
Transaction 691 of length 45 (0 toread)
size=41
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=65279
smb_uid=100
smb_mid=64514
smt_wct=3
smb_vwv[ 0]=10972 (0x2ADC)
smb_vwv[ 1]=65535 (0xFFFF)
smb_vwv[ 2]=65535 (0xFFFF)
smb_bcc=0
switch message SMBclose (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
close directory fnum=10972
Locking key 0108000000000000C110
Allocated locked data 0x0x7f9cb4c6e130
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 106, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
unparse_share_modes: del: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num: 6
print_share_mode_table: share_mode_entry[0]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x40, gen_id = 106, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
Unlocking key 0108000000000000C110
Locking key 0108000000000000C110
Allocated locked data 0x0x7f9cb4c60dd0
notify_remove_onelevel:
     array: struct notify_entry_array
        num_entries              : 0x00000003 (3)
        entries: ARRAY(3)
            entries: struct notify_entry
                server: struct server_id
                    id                       : 0x00000664 (1636)
                filter                   : 0x00000e48 (3656)
                subdir_filter            : 0x00000fdb (4059)
                dir_fd                   : 0xffffffff (4294967295)
                dir_id: struct file_id
                    devid                    : 0x0000000000000801 (2049)
                    inode                    : 0x00000000000210c1 (135361)
                    extid                    : 0x0000000000000000 (0)
                path                     : '/srv/web_store/microsoft/client/site.co.nz/htdocs/Test'
                path_len                 : 0x00000000 (0)
                private_data             : 0x7f9cb4c63580
            entries: struct notify_entry
                server: struct server_id
                    id                       : 0x00000664 (1636)
                filter                   : 0x00000048 (72)
                subdir_filter            : 0x00000000 (0)
                dir_fd                   : 0xffffffff (4294967295)
                dir_id: struct file_id
                    devid                    : 0x0000000000000801 (2049)
                    inode                    : 0x00000000000210c1 (135361)
                    extid                    : 0x0000000000000000 (0)
                path                     : '/srv/web_store/microsoft/client/site.co.nz/htdocs/Test'
                path_len                 : 0x00000000 (0)
                private_data             : 0x7f9cb4c7b3f0
            entries: struct notify_entry
                server: struct server_id
                    id                       : 0x00000664 (1636)
                filter                   : 0x00000048 (72)
                subdir_filter            : 0x00000000 (0)
                dir_fd                   : 0xffffffff (4294967295)
                dir_id: struct file_id
                    devid                    : 0x0000000000000801 (2049)
                    inode                    : 0x00000000000210c1 (135361)
                    extid                    : 0x0000000000000000 (0)
                path                     : '/srv/web_store/microsoft/client/site.co.nz/htdocs/Test'
                path_len                 : 0x00000000 (0)
                private_data             : 0x7f9cb4c4ac60
Unlocking key 0108000000000000C110
Deleting inotify watch 20
Locking key 6E6F7469667920617272
Allocated locked data 0x0x7f9cb4c60dd0
Unlocking key 6E6F7469667920617272
freed files structure 10972 (6 used)
size=35
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=65279
smb_uid=100
smb_mid=64514
smt_wct=0
smb_bcc=0
inotify_dispatch called with mask=8000, name=[]
got smb length of 144
got message type 0x0 of len 0x90
Transaction 692 of length 148 (0 toread)
size=144
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64583
smt_wct=15
smb_vwv[ 0]=   76 (0x4C)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   40 (0x28)
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]=   76 (0x4C)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=79
[0000] 00 00 00 EC 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 54 00 65   .t.d.o.c .s.\.T.e
[0040] 00 73 00 74 00 5C 00 62   00 69 00 6E 00 00 00     .s.t.\.b .i.n...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
unix_convert called on file "client/site.co.nz/htdocs/Test/bin"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 105, uid = 1001, flags = 0, file_id 801:210c3:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1004 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1004 max_data=40
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
SMB_QFBI - create: Sun Jan  9 13:10:48 2011
 access: Sun Jan  9 13:10:48 2011
 write: Sun Jan  9 13:10:48 2011
 change: Sun Jan  9 13:10:48 2011
 mode: 10
t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
size=100
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64583
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   40 (0x28)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   40 (0x28)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=45
[0000] 00 00 00 00 00 67 66 78   AA 91 AF CB 01 67 3A A9   .....gfx .....g:.
[0010] AA 91 AF CB 01 67 66 78   AA 91 AF CB 01 67 66 78   .....gfx .....gfx
[0020] AA 91 AF CB 01 10 00 00   00 00 00 00 00           ........ .....
got smb length of 136
got message type 0x0 of len 0x88
Transaction 693 of length 140 (0 toread)
size=136
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64642
smt_wct=15
smb_vwv[ 0]=   68 (0x44)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   40 (0x28)
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]=   68 (0x44)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=71
[0000] 00 00 00 EC 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 74 00 65   .t.d.o.c .s.\.t.e
[0040] 00 73 00 74 00 00 00                              .s.t...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
unix_convert called on file "client/site.co.nz/htdocs/test"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST] -> [client/site.co.nz/htdocs/Test]
check_reduced_name [client/site.co.nz/htdocs/Test] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test]
check_reduced_name: client/site.co.nz/htdocs/Test reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x40, gen_id = 106, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test (fnum = -1) level=1004 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test (fnum = -1) level=1004 max_data=40
dos_mode: client/site.co.nz/htdocs/Test
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
SMB_QFBI - create: Sun Jan  9 13:41:47 2011
 access: Sun Jan  9 13:41:48 2011
 write: Sun Jan  9 13:41:47 2011
 change: Sun Jan  9 13:41:47 2011
 mode: 10
t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
size=100
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64642
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   40 (0x28)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   40 (0x28)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=45
[0000] 00 00 00 00 00 45 C3 83   FE 95 AF CB 01 11 67 1F   .....E.. ......g.
[0010] FF 95 AF CB 01 45 C3 83   FE 95 AF CB 01 45 C3 83   .....E.. .....E..
[0020] FE 95 AF CB 01 10 00 00   00 00 00 00 00           ........ .....
got smb length of 144
got message type 0x0 of len 0x90
Transaction 694 of length 148 (0 toread)
size=144
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64706
smt_wct=15
smb_vwv[ 0]=   76 (0x4C)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   24 (0x18)
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]=   76 (0x4C)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=79
[0000] 00 00 00 ED 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 54 00 65   .t.d.o.c .s.\.T.e
[0040] 00 73 00 74 00 5C 00 62   00 69 00 6E 00 00 00     .s.t.\.b .i.n...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
unix_convert called on file "client/site.co.nz/htdocs/Test/bin"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 105, uid = 1001, flags = 0, file_id 801:210c3:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1005 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1005 max_data=24
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
size=84
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64706
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   24 (0x18)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   24 (0x18)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=29
[0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
got smb length of 136
got message type 0x0 of len 0x88
Transaction 695 of length 140 (0 toread)
size=136
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64775
smt_wct=15
smb_vwv[ 0]=   68 (0x44)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   24 (0x18)
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]=   68 (0x44)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=71
[0000] 00 00 00 ED 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 74 00 65   .t.d.o.c .s.\.t.e
[0040] 00 73 00 74 00 00 00                              .s.t...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
unix_convert called on file "client/site.co.nz/htdocs/test"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST] -> [client/site.co.nz/htdocs/Test]
check_reduced_name [client/site.co.nz/htdocs/Test] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test]
check_reduced_name: client/site.co.nz/htdocs/Test reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x40, gen_id = 106, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test (fnum = -1) level=1005 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test (fnum = -1) level=1005 max_data=24
dos_mode: client/site.co.nz/htdocs/Test
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
size=84
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64775
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   24 (0x18)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   24 (0x18)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=29
[0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
got smb length of 154
got message type 0x0 of len 0x9a
Transaction 696 of length 158 (0 toread)
size=154
smb_com=0xa2
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64834
smt_wct=24
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=57054 (0xDEDE)
smb_vwv[ 2]=17408 (0x4400)
smb_vwv[ 3]= 5632 (0x1600)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=    0 (0x0)
smb_vwv[ 7]=33024 (0x8100)
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]= 1792 (0x700)
smb_vwv[16]=    0 (0x0)
smb_vwv[17]=  256 (0x100)
smb_vwv[18]=    0 (0x0)
smb_vwv[19]=    0 (0x0)
smb_vwv[20]=    0 (0x0)
smb_vwv[21]=  512 (0x200)
smb_vwv[22]=    0 (0x0)
smb_vwv[23]=  768 (0x300)
smb_bcc=71
[0000] 00 5C 00 63 00 6C 00 69   00 65 00 6E 00 74 00 5C   .\.c.l.i .e.n.t.\
[0010] 00 73 00 69 00 74 00 65   00 2E 00 63 00 6F 00 2E   .s.i.t.e ...c.o..
[0020] 00 6E 00 7A 00 5C 00 68   00 74 00 64 00 6F 00 63   .n.z.\.h .t.d.o.c
[0030] 00 73 00 5C 00 54 00 65   00 73 00 74 00 5C 00 62   .s.\.T.e .s.t.\.b
[0040] 00 69 00 6E 00 00 00                              .i.n...
switch message SMBntcreateX (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = client/site.co.nz/htdocs/Test/bin
unix_convert called on file "client/site.co.nz/htdocs/Test/bin"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = client/site.co.nz/htdocs/Test/bin
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 ea_list = 0x(nil), sd = 0x(nil), fname = client/site.co.nz/htdocs/Test/bin
allocated file structure 6877, fnum = 10973 (7 used)
unix_mode(client/site.co.nz/htdocs/Test/bin) returning 0640
open_file_ntcreate: fname=client/site.co.nz/htdocs/Test/bin, dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0640 oplock_request=3
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
open_file_ntcreate: fname=client/site.co.nz/htdocs/Test/bin, after mapping access_mask=0x81
Locking key 0108000000000000C310
Allocated locked data 0x0x7f9cb4c6e8d0
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 105, uid = 1001, flags = 0, file_id 801:210c3:0
delay_for_oplocks: oplock type 0x0 on file client/site.co.nz/htdocs/Test/bin
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x81, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x81) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x81) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x81) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x1
share_conflict: access_mask = 0x81, share_access = 0x7
share_conflict: [1] am (0x100081) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x81) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x100081) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x81) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x81) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
delay_for_oplocks: oplock type 0x0 on file client/site.co.nz/htdocs/Test/bin
calling open_file with flags=0x0 flags2=0x0 mode=0640, access_mask = 0x81, open_access_mask = 0x81
fd_open: name client/site.co.nz/htdocs/Test/bin, flags = 00 mode = 0640, fd = 31.
Unlocking key 0108000000000000C310
freed files structure 10973 (6 used)
open_directory: opening directory client/site.co.nz/htdocs/Test/bin, access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x0
posix_get_nt_acl: called for file client/site.co.nz/htdocs/Test/bin
canonicalise_acl: Access ace entries before arrange :
canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 (smb-mwhdata) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
canon_ace index 2. Type = allow SID = S-1-22-1-1001 uid 1001 (smb-mwhdata) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
print_canon_ace_list: canonicalise_acl: ace entries after arrange
canon_ace index 0. Type = allow SID = S-1-22-1-1001 uid 1001 (smb-mwhdata) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 (smb-mwhdata) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
smbd_check_open_rights: file client/site.co.nz/htdocs/Test/bin requesting 0x81 returning 0x1 (NT_STATUS_OK)
allocated file structure 6878, fnum = 10974 (7 used)
Locking key 0108000000000000C310
Allocated locked data 0x0x7f9cb4c605c0
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 105, uid = 1001, flags = 0, file_id 801:210c3:0
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x81, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x81) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x81) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x81) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x1
share_conflict: access_mask = 0x81, share_access = 0x7
share_conflict: [1] am (0x100081) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x81) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x100081) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x81) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x81) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
unparse_share_modes: del: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num: 3
print_share_mode_table: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
print_share_mode_table: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
print_share_mode_table: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 108, uid = 1001, flags = 0, file_id 801:210c3:0
Unlocking key 0108000000000000C310
create_file_unixpath: info=1
create_file: info=1
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 108, uid = 1001, flags = 0, file_id 801:210c3:0
reply_ntcreate_and_X: fnum = 10974, open name = client/site.co.nz/htdocs/Test/bin
got smb length of 146
got message type 0x0 of len 0x92
Transaction 697 of length 150 (0 toread)
size=146
smb_com=0xa2
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64903
smt_wct=24
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=57054 (0xDEDE)
smb_vwv[ 2]=15360 (0x3C00)
smb_vwv[ 3]= 4096 (0x1000)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=    0 (0x0)
smb_vwv[ 7]=  256 (0x100)
smb_vwv[ 8]= 4096 (0x1000)
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]= 1792 (0x700)
smb_vwv[16]=    0 (0x0)
smb_vwv[17]=  256 (0x100)
smb_vwv[18]=    0 (0x0)
smb_vwv[19]=  256 (0x100)
smb_vwv[20]=    0 (0x0)
smb_vwv[21]=  512 (0x200)
smb_vwv[22]=    0 (0x0)
smb_vwv[23]=    0 (0x0)
smb_bcc=63
[0000] 00 5C 00 63 00 6C 00 69   00 65 00 6E 00 74 00 5C   .\.c.l.i .e.n.t.\
[0010] 00 73 00 69 00 74 00 65   00 2E 00 63 00 6F 00 2E   .s.i.t.e ...c.o..
[0020] 00 6E 00 7A 00 5C 00 68   00 74 00 64 00 6F 00 63   .n.z.\.h .t.d.o.c
[0030] 00 73 00 5C 00 74 00 65   00 73 00 74 00 00 00     .s.\.t.e .s.t...
switch message SMBntcreateX (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
reply_ntcreate_and_X: flags = 0x10, access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 root_dir_fid = 0x0, fname = client/site.co.nz/htdocs/test
unix_convert called on file "client/site.co.nz/htdocs/test"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST] -> [client/site.co.nz/htdocs/Test]
check_reduced_name [client/site.co.nz/htdocs/Test] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test]
check_reduced_name: client/site.co.nz/htdocs/Test reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test
create_file: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = client/site.co.nz/htdocs/Test
check_reduced_name [client/site.co.nz/htdocs/Test] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test]
check_reduced_name: client/site.co.nz/htdocs/Test reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test
create_file_unixpath: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = client/site.co.nz/htdocs/Test
open_directory: opening directory client/site.co.nz/htdocs/Test, access_mask = 0x100001, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x0
posix_get_nt_acl: called for file client/site.co.nz/htdocs/Test
canonicalise_acl: Access ace entries before arrange :
canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 (smb-mwhdata) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
canon_ace index 2. Type = allow SID = S-1-22-1-1001 uid 1001 (smb-mwhdata) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
print_canon_ace_list: canonicalise_acl: ace entries after arrange
canon_ace index 0. Type = allow SID = S-1-22-1-1001 uid 1001 (smb-mwhdata) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 (smb-mwhdata) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
smbd_check_open_rights: file client/site.co.nz/htdocs/Test requesting 0x100001 returning 0x100001 (NT_STATUS_OK)
allocated file structure 6879, fnum = 10975 (8 used)
Locking key 0108000000000000C110
Allocated locked data 0x0x7f9cb4c6f630
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x40, gen_id = 106, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x100001, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x100001) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x100001) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x100001) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x100001, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x100001) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x100001) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x100001) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x100001, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x100001) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x100001) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x100001) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
share_conflict: access_mask = 0x100001, share_access = 0x7
share_conflict: [1] am (0x81) & right (0x6) = 0x0
share_conflict: [1] sa (0x7) & share (0x2) = 0x2
share_conflict: [2] am (0x100001) & right (0x6) = 0x0
share_conflict: [2] sa (0x7) & share (0x2) = 0x2
share_conflict: [3] am (0x81) & right (0x21) = 0x1
share_conflict: [3] sa (0x7) & share (0x1) = 0x1
share_conflict: [4] am (0x100001) & right (0x21) = 0x1
share_conflict: [4] sa (0x7) & share (0x1) = 0x1
share_conflict: [5] am (0x81) & right (0x10000) = 0x0
share_conflict: [5] sa (0x7) & share (0x4) = 0x4
share_conflict: [6] am (0x100001) & right (0x10000) = 0x0
share_conflict: [6] sa (0x7) & share (0x4) = 0x4
share_conflict: No conflict.
unparse_share_modes: del: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num: 6
print_share_mode_table: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 109, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
print_share_mode_table: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
Unlocking key 0108000000000000C110
create_file_unixpath: info=1
create_file: info=1
dos_mode: client/site.co.nz/htdocs/Test
dos_mode_from_sbuf returning d
dos_mode returning d
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 109, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
reply_ntcreate_and_X: fnum = 10975, open name = client/site.co.nz/htdocs/Test
got smb length of 144
got message type 0x0 of len 0x90
Transaction 698 of length 148 (0 toread)
size=144
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64962
smt_wct=15
smb_vwv[ 0]=   76 (0x4C)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   40 (0x28)
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]=   76 (0x4C)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    5 (0x5)
smb_bcc=79
[0000] 00 00 00 EC 03 00 00 00   00 5C 00 63 00 6C 00 69   ........ .\.c.l.i
[0010] 00 65 00 6E 00 74 00 5C   00 73 00 69 00 74 00 65   .e.n.t.\ .s.i.t.e
[0020] 00 2E 00 63 00 6F 00 2E   00 6E 00 7A 00 5C 00 68   ...c.o.. .n.z.\.h
[0030] 00 74 00 64 00 6F 00 63   00 73 00 5C 00 54 00 65   .t.d.o.c .s.\.T.e
[0040] 00 73 00 74 00 5C 00 62   00 69 00 6E 00 00 00     .s.t.\.b .i.n...
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
unix_convert called on file "client/site.co.nz/htdocs/Test/bin"
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 108, uid = 1001, flags = 0, file_id 801:210c3:0
call_trans2qfilepathinfo client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1004 call=5 total_data=0
smbd_do_qfilepathinfo: client/site.co.nz/htdocs/Test/bin (fnum = -1) level=1004 max_data=40
dos_mode: client/site.co.nz/htdocs/Test/bin
dos_mode_from_sbuf returning d
dos_mode returning d
smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
SMB_QFBI - create: Sun Jan  9 13:10:48 2011
 access: Sun Jan  9 13:10:48 2011
 write: Sun Jan  9 13:10:48 2011
 change: Sun Jan  9 13:10:48 2011
 mode: 10
t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
size=100
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=64962
smt_wct=10
smb_vwv[ 0]=    2 (0x2)
smb_vwv[ 1]=   40 (0x28)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    2 (0x2)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=   40 (0x28)
smb_vwv[ 7]=   60 (0x3C)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=45
[0000] 00 00 00 00 00 67 66 78   AA 91 AF CB 01 67 3A A9   .....gfx .....g:.
[0010] AA 91 AF CB 01 67 66 78   AA 91 AF CB 01 67 66 78   .....gfx .....gfx
[0020] AA 91 AF CB 01 10 00 00   00 00 00 00 00           ........ .....
got smb length of 84
got message type 0x0 of len 0x54
Transaction 699 of length 88 (0 toread)
size=84
smb_com=0xa0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=65031
smt_wct=23
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]= 8192 (0x2000)
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]=21504 (0x5400)
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]= 1024 (0x400)
smb_vwv[18]=    4 (0x4)
smb_vwv[19]=   23 (0x17)
smb_vwv[20]=    0 (0x0)
smb_vwv[21]=10975 (0x2ADF)
smb_vwv[22]=    0 (0x0)
smb_bcc=3
[0000] 00 00 00                                          ...
switch message SMBnttrans (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
reply_nttrans: state->setup_count = 8
[0000] 17 00 00 00 DF 2A 00 00                            .....*..
call_nt_transact_notify_change
call_nt_transact_notify_change: notify change called on client/site.co.nz/htdocs/Test, filter = FILE_NAME|DIR_NAME|ATTRIBUTES|LAST_WRITE, recursive = 0
Locking key 6E6F7469667920617272
Allocated locked data 0x0x7f9cb4c5e450
inotify_add_watch for /srv/web_store/microsoft/client/site.co.nz/htdocs/Test mask 210003c6 returned wd 21
Unlocking key 6E6F7469667920617272
change_notify_add_request: Adding request for client/site.co.nz/htdocs/Test: max_param = 32
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
got smb length of 154
got message type 0x0 of len 0x9a
Transaction 700 of length 158 (0 toread)
size=154
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=65090
smt_wct=15
smb_vwv[ 0]=   86 (0x56)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=   10 (0xA)
smb_vwv[ 3]=16384 (0x4000)
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]=   86 (0x56)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    1 (0x1)
smb_bcc=89
[0000] 00 00 00 16 00 56 05 06   00 04 01 00 00 00 00 5C   .....V.. .......\
[0010] 00 63 00 6C 00 69 00 65   00 6E 00 74 00 5C 00 73   .c.l.i.e .n.t.\.s
[0020] 00 69 00 74 00 65 00 2E   00 63 00 6F 00 2E 00 6E   .i.t.e.. .c.o...n
[0030] 00 7A 00 5C 00 68 00 74   00 64 00 6F 00 63 00 73   .z.\.h.t .d.o.c.s
[0040] 00 5C 00 54 00 65 00 73   00 74 00 5C 00 62 00 69   .\.T.e.s .t.\.b.i
[0050] 00 6E 00 5C 00 2A 00 00   00                       .n.\.*.. .
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=0, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
unix_convert called on file "client/site.co.nz/htdocs/Test/bin/*"
stat_cache_lookup: lookup failed for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN/*]
stat_cache_lookup: lookup succeeded for name [CLIENT/SITE.CO.NZ/HTDOCS/TEST/BIN] -> [client/site.co.nz/htdocs/Test/bin]
unix_convert begin: name = client/site.co.nz/htdocs/Test/bin/*, dirpath = client/site.co.nz/htdocs/Test/bin, start = *
is_mangled * ?
is_mangled_component * (len 1) ?
is_mangled * ?
is_mangled_component * (len 1) ?
New file *
check_reduced_name [client/site.co.nz/htdocs/Test/bin/*] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin/*] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin/*]
check_reduced_name: client/site.co.nz/htdocs/Test/bin/* reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin/*
dir=client/site.co.nz/htdocs/Test/bin, mask = *
dptr_create dir=client/site.co.nz/htdocs/Test/bin
check_reduced_name [client/site.co.nz/htdocs/Test/bin] [/srv/web_store/microsoft]
check_reduced_name realpath [client/site.co.nz/htdocs/Test/bin] -> [/srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin]
check_reduced_name: client/site.co.nz/htdocs/Test/bin reduced to /srv/web_store/microsoft/client/site.co.nz/htdocs/Test/bin
creating new dirptr 256 for path client/site.co.nz/htdocs/Test/bin, expect_close = 1
dptr_num is 256, wcard = *, attr = 22
dirpath=<client/site.co.nz/htdocs/Test/bin> dontdescend=<>
smbd_dirptr_get_entry: dirptr 0x7f9cb4c5e2e0 now at offset 0
dos_mode: client/site.co.nz/htdocs/Test/bin/.
dos_mode_from_sbuf returning d
dos_mode returning d
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 108, uid = 1001, flags = 0, file_id 801:210c3:0
smbd_dirptr_get_entry mask=[*] found client/site.co.nz/htdocs/Test/bin/. fname=. (.)
smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
smbd_dirptr_get_entry: dirptr 0x7f9cb4c5e2e0 now at offset 2147483648
dos_mode: client/site.co.nz/htdocs/Test/bin/..
dos_mode_from_sbuf returning d
dos_mode returning d
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:41:47 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 6
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 109, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 27, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0xc, access_mask = 0x20089, mid = 0x0, type= 0x40, gen_id = 75, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[3]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 36, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[4]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 40, uid = 1001, flags = 0, file_id 801:210c1:0
parse_share_modes: share_mode_entry[5]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 42, uid = 1001, flags = 0, file_id 801:210c1:0
smbd_dirptr_get_entry mask=[*] found client/site.co.nz/htdocs/Test/bin/.. fname=.. (..)
smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
smbd_dirptr_get_entry: dirptr 0x7f9cb4c5e2e0 now at offset 1892247626
dos_mode: client/site.co.nz/htdocs/Test/bin/ChangeNotifyTesting.pdb
dos_mode_from_sbuf returning
dos_mode returning
fetch_share_mode_unlocked: no share_mode record around (file not open)
smbd_dirptr_get_entry mask=[*] found client/site.co.nz/htdocs/Test/bin/ChangeNotifyTesting.pdb fname=ChangeNotifyTesting.pdb (ChangeNotifyTesting.pdb)
smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
hash2_name_to_8_3: ChangeNotifyTesting.pdb -> 085037D6 -> C2B1FI~U.PDB (cache=1)
smbd_dirptr_get_entry: dirptr 0x7f9cb4c5e2e0 now at offset 2147483647
dos_mode: client/site.co.nz/htdocs/Test/bin/ChangeNotifyTesting.dll
dos_mode_from_sbuf returning
dos_mode returning
fetch_share_mode_unlocked: no share_mode record around (file not open)
smbd_dirptr_get_entry mask=[*] found client/site.co.nz/htdocs/Test/bin/ChangeNotifyTesting.dll fname=ChangeNotifyTesting.dll (ChangeNotifyTesting.dll)
smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
hash2_name_to_8_3: ChangeNotifyTesting.dll -> 085037D6 -> C2B1FI~U.DLL (cache=1)
smbd_dirptr_get_entry: dirptr 0x7f9cb4c5e2e0 now at offset -1
call_trans2findfirst - (2) closing dptr_num 256
closing dptr key 256
t2_rep: params_sent_thistime = 10, data_sent_thistime = 476, useable_space = 131010
t2_rep: params_to_send = 10, data_to_send = 476, paramsize = 10, datasize = 476
size=544
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=2452
smb_uid=100
smb_mid=65090
smt_wct=10
smb_vwv[ 0]=   10 (0xA)
smb_vwv[ 1]=  476 (0x1DC)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=   10 (0xA)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  476 (0x1DC)
smb_vwv[ 7]=   68 (0x44)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=489
[0000] 00 FD FF 04 00 01 00 00   00 50 01 00 00 60 00 00   ........ .P...`..
[0010] 00 00 00 00 00 67 66 78   AA 91 AF CB 01 67 3A A9   .....gfx .....g:.
[0020] AA 91 AF CB 01 67 66 78   AA 91 AF CB 01 67 66 78   .....gfx .....gfx
[0030] AA 91 AF CB 01 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0040] 00 00 00 00 00 10 00 00   00 02 00 00 00 00 00 00   ........ ........
[0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0060] 00 00 00 00 00 00 00 00   00 00 00 2E 00 64 00 00   ........ .....d..
[0070] 00 00 00 00 00 45 C3 83   FE 95 AF CB 01 11 67 1F   .....E.. ......g.
[0080] FF 95 AF CB 01 45 C3 83   FE 95 AF CB 01 45 C3 83   .....E.. .....E..
[0090] FE 95 AF CB 01 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[00A0] 00 00 00 00 00 10 00 00   00 04 00 00 00 00 00 00   ........ ........
[00B0] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[00C0] 00 00 00 00 00 00 00 00   00 00 00 2E 00 2E 00 00   ........ ........
[00D0] 00 8C 00 00 00 00 00 00   00 67 66 78 AA 91 AF CB   ........ .gfx....
[00E0] 01 67 66 78 AA 91 AF CB   01 ED 5A D0 DD A4 AF CB   .gfx.... ..Z.....
[00F0] 01 ED 5A D0 DD A4 AF CB   01 00 2E 00 00 00 00 00   ..Z..... ........
[0100] 00 00 00 10 00 00 00 00   00 80 00 00 00 2E 00 00   ........ ........
[0110] 00 00 00 00 00 18 00 43   00 32 00 42 00 31 00 46   .......C .2.B.1.F
[0120] 00 49 00 7E 00 55 00 2E   00 50 00 44 00 42 00 43   .I.~.U.. .P.D.B.C
[0130] 00 68 00 61 00 6E 00 67   00 65 00 4E 00 6F 00 74   .h.a.n.g .e.N.o.t
[0140] 00 69 00 66 00 79 00 54   00 65 00 73 00 74 00 69   .i.f.y.T .e.s.t.i
[0150] 00 6E 00 67 00 2E 00 70   00 64 00 62 00 8C 00 00   .n.g...p .d.b....
[0160] 00 00 00 00 00 AD 61 25   36 A4 AF CB 01 AD 61 25   ......a% 6.....a%
[0170] 36 A4 AF CB 01 ED 5A D0   DD A4 AF CB 01 ED 5A D0   6.....Z. ......Z.
[0180] DD A4 AF CB 01 00 12 00   00 00 00 00 00 00 00 10   ........ ........
[0190] 00 00 00 00 00 80 00 00   00 2E 00 00 00 00 00 00   ........ ........
[01A0] 00 18 00 43 00 32 00 42   00 31 00 46 00 49 00 7E   ...C.2.B .1.F.I.~
[01B0] 00 55 00 2E 00 44 00 4C   00 4C 00 43 00 68 00 61   .U...D.L .L.C.h.a
[01C0] 00 6E 00 67 00 65 00 4E   00 6F 00 74 00 69 00 66   .n.g.e.N .o.t.i.f
[01D0] 00 79 00 54 00 65 00 73   00 74 00 69 00 6E 00 67   .y.T.e.s .t.i.n.g
[01E0] 00 2E 00 64 00 6C 00 6C   00                       ...d.l.l .
SMBtrans2 mask=* directory=client/site.co.nz/htdocs/Test/bin dirtype=22 numentries=4
hash2_name_to_8_3: * -> 0A877AA5 -> _2X68P~X (cache=1)
got smb length of 41
got message type 0x0 of len 0x29
Transaction 701 of length 45 (0 toread)
size=41
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=2
smb_pid=65279
smb_uid=100
smb_mid=65154
smt_wct=3
smb_vwv[ 0]=10974 (0x2ADE)
smb_vwv[ 1]=65535 (0xFFFF)
smb_vwv[ 2]=65535 (0xFFFF)
smb_bcc=0
switch message SMBclose (pid 1636) conn 0x7f9cb4c640c0
setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0
NT user token of user S-1-22-1-1001
contains 5 SIDs
SID[  0]: S-1-22-1-1001
SID[  1]: S-1-22-2-1001
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 1001
Primary group is 1001 and contains 1 supplementary groups
Group[  0]: 1001
change_to_user uid=(0,1001) gid=(0,1001)
close directory fnum=10974
Locking key 0108000000000000C310
Allocated locked data 0x0x7f9cb4c7fe50
parse_share_modes: delete_on_close: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT, cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num_share_modes: 3
parse_share_modes: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
parse_share_modes: share_mode_entry[2]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 108, uid = 1001, flags = 0, file_id 801:210c3:0
unparse_share_modes: del: 0, owrt: Sun 09 Jan 2011 01:10:48 PM NZDT NZDT cwrt: Thu 01 Jan 1970 12:00:00 PM NZST NZST, tok: 0, num: 3
print_share_mode_table: share_mode_entry[0]:  pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x0, gen_id = 38, uid = 1001, flags = 0, file_id 801:210c3:0
print_share_mode_table: share_mode_entry[1]:  pid = 1636, share_access = 0x7, private_options = 0x1, access_mask = 0x100081, mid = 0x0, type= 0x0, gen_id = 25, uid = 1001, flags = 0, file_id 801:210c3:0
print_share_mode_table: share_mode_entry[2]: UNUSED pid = 1636, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x0, type= 0x40, gen_id = 108, uid = 1001, flags = 0, file_id 801:210c3:0
Unlocking key 0108000000000000C310
freed files structure 10974 (7 used)
size=35
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=2
smb_pid=65279
smb_uid=100
smb_mid=65154
smt_wct=0
smb_bcc=0
got smb length of 72
got message type 0x0 of len 0x48
Transaction 702 of length 76 (0 toread)
size=72
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=65218
smt_wct=15
smb_vwv[ 0]=    4 (0x4)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   24 (0x18)
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]=    4 (0x4)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    7 (0x7)
smb_bcc=7
[0000] 00 00 00 00 00 ED 03                              .......
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c7a120
setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
NT user token of user S-1-5-21-3374292861-1731810674-2886964828-501
contains 6 SIDs
SID[  0]: S-1-5-21-3374292861-1731810674-2886964828-501
SID[  1]: S-1-22-2-65534
SID[  2]: S-1-1-0
SID[  3]: S-1-5-2
SID[  4]: S-1-5-32-546
SID[  5]: S-1-22-1-65534
SE_PRIV  0x0 0x0 0x0 0x0
UNIX token of user 65534
Primary group is 65534 and contains 1 supplementary groups
Group[  0]: 65534
change_to_user uid=(0,65534) gid=(0,65534)
vfs_ChDir to /tmp
error packet at smbd/trans2.c(4116) cmd=50 (SMBtrans2) NT_STATUS_INVALID_HANDLE
size=35
smb_com=0x32
smb_rcls=8
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51203
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=65218
smt_wct=0
smb_bcc=0
got smb length of 72
got message type 0x0 of len 0x48
Transaction 703 of length 76 (0 toread)
size=72
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=65282
smt_wct=15
smb_vwv[ 0]=    4 (0x4)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    2 (0x2)
smb_vwv[ 3]=   24 (0x18)
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]=    4 (0x4)
smb_vwv[10]=   68 (0x44)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    1 (0x1)
smb_vwv[14]=    7 (0x7)
smb_bcc=7
[0000] 00 00 00 00 00 ED 03                              .......
switch message SMBtrans2 (pid 1636) conn 0x7f9cb4c7a120
change_to_user: Skipping user change - already user
error packet at smbd/trans2.c(4116) cmd=50 (SMBtrans2) NT_STATUS_INVALID_HANDLE
size=35
smb_com=0x32
smb_rcls=8
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51203
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=65282
smt_wct=0
smb_bcc=0
got smb length of 100
got message type 0x0 of len 0x64
Transaction 704 of length 104 (0 toread)
size=100
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=65346
smt_wct=16
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
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]=  100 (0x64)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=    0 (0x0)
smb_vwv[13]=    2 (0x2)
smb_vwv[14]=   83 (0x53)
smb_vwv[15]=    0 (0x0)
smb_bcc=33
[0000] 00 5C 00 50 00 49 00 50   00 45 00 5C 00 4D 00 73   .\.P.I.P .E.\.M.s
[0010] 00 46 00 74 00 65 00 57   00 64 00 73 00 00 00 00   .F.t.e.W .d.s....
[0020] 00                                                .
switch message SMBtrans (pid 1636) conn 0x7f9cb4c7a120
change_to_user: Skipping user change - already user
trans <\PIPE\MsFteWds> data=0 params=0 setup=2
calling named_pipe
named pipe command on <MsFteWds> name
unknown named pipe: setup 0x53 setup1=0
error packet at smbd/ipc.c(533) cmd=37 (SMBtrans) NT_STATUS_NOT_SUPPORTED
size=35
smb_com=0x25
smb_rcls=187
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51203
smb_tid=1
smb_pid=2452
smb_uid=100
smb_mid=65346
smt_wct=0
smb_bcc=0
Running timed event "smbd_idle_event_handler" 0x7f9cb4c66b60
smbd_idle_event_handler: idle_evt(keepalive) (nil) called
smbd_idle_event_handler: idle_evt(keepalive) (nil) rescheduled
Running timed event "smbd_idle_event_handler" 0x7f9cb4c4ecc0
smbd_idle_event_handler: idle_evt(deadtime) (nil) called
smbd_idle_event_handler: idle_evt(deadtime) (nil) rescheduled
Running timed event "smbd_idle_event_handler" 0x7f9cb4c5c1d0
smbd_idle_event_handler: idle_evt(housekeeping) (nil) called
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
smbd_idle_event_handler: idle_evt(housekeeping) (nil) rescheduled
got smb length of 35
got message type 0x0 of len 0x23
Transaction 705 of length 39 (0 toread)
size=35
smb_com=0x71
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=1
smb_pid=65279
smb_uid=100
smb_mid=65410
smt_wct=0
smb_bcc=0
switch message SMBtdis (pid 1636) conn 0x7f9cb4c7a120
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
gareth (192.168.182.1) closed connection to service IPC$
Yielding connection to IPC$
Locking key 64060000010000004950
Allocated locked data 0x0x7f9cb4c622b0
Unlocking key 64060000010000004950
vfs_ChDir to /
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
size=35
smb_com=0x71
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51203
smb_tid=1
smb_pid=65279
smb_uid=100
smb_mid=65410
smt_wct=0
smb_bcc=0


More information about the samba mailing list