[Bug 1045194] Re: usershares created in nautilus not working

Thomas 1045194 at bugs.launchpad.net
Mon Sep 3 07:58:25 UTC 2012


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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1045194

Title:
  usershares created in nautilus not working

Status in “samba” package in Ubuntu:
  New

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)
  NmbdLog:
   
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/usr/bin/zsh
  SambaServerRegression: No
  SmbConfIncluded: Yes
  SmbLog:
   
  SourcePackage: samba
  UbuntuFailedConnect: Yes
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1045194/+subscriptions




More information about the foundations-bugs mailing list