Samba 3.6.6 smb2 compound command problem
Herb Lewis
hlewis at panasas.com
Mon Sep 24 09:23:15 MDT 2012
On 09/24/2012 08:13 AM, Volker Lendecke wrote:
> On Mon, Sep 24, 2012 at 08:00:11AM -0700, Herb Lewis wrote:
>> I an seeing the following commands sent (in wireshark)
>>
>> SMB2 378 Create Request File: test.txt;Ioctl Request FILE_SYSTEM
>> Function:0x0030
>> SMB2 315 Create Response File: test.txt;Ioctl Response, Error:
>> STATUS_FILE_CLOSED
>>
>> It appears the fnum returned from the create is not making it to the
>> ioctl. I added
>> some extra debug prints and see the following
>>
>> smbd_smb2_create_send: out_file_id_volatile = 38697
>> smbd_smb2_request_process_ioctl: in_file_id_persistent =
>> 18446744073709551615 in_file_id_volatile = 18446744073709551615
>>
>> Where should this be getting set?
> Isn't that possibly bug 9058?
>
> Volker
>
I don't think so. According to wireshark the ioctl is
FSCTL_CREATE_OR_GET_OBJECT_ID
and I don't see that mentioned in the patch for that bug. Also if I
break in the process_ioctl
routine and set the in_file_id_volatile to the value shown in the
previous create_send, the
command returns correctly.
More information about the samba-technical
mailing list