Hello
   I have been struggling past few days on how to fetch SummaryInformation
or DocumentSummaryInformation ADS stream attached with a text document on
windows XP. SummaryInformation and DocumentSummaryInformation streams keep
property data such as author, title, catagory and so on (edited through
property->summary menu on XP).

I am using Samba version 3.2.6 on a Linux box. cli_qpathinfo_streams() lets
me get list of all streams associated with the text file. I can get most ADS
streams as <file-name>:<stream-name> , using smbget but this request fails
for <filename>:\
005DocumentSummaryInformation with error NT_STATUS_OBJECT_NAME_INVALID.

Below is the smbclient session output
smb: \> allinfo docu.txt
altname: docu.txt
create_time:    Thu Sep 24 13:54:32 2009 IST
access_time:    Fri Nov 27 11:23:05 2009 IST
write_time:     Thu Nov 26 15:42:10 2009 IST
change_time:    Thu Nov 26 15:52:38 2009 IST
stream: [::$DATA], 214 bytes
stream: [:DocumentSummaryInformation:$DATA], 120 bytes
stream: [:SebiesnrMkudrfcoIaamtykdDa:$DATA], 128 bytes
stream: [:SummaryInformation:$DATA], 272 bytes
stream: [:myjpg:$DATA], 3196 bytes
stream: [:stream:$DATA], 16 bytes
stream: [:stream1:$DATA], 16 bytes
stream: [:stream2:$DATA], 16 bytes
stream: [:stream3:$DATA], 16 bytes
stream: [:stream4:$DATA], 16 bytes
stream: [:stream6:$DATA], 16 bytes
stream: [:vver:$DATA], 16 bytes
stream: [:{4c8cc155-6c1e-11d1-8e41-00c04fb9386d}:$DATA], 0 bytes
smb: \> get docu.txt:stream1
getting file \docu.txt:stream1 of size 16 as docu.txt:stream1 (1.4 kb/s)
(average 1.4 kb/s)
smb: \> get docu.txt:\\005DocumentSummaryInformation
NT_STATUS_OBJECT_NAME_INVALID opening remote file
\docu.txt:\005DocumentSummaryInformation
smb:\> get docu.txt:\005DocumentSummaryInformation
NT_STATUS_OBJECT_NAME_INVALID opening remote file
\docu.txt:\005DocumentSummaryInformation
smb: \> get docu.txt:\005DocumentSummaryInformation
NT_STATUS_OBJECT_NAME_INVALID opening remote file
\docu.txt:\005DocumentSummaryInformation
smb: \> get docu.txt:DocumentSummaryInformation
NT_STATUS_OBJECT_NAME_INVALID opening remote file
\docu.txt:DocumentSummaryInformation

Does anybody have knowledge on this issue? Your help will be much
appreciated

Thanks
veeral
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to