Re: Mount samba shares with utf8 encoding using cifs

Originally Posted by bobd72

Thanks for a great thread - it has been a huge help to me.
I am using a network with a single windows machine and a number of Hardy boxes. The windows machine has a partition D$ which gives access to the Hardy machines using cifs.

If I use the following format in /etc/fstab of a Hardy box it mounts the share correctly in the directory /media/windata at boot.

Re: Mount samba shares with utf8 encoding using cifs

Thanks you for you help with this problem dmizer. Now everything works OK. I have another Hardy machine - a Laptop - which has exactly the same problem which I can now resolve.
I had read somewhere that smbfs was replaced in Hardy by cifs. Is this correct?
If this is the case and smbfs isn't installed by default but cifs is dependent on it for some functions, others may experience problems. The fact that it worked without the credentials file even though smbfs wasn't installed would perhaps support this?

Re: Mount samba shares with utf8 encoding using cifs

Thanks you for you help with this problem dmizer. Now everything works OK. I have another Hardy machine - a Laptop - which has exactly the same problem which I can now resolve.

glad we got you going.

Originally Posted by bobd72

I had read somewhere that smbfs was replaced in Hardy by cifs. Is this correct?

yes, this is correct. there is more information in the afterword of the howto regarding this.

Originally Posted by bobd72

If this is the case and smbfs isn't installed by default but cifs is dependent on it for some functions, others may experience problems. The fact that it worked without the credentials file even though smbfs wasn't installed would perhaps support this?

no ... in Hardy, smbfs is merely the name of a metapackage which installs all the requirements for cifs. so, interestingly, "sudo aptitude install smbfs" doesn't actually install smbfs in hardy.

as near as i can guess, in order to allow Nautilus to mount windows shares in Hardy (in previous releases, nautilus used smbfs not cifs), some basic cifs functionality must be enabled by default.

Re: Mount samba shares with utf8 encoding using cifs

I'm on a Hardy system, and while I have been able to browse/read network shares -- WinXP, and an Infrant ReadyNAS (cifs, smb, nfs capable) -- I've had problems writing to them (I get timeout errors that result in empty files). So I decided to try your way of doing things.

Followed the directions. Everything seemed to go okay, but now I'm seeing differences and problems.

1) I'm able to mount some of the shares, but many -- not all -- of the files/directories have locks indicating that I don't have permission to write to them. This isn't an issue when I browse the same share with the same credentials from Windows.

2) I see that now smbtree no longer displays everything in the network (even though I can browse things that "aren't there" in Nautilus)

3) On certain shares, even though it mounts (or appears to mount) I can't browse it. I get "The folder contents could not be displayed. You do not have the permissions necessary to view the contents of..."

This is about the point where I decided that it's in my best interests to stop experimenting with things I don't grok, and ask for help.

Re: Mount samba shares with utf8 encoding using cifs

Originally Posted by akahige

I'm on a Hardy system, and while I have been able to browse/read network shares -- WinXP, and an Infrant ReadyNAS (cifs, smb, nfs capable) -- I've had problems writing to them (I get timeout errors that result in empty files). So I decided to try your way of doing things.

Followed the directions. Everything seemed to go okay, but now I'm seeing differences and problems.

1) I'm able to mount some of the shares, but many -- not all -- of the files/directories have locks indicating that I don't have permission to write to them. This isn't an issue when I browse the same share with the same credentials from Windows.

2) I see that now smbtree no longer displays everything in the network (even though I can browse things that "aren't there" in Nautilus)

3) On certain shares, even though it mounts (or appears to mount) I can't browse it. I get "The folder contents could not be displayed. You do not have the permissions necessary to view the contents of..."

This is about the point where I decided that it's in my best interests to stop experimenting with things I don't grok, and ask for help.