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

Bug #1293177 reported by Burt P.
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Confirmed
Medium
Unassigned
nautilus-share (Ubuntu)
Confirmed
Medium
Unassigned
Trusty
Confirmed
Medium
Unassigned
samba (Ubuntu)
Confirmed
Medium
Unassigned
Trusty
Confirmed
Medium
Unassigned

Bug Description

When using the "Local Network Share" tab in the folder properties window to try and share a folder, the result is an error message:

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

pburt@magus:~$ lsb_release -rd
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
pburt@magus:~$ /etc/init.d/samba status
 * nmbd is running
 * smbd is running
pburt@magus:~$ apt-cache policy nautilus-share
nautilus-share:
  Installed: 0.7.3-1ubuntu5
  Candidate: 0.7.3-1ubuntu5
  Version table:
 *** 0.7.3-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
pburt@magus:~$

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: nautilus-share 0.7.3-1ubuntu5
ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
Uname: Linux 3.13.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Mar 16 12:21:59 2014
InstallationDate: Installed on 2014-01-04 (70 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: nautilus-share
UpgradeStatus: Upgraded to trusty on 2014-03-09 (7 days ago)

Revision history for this message
Burt P. (pburt0) wrote :
Revision history for this message
Burt P. (pburt0) wrote :

There is this other very similar bug report at https://bugs.launchpad.net/ubuntu/+source/nautilus-share/+bug/332241 but that one was "fixed" years ago.

Revision history for this message
Martin Cigorraga (martincigorraga) wrote :

Hello every one,

I'm having the exact same bug on daily 14.04 (as of March 20):

j:0 ~ > lsb_release -rd
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04

j:0 ~ > service samba status
 * nmbd is running
 * smbd is running

j:0 ~ > apt-cache policy nautilus-share
nautilus-share:
  Installed: 0.7.3-1ubuntu5
  Candidate: 0.7.3-1ubuntu5
  Version table:
 *** 0.7.3-1ubuntu5 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

j:0 /var/lib/samba > ll
total 1,4M
 755 drwxr-xr-x 5 root root 4,0K mar 16 23:30 ./
 755 drwxr-xr-x 78 root root 4,0K mar 17 20:53 ../
 755 drwxr-xr-x 10 root root 4,0K mar 16 23:30 printers/
 755 drwxr-xr-x 3 root root 4,0K mar 16 23:30 private/
 770 drwxrwx--T 2 root sambashare 4,0K mar 20 15:48 usershares/
 600 -rw------- 1 root root 412K mar 16 23:30 account_policy.tdb
 600 -rw------- 1 root root 696 mar 16 23:30 group_mapping.tdb
 600 -rw------- 1 root root 516K mar 20 15:46 registry.tdb
 600 -rw------- 1 root root 412K mar 18 01:39 share_info.tdb

AFAIK I started experiencing this error a couple of days ago: the first 14.04 daily image I installed was from March, 12th and it worked flawlessly until just recently.
I downloaded and installed today March 20 the daily build and got the exact same problem right after first log in.
Traditional Samba configuration works as expected.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus-share (Ubuntu):
status: New → Confirmed
Revision history for this message
SB (emehntehtt) wrote :

I verify that this bug affects me also.

:~$ lsb_release -rd
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04

:~$ service samba status
 * nmbd is running
 * smbd is running

~$ apt-cache policy nautilus-share
nautilus-share:
  Installed: 0.7.3-1ubuntu5
  Candidate: 0.7.3-1ubuntu5
  Version table:
 *** 0.7.3-1ubuntu5 0
        500 http://ftp.acc.umu.se/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

/var/lib/samba$ ll
total 1400
drwxr-xr-x 6 root root 4096 Ožu 22 17:10 ./
drwxr-xr-x 69 root root 4096 Ožu 20 19:17 ../
-rw------- 1 root root 421888 Ožu 19 13:56 account_policy.tdb
-rw------- 1 root root 696 Ožu 19 13:56 group_mapping.tdb
drwxr-xr-x 10 root root 4096 Ožu 19 13:56 printers/
drwxr-xr-x 3 root root 4096 Ožu 19 13:56 private/
-rw------- 1 root root 528384 Ožu 19 13:56 registry.tdb
-rw------- 1 root root 421888 Ožu 19 13:56 share_info.tdb
drwxrwx--T 2 root sambashare 4096 Ožu 19 13:56 usershares/
-rw------- 1 root root 32768 Ožu 22 18:10 winbindd_cache.tdb
drwxr-x--- 2 root root 4096 Ožu 22 17:10 winbindd_privileged/

The system was freshly installed (no upgrade) on 18.3.2014 and samba sharing with Nautilus never worked, it constantly gives the same error.

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 1293177] Re: 'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. Access denied.

Yeah I see it too. Looks like a regression in samba.

  affects ubuntu/samba
  status new
  tags + regression-release

--
Kind regards,
Loong Jin

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

It has a moderate impact on a core package.

Changed in hundredpapercuts:
status: New → Confirmed
Changed in samba (Ubuntu):
status: New → Confirmed
Changed in hundredpapercuts:
importance: Undecided → Medium
Changed in samba (Ubuntu):
importance: Undecided → Medium
Changed in nautilus-share (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Giorgio Dramis (jorged) wrote :

I have the same problem!

giorgiodramis@giorgio-K53SD:~$ lsb_release -rd
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
giorgiodramis@giorgio-K53SD:~$ service samba status
 * nmbd is running
 * smbd is running
giorgiodramis@giorgio-K53SD:~$ apt-cache policy nautilus-share
nautilus-share:
  Installato: 0.7.3-1ubuntu5
  Candidato: 0.7.3-1ubuntu5
  Tabella versione:
 *** 0.7.3-1ubuntu5 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

tags: added: regression-release
Changed in nautilus-share (Ubuntu Trusty):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Revision history for this message
Sebastien Bacher (seb128) wrote :

@Brian: I'm unsure the desktop team can help there, the issue seems to be a samba regression and we don't have any knowledge of this component in desktop. Do you know who we could talk to about looking at that?

tags: added: rls-s-incoming
Changed in nautilus-share (Ubuntu Trusty):
assignee: Canonical Desktop Team (canonical-desktop-team) → nobody
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.