Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: [SOLVED] Samba error 255

  1. #1
    Join Date
    Dec 2008
    Location
    Ghana
    Beans
    151
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Question [SOLVED] Samba error 255

    After installing samba, I wanted to share with other computers on the LAN and all in 'WORKGROUP' one file.

    This is the error I got after right-clicking the file and allow access and Guest access:

    'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Permission denied
    You do not have permission to create a usershare. Ask your administrator to grant you permissions to create a share.

    What am I doing wrong? (I'm sure it's me!)
    Thanks in advance for any advice.

  2. #2
    Join Date
    Jul 2008
    Location
    Netherlands
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Samba error 255

    Quote Originally Posted by marcgh View Post
    'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Permission denied
    You do not have permission to create a usershare. Ask your administrator to grant you permissions to create a share.
    Can you post your /etc/samba/smb.conf ?

  3. #3
    Join Date
    Dec 2008
    Location
    Ghana
    Beans
    151
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Samba error 255

    Quote Originally Posted by albinootje View Post
    Can you post your /etc/samba/smb.conf ?
    Thanks albinootje for your concern.
    I have found my solution in this link and my shares are now visible on my XP laptop.

    http://linuxowns.wordpress.com/2008/...windows-samba/

    Bedankt!

  4. #4
    Join Date
    Jul 2008
    Location
    Netherlands
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Samba error 255

    Quote Originally Posted by marcgh View Post
    Thanks albinootje for your concern.
    I have found my solution in this link and my shares are now visible on my XP laptop.

    http://linuxowns.wordpress.com/2008/...windows-samba/
    Okay, cool!

    Bedankt!
    Geen probleem

  5. #5
    Join Date
    Apr 2009
    Beans
    1

    Re: [SOLVED] Samba error 255

    The file manager that I am tiring to share is **** up.

    See this

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

    How to

  6. #6
    Join Date
    Aug 2008
    Location
    United States
    Beans
    25
    Distro
    Ubuntu 11.04 Natty Narwhal

    Angry Re: [SOLVED] Samba error 255

    Quote Originally Posted by AMD XL View Post
    The file manager that I am tiring to share is **** up.

    See this

    'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. Invalid parameter.
    I'm using nautilus and I'm having the same problem with sharing folders. This post says solved, but I don't see a solution anywhere...

  7. #7
    Join Date
    Dec 2008
    Location
    Ghana
    Beans
    151
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: [SOLVED] Samba error 255

    Hi,
    Try this link : http://linuxowns.wordpress.com/2008/...windows-samba/

    It solved the problem for me. Good luck.

  8. #8
    Join Date
    Nov 2009
    Beans
    27

    Re: [SOLVED] Samba error 255

    The suggestion of opening nautilus using sudo command to have higher permissions when enabling shares does not work for the error:

    "'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. The connection was refused. Maybe smbd is not running"

    It is running because I can access the shares over smb.

    anyone have a clue? Just upgraded to 10.04 and haven't a clue what's going on. All the commands for using samba seem to now not work. brilliant.

  9. #9
    Join Date
    Feb 2010
    Beans
    1

    Re: [SOLVED] Samba error 255

    Hi, everybody !

    The same here! it said [SOLVED] but the solution :

    did not work for me.

    All I did was upgrade to 10.4 from 9 and all samba share dead and I kept getting Error message :

    net usershare add: cannot convert name "Everyone" to a SID. Invalid parameter.
    Did anyone work around other than "nautilus root access" ???

    any help would be appliciated !

    John

  10. #10
    Join Date
    Nov 2009
    Location
    South East Coast, USA
    Beans
    73
    Distro
    Ubuntu

    Re: [SOLVED] Samba error 255

    Quote Originally Posted by johnyuan2000 View Post
    Hi, everybody !

    The same here! it said [SOLVED] but the solution :

    did not work for me.

    All I did was upgrade to 10.4 from 9 and all samba share dead and I kept getting Error message :

    Did anyone work around other than "nautilus root access" ???

    any help would be appliciated !

    John
    Bump

    Same for me

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •