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

Bug #1270565 reported by Shahar Or
42
This bug affects 9 people
Affects Status Importance Assigned to Milestone
gnome-user-share (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Trying to create a share I get this error and sharing fails:
"'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. Access denied."

Screen shot attached.

Tried other another folder. Doesn't work.

Folder permissions are:
drwxr-xr-x 4 shahar shahar 4096 Jan 19 09:21 /home/shahar/tmp/

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gnome-user-share 3.0.4-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-4.19-generic 3.13.0-rc8
Uname: Linux 3.13.0-4-generic x86_64
ApportVersion: 2.13.1-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Jan 19 14:08:31 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2010-10-12 (1194 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: gnome-user-share
UpgradeStatus: Upgraded to trusty on 2013-10-26 (84 days ago)

Revision history for this message
Shahar Or (mightyiam) wrote :
Revision history for this message
Mirko Minardi (starless78) wrote :

Same issue.

I automatically mount /dev/sda7 at boot. This is my fstab:

UUID=72c14b49-940f-4e77-a390-ee853b01f322 /media/dati ext4 discard,noatime,rw,defaults 0 0

and folder permissions are:

drwxr-xr-x 37 test test 4096 gen 19 11:15 /media/dati

drwx------ 3 test test 4096 gen 18 21:51 /media/dati/BackupSBS <-- This is folder that I want share.

Revision history for this message
Shahar Or (mightyiam) wrote :

Mirko, please mark as affecting you.

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

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

Changed in gnome-user-share (Ubuntu):
status: New → Confirmed
Changed in gnome-user-share (Ubuntu):
importance: Undecided → High
Revision history for this message
Bai Lee (calidion) wrote :

encountered the same problem

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.