[Samba] Samba 3.x reports "not implemented" when Server 2008 SMB
client requests FSCTL_GET_OBJECT_ID
kaneda san
kaneda.san.sec at gmail.com
Wed Oct 8 03:37:39 GMT 2008
Hi Samba list,
I ran across this really bizarre issue and was hoping somebody would
be able to shed some further light on the issue.
If this is better directed to the samba technical list, please let me
know and I will post there instead.
Background
=========
I'm using CommVault Galaxy 7.0 SP4 for backup and decided to share
it's "IndexCache", which is a collection of files & folders, on a UNC
share from our SuSE Linux server.
However, during file I/O a call to Samba to request the
FSCTL_GET_OBJECT_ID fails which causes CV to fail. We are pursuing
things on the CommVault side but wanted to know if there could be done
from Samba side, so I investigated a bit further via Google, mailing
lists and trying different security settings (security = user .vs.
domain, oplocks on off, etc.), here's what I found:
SMB Server logs (Samba) (smbd.log)
===================
MA2 (1.2.3.4) connect to service galaxy initially as user
administrator (uid=xxxx, gid=xxx) (pid 5022)
[2008/10/08 10:15:13, 0] smbd/nttrans.c:call_nt_transact_ioctl(2463)
call_nt_transact_ioctl(0x940cf): Currently not implemented.
[2008/10/08 10:15:49, 1] smbd/service.c:close_cnum(1230)
MA2 (1.2.3.4) closed connection to service galaxy
SMB Client logs (Process Explorer, Server 2008 SP1 server)
============================================
(of interest is the NOT SUPPORTED lines)
226 10:15:17.4357270
AM archiveIndex.exe 6064 QueryEAFile
\\unix\galaxy\IndexCache\CV_Index\2\180\1223420221\tree.dat
0xC0000052
227 10:15:17.4360329
AM archiveIndex.exe 6064 QueryStreamInformationFile
\\brbackup1\galaxy\IndexCache\CV_Index\2\180\1223420221\tree.dat
SUCCESS 0:
::$DATA
228 10:15:17.4362604
AM archiveIndex.exe 6064 FileSystemControl
\\unix\galaxy\IndexCache\CV_Index\2\180\1223420221\tree.dat NOT
SUPPORTED Control: FSCTL_GET_OBJECT_ID
229 10:15:17.4364787
AM archiveIndex.exe 6064 FileSystemControl
\\unix\galaxy\IndexCache\CV_Index\2\180\1223420221\tree.dat NOT
SUPPORTED Control: 0x94160 (Device:0x9 Function:88 Method: 0)
230 10:15:17.4388151
AM archiveIndex.exe 6064 CloseFile
\\unix\galaxy\IndexCache\CV_Index\collects\66789.txt SUCCESS
231 10:15:23.3183477
AM archiveIndex.exe 6064 CloseFile
\\unix\galaxy\IndexCache\CV_Index\2\180\1223420221\tree.dat
SUCCESS
Further information on FSCTL_GET_OBJECT_ID from the MSDN pages
(http://msdn.microsoft.com/en-us/library/aa364570(VS.85).aspx) shows
that it's about getting the "object identifier" for the specified
file.
If anyone would be able to add some comments or provide some technical
direction, that would be much appreciated.
Regards,
Luke
More information about the samba
mailing list