We successfully mounted on a linux server a folder shared by an old (XP) windows panel PC.
# mount.cifs //192.168.X.Y/folder /mnt/folder
Once we inspected the folder on client machine, we noticed that all files showed the same name
# ls /mnt/folder/
Conca_0C Conca_0C Conca_0C Conca_0C Conca_0C Conca_0C Conca_0C Conca_0C Conca_0C
As we know the real names of the folders, we tried to list the contents of one of the folders accessing it by its real name.
The problem persists also in subfolders.
# ls /mnt/folder/Conca_01/
22D012322D01 22D012322D01
We tried setting and unsetting some mount.cifs parameters:
- iocharset
- mapchars
- mapposix
- vers (SMB version)
- posix
- unix
- linux
- posixpaths
all without success.
The only way we found it to work is via gio mount
(gvfs), but we need this filesystem to be mounted at boot via fstab, and we found no way to use gio mount
in fstab.
Unfortunately we do not have another windows machine in the same network to test a mount between machines with the same OS.
Any ideas?