usershares created in nautilus not working

Bug #1045194 reported by Thomas
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)

Bug Description

When I try to create a read-only guest share in nautilus the share is appearing in the network but it is not accessible (access denied). In the samba log there is following statement:
[2012/09/03 09:10:07.162628, 0] param/loadparm.c:8843(check_usershare_stat)
  check_usershare_stat: file /var/lib/samba/usershares/ owned by uid 0 is not a regular file
%: ls -al /var/lib/samba
drwxr-xr-x 4 root root 4.0K Aug 22 10:42 .
drwxr-xr-x 67 root root 4.0K Aug 26 12:12 ..
-rw------- 1 root root 36K Aug 22 10:42 account_policy.tdb
-rw------- 1 root root 696 Aug 22 10:42 group_mapping.tdb
-rw------- 1 root root 36K Sep 3 07:49 passdb.tdb
drwxr-xr-x 10 root root 4.0K Aug 22 10:42 printers
-rw------- 1 root root 104K Aug 22 10:42 registry.tdb
-rw------- 1 root root 44K Aug 22 10:42 secrets.tdb
-rw------- 1 root root 36K Sep 3 09:09 share_info.tdb
drwxrwx--T 2 root sambashare 4.0K Sep 3 09:04 usershares

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: samba 2:3.6.3-2ubuntu2.3
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Mon Sep 3 09:13:19 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)

 PATH=(custom, user)
SambaServerRegression: No
SmbConfIncluded: Yes

SourcePackage: samba
UbuntuFailedConnect: Yes
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Thomas (t-hartwig) wrote :
Revision history for this message
Thomas (t-hartwig) wrote :

I had to put following into the smb.conf to get it work (see below). The core problem is that nautilus does not check these options like it does in other cases to get something to work. Probably the whole problem is related to "nautilus-share" then but I am not sure.

    security = share
    guest account = th

"th" is my user account.

Revision history for this message
James Page (james-page) wrote :

Hi Thomas

I was not able to reproduce this issue in Ubuntu Quantal.

Please could you run the following commands and attach them to this bug report:

   sudo testparm -s

This will give us general information about the samba configuration on your install.

I see:

   usershare allow guests = Yes

In my output.

Marking 'Incomplete' pending your response. Please set back to 'New' once you have provided the requested information.

Changed in samba (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

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

Other bug subscribers