[Samba] question about CIFS client glitches

starlight at binnacle.cx starlight at binnacle.cx
Thu Sep 23 04:59:09 MDT 2010


At 07:25 AM 9/18/2010 -0400, Jeff Layton wrote:
>On Fri, 17 Sep 2010 19:38:21 -0400
>starlight at binnacle.cx wrote:
>> 
>> In both versions it seems like hard-links work and symbolic
>> links fail
>
>That's expected. The core cifs protocol as implemented in windows
>doesn't support symlinks.

Ah, well then it's a good thing they're not needed for the
build tree I'm working with.  Good to know not to ever
look for the feature for Windows shares.

>You need unix extensions for that, or you may
>want to play with the "mfsymlinks" patches that Metze proposed 
>recently.

Eeeh no.  Every time I've ever worked with a vanilla
kernel I sank in the quicksand of bugs and crashes.
Not fun, no time for it.

>> And it appears that a 'pax -r' extraction followed by 'rm' for
>> selected files has some difficulty with CIFS 1.6x rendered
>> hard link in the mix.
>> 
>
>What sort of difficulty is it having?

As expressed in the original message, 'pax' archive with hard 
links restored, 'rm' command executed, tree doesn't match.  
Maybe the fact that the 'pax' archive is created with a

   find tree -print | sort -r | pax -wd

has something to do with it, causing the 'pax -r' to
do things that CIFS is not expecting.

I am giving up though.  Decided to build a new server and setup 
an IB link so that Samba works acceptably from Windows and the
files can stay on the Linux side of the fence.



More information about the samba mailing list