Web lists-archives.com

[Samba] Problem writing to ADS with cifs mounted windows share on Linux




Hi,



We are facing difficulties writing to Alternate Data Streams (ADS) on a
Windows CIFS mount on CentOS/RHEL Linux.



Steps followed on both machine:

--------------------------------------------



On RHEL(cifs.ko version:  1.68)



   1. Created sample.txt file using vim with come content inside the
   Windows CIFS share mounted on linux.
   2. Then wrote some content with “vim sample.txt:mytext”. This writes
   successfully into ADS.
   3. On windows running “streams.exe sample.txt” we can see the ADS
   content.



On CentOS(cifs.ko.xy version:   2.09)



   1. Followed the same above two steps 1 and 2.
   2. It created a new file on linux as “sample.txt<some random char
   replaced>mytext (note the “:” got mapped with some random char)
   3. On windows also the same it shows  “sample.txt<some random char
   replaced>mytext”



Have we anything on centOS. While mounting windows share we used “mount -t
cifs <windows path> <local_path>” with and without “-o nomapchars” , “-o
noposixpath” etc. But no success.



Please advice how to proceed further.

Appreciate any guidance provided.



Thanks

Krishna



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