Description of problem: I recently got a second hand (but unused) LaCie Network Space 2 NAS device that I attached to the network. It has one publicly accessible share ('OpenShare') which I tried to access. I ran into a number of problems that may or may not warrant separate bugs: - There is no 'wins' entry in /etc/nsswitch.conf under 'hosts' so resolving the host is impossible. Adding 'wins' solves this problem. - Mageia Control Center does not offer a way to mount as 'guest' which is most needed for anonymous login to a share - Mount is not setuid root so even if you set the 'user' option, it gives you an error that "user" CIFS mounts are not supported. - Remaining problem is that I can't seem to log in to either an authenticated or a public share, Nautilus mentions an unkown error code -5004 and mount.cifs gives 'bad UNC', whatever that means. Reproducible: Steps to Reproduce:
(In reply to Reinout van Schouwen from comment #0) > - Remaining problem is that I can't seem to log in to either an > authenticated or a public share, Nautilus mentions an unkown error code > -5004 and mount.cifs gives 'bad UNC', whatever that means. Scrap that last remark, that was my error by reading the // in front of the network address in fstab as comment tokens that I removed. When the // is there I get a password prompt in case of an authenticated share but still a mount error(13): Permission denied when I provide the password. In case of a public share I immediately get the mount error(13).
The fact that Nautilus couldn't access the share was caused by the fact that gvfs-smb wasn't installed (duh). This was totally non-obvious though, it should be at least a suggestion with samba client tools, if not just required by task-gnome.
In the mean time I have replaced the firmware of the NAS. By doing so I have now succeeded in getting guest access to a public CIFS share on the device. However, the other issues I mentioned in comment #0 still stand.
The mount setuid root issue should be fixed in cauldron, see bug 14691
CC: (none) => mageia
Comment #4 suggests one of the issues is fixed. Are there remaining issues or should be close this bug report?
Keywords: (none) => NEEDINFO
(In reply to Samuel VERSCHELDE from comment #5) > Comment #4 suggests one of the issues is fixed. Are there remaining issues > or should be close this bug report? I don't see any indication that the remaining issues have been fixed: - There is no 'wins' entry in /etc/nsswitch.conf under 'hosts' so resolving the host is impossible. Adding 'wins' solves this problem. - Mageia Control Center does not offer a way to mount as 'guest' which is most needed for anonymous login to a share
Keywords: NEEDINFO => (none)Whiteboard: (none) => MGA5TOO FOR_ERRATA
Removing FOR_ERRATA because it seems that this misbehaviour is not too notable.
Whiteboard: MGA5TOO FOR_ERRATA => MGA5TOOCC: (none) => shlomif
I am experiencing related issues documented in Bug 16185. In this case the server is a wan/home router with SMB server capability from usb devices and no additional security. I have been able to browse the directories with smbclient, but not able to mount the share in any way so far
CC: (none) => vzawalin1
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=16185
(In reply to Reinout van Schouwen from comment #6) > (In reply to Samuel VERSCHELDE from comment #5) > > Comment #4 suggests one of the issues is fixed. Are there remaining issues > > or should be close this bug report? > > I don't see any indication that the remaining issues have been fixed: > > - There is no 'wins' entry in /etc/nsswitch.conf under 'hosts' so resolving > the host is impossible. Adding 'wins' solves this problem. > Or install nss_wins see https://bugs.mageia.org/show_bug.cgi?id=18274
CC: (none) => j.alberto.vc
Assignee: bugsquad => mageiatools
Hey - this is still a problem in Mageia 6 (Gnome) using nautilus. It is an easy fix. Install gvfs-smb. This needs to be defaulted in gnome if SMB client mounts are enabled. Can someone add this to gnome by default? I can tell you, I had to research and try things several times to make this work. Not user friendly at all. Brian
CC: (none) => brtians1
Hi What is the status of this?
CC: (none) => fri