[Bug 1261873] Re: [trusty] "usershare" access denied error (leads to non working nautilus samba sharing)

ped5 pedwards_umich at yahoo.com
Sun Oct 5 08:55:12 UTC 2014


Ran an update from a 12.10 update, and got the same error, and fell on
this thread.

I've added chuck's smb.conf.good, and updated my current shares.  All
the original [homes] shared parameters are commented out.

Running samba 2:4.1.6+dfsg-1ubuntu2.14.04.3
on 14.04 LTS

All of my shares are visible through windows machines and XBMC, however
still getting NT_STATUS_ACCESS_DENIED with smbstatus.

My shares made generic are as such:
-------------------------
[share1]
   comment = Backup Drive 2TB
   path = /media/disk2
   browseable = Yes
   read only = no

[share2]
   comment = Media Directory
   path = /media
   browseable = Yes
   read only = no

[share3$]
   comment = XMBC access to movies
   path = /home/user/Movies
   public = yes
   guest ok = yes
   read only = no

[share4$]
   comment = XMBC access to TV
   path = /home/user/TV
   public = yes
   guest ok = yes
   read only = no


------
Yes, I know share1 and 2 point the same locations, just share 1 I typically map to the windows machines whereas 2 is if I need access to USB drives.

So although it's not causing issues for what I need done persay, it's
still a bit concerning that it's apparently not clean.   Is there
something to do with chmod or UID access that I've overlooked?

Not urgent as it functions, just would like it to run a bit more clean
before there are other issues introduced that I'm simply not noticing
yet.

Appreciate any insights,
-ped

-- 
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/1261873

Title:
  [trusty] "usershare" access denied error (leads to non working
  nautilus samba sharing)

Status in “samba” package in Ubuntu:
  Fix Released
Status in “samba” source package in Trusty:
  Fix Released

Bug description:
  Installed daily build of gnome 14.04 dated 12/17 can not share
  directories.  Getting

  'net usershare' returned error 255: net usershare add: cannot convert
  name "Everyone" to a SID. Access denied.

  Copied a unmodified version of smb.conf from my 13.10 system, ran sudo
  service cups restart and now can successfully share directories.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: cups 1.7.0-0ubuntu3
  ProcVersionSignature: Ubuntu 3.12.0-7.15-generic 3.12.4
  Uname: Linux 3.12.0-7-generic x86_64
  ApportVersion: 2.12.7-0ubuntu2
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Tue Dec 17 14:21:08 2013
  InstallationDate: Installed on 2013-12-17 (0 days ago)
  InstallationMedia: Ubuntu-GNOME 14.04 "Trusty Tahr" - Alpha amd64 (20131217)
  Lpstat: device for HP_Photosmart_1210: usb://HP/Photosmart%20C4100%20series?serial=MY73EH528Q04J7&interface=1
  MachineType: Si G41M-P33
  Papersize: letter
  PpdFiles: HP_Photosmart_1210: HP Photosmart c4100 Series, hpcups 3.13.11
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.12.0-7-generic root=UUID=ae61c7ab-c5ce-4862-985b-7b235036faee ro quiet splash vt.handoff=7
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/05/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: V7.7
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: G41M-P33 (MS-7592)
  dmi.board.vendor: MSI
  dmi.board.version: 3.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: MSI
  dmi.chassis.version: 3.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV7.7:bd01/05/2010:svnSi:pnG41M-P33:pvr3.0:rvnMSI:rnG41M-P33(MS-7592):rvr3.0:cvnMSI:ct3:cvr3.0:
  dmi.product.name: G41M-P33
  dmi.product.version: 3.0
  dmi.sys.vendor: Si

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



More information about the foundations-bugs mailing list