samba doesn't work

Bug #582803 reported by Wayne
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: samba

After upgrading to release 10.04, I can't get samba to work at all.

All the computers on my network can ping each other, but none of them can see each other in their workgroup.

samba:
  Installed: 2:3.4.7~dfsg-1ubuntu3
  Candidate: 2:3.4.7~dfsg-1ubuntu3
  Version table:
 *** 2:3.4.7~dfsg-1ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: samba 2:3.4.7~dfsg-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Wed May 19 19:22:47 2010
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
RelatedPackageVersions:
 nautilus 1:2.30.1-0ubuntu1
 gvfs 1.6.1-0ubuntu1build1
SambaClientRegression: Yes
SourcePackage: samba

Revision history for this message
Wayne (verny56) wrote :
Revision history for this message
Thierry Carrez (ttx) wrote :

Could you check the status of the samba daemons:
$ sudo status nmbd
$ sudo status smbd

Please describe your scenario in more detail ("samba is not working" is not enough, given how many different uses of samba are possible). Are you sharing folders on workstations ? Setting up a samba file server ? Accessing remotely-shared folders ?

Based on that, please provide the info requested at: https://wiki.ubuntu.com/DebuggingSamba

Changed in samba (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Wayne (verny56) wrote : Re: [Bug 582803] Re: samba doesn't work

Thierry,

Sorry for the incomplete information - I'm new to this bug reporting
business.

Since submitting the fault report, I found that it wasn't a problem with
samba after all.

I have a desktop computer running Ubuntu that has some printers
connected and 4 laptop computers, 2 of which run windows XP and 2 with
vista. I use samba to backup laptop files to the Ubuntu box and for
sharing the printers to the laptops.

Prior to upgrading to 10.04, I could see the laptops via the
Places-Network-Windows Network.

After the upgrade, the Windows network was showing as empty.

After sending the error report, I found that I could connect to the
other laptops using Places-Connect to Server then in the dialogue box
typing in the name of the laptop. I can also access the computer using
firefox by typing the IP address as smb://ww.xx.yy.zz.

I sorted the problem out by following advice shown in this thread:

http://ubuntuforums.org/showthread.php?t=1028321

in particular, I changed smb.conf as shown here:

"MOST IMPORTANT I change the way the priority for name resolution work
for samba:

name resolve order = wins hosts lmhosts bcast"

It was originally in there as:

name resolve order = lmhosts host wins bcast

I restarted samba using restart smbd and everything was working.

I am assuming that the smb.conf file was changed during the upgrade to
10.04 as everything was working beforehand.

Apologies for mis-filing the bug, but I hope it will be of use to others
who may have a similar problem.

Regards,

Wayne

Here's the status outputs:

smbd start/running, process 677
wayne@shuttlex:~$ sudo status nmbd
nmbd start/running, process 1163

On Wed, 2010-05-19 at 12:33 +0000, Thierry Carrez wrote:
> Could you check the status of the samba daemons:
> $ sudo status nmbd
> $ sudo status smbd
>
> Please describe your scenario in more detail ("samba is not working" is
> not enough, given how many different uses of samba are possible). Are
> you sharing folders on workstations ? Setting up a samba file server ?
> Accessing remotely-shared folders ?
>
> Based on that, please provide the info requested at:
> https://wiki.ubuntu.com/DebuggingSamba
>
> ** Changed in: samba (Ubuntu)
> Importance: Undecided => Medium
>
> ** Changed in: samba (Ubuntu)
> Status: New => Incomplete
>

Revision history for this message
Thierry Carrez (ttx) wrote :

No problem, thanks for keeping us posted !

Changed in samba (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.