folder as file in samba

view story

http://serverfault.com – we want to change files on the netapp, and on every change of the files - the debian machine duplicate the files to two another shares. Because of the duplication method (lsync), we need to mount samba share (of the netapp storage) and reshare it with samba, and we are doing all the changes from the share of the linux machine instead of the netapp. the problem is that sometimes at some tree level we see the folders as files instead of folders. for example the tree is like that: / --fol1 +--fol5 +--fol6 --fol2 +--fol3 +--fol4 and all the folders in the fol4/fol6 level, no matter what (HowTos)