I have a Windows share (shared from a Windows Server 2003 box) that is mounted on our Ubuntu server using cifs. That mount is then shared out through Samba. The issue is that all of the folders in the share display as FILES. For example, imagine this folder structure:
>Share Level >> FolderOne >>> File >> FolderTwo >> FileOne
So, when I enter the root of the share from a Windows 7 machine, FolderOne, FolderTwo and FileOne all display as files. If I attempt to enter FolderOne by clicking on it's icon, it fails. If I go directly to the folder with a UNC path (\\server\share\FolderOne) I can enter the folder correctly.
Options on the CIFS mount: dirmode=0770, file_mode=0770, rw
Samba options on the share:
writeable = yes printable = no browseable = yes force user = <primary file owner> force group = <primary file group> valid users = <needed access>
This is an Ubuntu 12.04.2 server running Samba 3.6.3.