Shared folders (through Samba) when following instructions sometimes does not work correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
Bug Description
Binary package hint: samba
SUMMARY:
Following instructions to create a shared folder through Nautilus (right-click > Sharing Options > Share this folder, and following the subsequent prompts) does not always work.
For some people, it works immediately. For other people, a solution has been found, which requires extra steps.
I found this a problem across a small network of five computers:
- one 64-bit Ubuntu (Lucid 10.04)
- two 32-bit Ubuntu (Lucid 10.04)
- one 32-bit Xubuntu (Lucid 10.04)
- one Windows Vista.
Every Ubuntu computer had the identical problem.
Other people have reported having this problem. Examples:
http://
http://
SYMPTOMS:
When it works, everything works properly and quickly. But when it does not work...
The shares appear to be created correctly. Using terminal commands, it is found that the machines do in fact connect. However, in Nautilus, the network takes approximately a minute to respond and then fails to find the shares.
DISCOVERED SOLUTION:
1. Add the following two lines under the [global] section in file /etc/smb.conf in every Ubuntu and Xubuntu machine:
os level = 33
name resolve order = bcast host lmhosts wins
2. Reboot.
3. Some people find that they have to experiment with the order of items in "name resolve order".
EXTRA INFORMATION:
Package versions according to Synaptic (from the default repositories):
- samba 2:3.4.7~
- nautilus-share 0.7.2-12build1
- system-config-samba 1.2.63-0ubuntu4
REQUIRED ACTION:
Shared folders should work through the GUI without workarounds and fiddling, just as Windows and Mac do. It should not be necessary to get onto the forum, search, and mess with /etc/smb.conf. (It took over a week for me to discover the answer.)
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: samba 2:3.4.7~
ProcVersionSign
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
CheckboxSubmission: 5bf569339afeaac
CheckboxSystem: b1865df84255b87
Date: Fri Jun 11 11:33:18 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
RelatedPackageV
nautilus 1:2.30.1-0ubuntu1
gvfs 1.6.1-0ubuntu1b
SambaClientRegr
SourcePackage: samba
affects: | samba (Ubuntu) → nautilus (Ubuntu) |
affects: | nautilus (Ubuntu) → nautilus-share (Ubuntu) |
Changed in samba (Ubuntu): | |
importance: | Undecided → Medium |
Changed in samba (Ubuntu): | |
status: | New → Confirmed |
When I try to do a simple share of documents folder & get an error:
'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. The connection was refused. Maybe smbd is not running.
if I do a search of synaptic there is a samba4
which is described as an experimental package