Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 48

Thread: Error 255 cannot convert name "Everyone" to a SID

  1. #11
    Join Date
    Jun 2007
    Location
    Oz
    Beans
    501
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Error 255 cannot convert name "Everyone" to a SID

    Quote Originally Posted by Janeleaper View Post
    I should add that I need talking through it. I don't know what a stanza of smb.conf is, for example. Sorry.
    This order:


    Step 1: Install Samba. System --> Administration --> Synaptic Package Manager and install samba and samba-common and smbclient and nautilus-share and libsmbclient

    Step 2: Have you got these three lines in your samba config file, smb.conf, located at /etc/samba/smb.conf:
    Code:
    usershare allow guests = Yes
    usershare max shares = 100
    usershare owner only = False
    Step 3: check exists directory /var/lib/samba/usershares

    Step 4: reboot

  2. #12
    Join Date
    Jul 2008
    Beans
    334
    Distro
    Ubuntu

    Re: Error 255 cannot convert name "Everyone" to a SID

    I've installed Samba. I've searched for a file called samba/smb.conf. I get the message "no files found"

  3. #13
    Join Date
    Jul 2008
    Beans
    334
    Distro
    Ubuntu

    Re: Error 255 cannot convert name "Everyone" to a SID

    I've checked. The other applications you told me to install are intalled.

  4. #14
    Join Date
    Jul 2008
    Beans
    334
    Distro
    Ubuntu

    Re: Error 255 cannot convert name "Everyone" to a SID

    Sorry. I've found the file now. I didn't realise the "etc" meant something.

    The file does not have the three lines you mention. It has:

    usershare allow guests = yes
    username map = /etc/samba/smbusers
    security = user
    ; guest ok = no
    ; guest account = nobody

  5. #15
    Join Date
    Jul 2008
    Beans
    334
    Distro
    Ubuntu

    Re: Error 255 cannot convert name "Everyone" to a SID

    Do I replace those lines or just add the ones you gave me?

    I do have the directory.

  6. #16
    Join Date
    Jul 2008
    Beans
    334
    Distro
    Ubuntu

    Re: Error 255 cannot convert name "Everyone" to a SID

    I'm also being told I don't have the permissions necessary to save the file.

  7. #17
    Join Date
    Jul 2009
    Beans
    6
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Error 255 cannot convert name "Everyone" to a SID

    just to clarify
    I'm in the same boat as the original poster means that i am having the same error
    "net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. Invalid parameter"
    when i try to share files in nautilus (right click->sharing options->share)

    sorry if i was not clear

    sudo /etc/init.d/samba status
    * nmbd is running
    * smbd is running

    sudo ufw status
    To Action From
    -- ------ ----
    6542 ALLOW Anywhere
    2049 ALLOW Anywhere
    135/tcp ALLOW Anywhere
    Samba ALLOW Anywhere


    "samba" as above is listed in the gui of the firewall as 137,138 udp
    and 139, 445 tcp

    Swerdna if you could focus on the same error as the original poster for me that would be great. The only reason i brought up my other problems was in case they were related. As i am new to linux I can't tell if they are related.


    and Janeleaper ubuntu saying that you don't have permisssions to edit the file means that you need to open the file as a superuser

    first you should backup the file
    open the terminal under the application menu->accessories->terminal

    enter
    sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup
    it might ask for a password (this is your root password)

    and then to edit smb.conf the terminal and enter
    sudo gedit /etc/samba/smb.conf

    this will open smb.conf and allow you to edit and save it

    Janeleaper you may find this link extremely useful (i know i did)
    it is a fairly good walkthrough setting up a home network
    http://ubuntu.swerdna.org/ubulanprimer.html

  8. #18
    Join Date
    Jul 2008
    Beans
    334
    Distro
    Ubuntu

    Re: Error 255 cannot convert name "Everyone" to a SID

    Thanks to both of you. I suspect I'm being particularly dense about this, but I'm still confused. I'm not trying to set up a Microsoft Windows - Ubuntu network, only Ubuntu - Ubuntu, so I shouldn't need Samba at all -- I think.

    But -- my problems seems to be caused by having attempted to set up a MS -- Ubuntu network in the past using Samba. Even having uninstalled Samba I seem to have a lot of Samba files on my system.

    I really don't know what to do now. I'm going to sleep on it and try again tomorrow.

  9. #19
    Join Date
    Jun 2007
    Location
    Oz
    Beans
    501
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Error 255 cannot convert name "Everyone" to a SID

    Quote Originally Posted by Janeleaper View Post
    Sorry. I've found the file now. I didn't realise the "etc" meant something.

    The file does not have the three lines you mention. It has:

    usershare allow guests = yes
    username map = /etc/samba/smbusers
    security = user
    ; guest ok = no
    ; guest account = nobody
    You open the file for editing as a superuser, then you'll be able to save the file after editing. Use this terminal command to get it open as a superuser:
    Code:
    gksu gedit /etc/samba/smb.conf
    regarding these lines:
    usershare allow guests = yes
    username map = /etc/samba/smbusers
    security = user
    ; guest ok = no
    ; guest account = nobody
    leave them as they are and add these two:
    Code:
    usershare max shares = 100
    usershare owner only = False

  10. #20
    Join Date
    Jun 2007
    Location
    Oz
    Beans
    501
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Error 255 cannot convert name "Everyone" to a SID

    Quote Originally Posted by Janeleaper View Post
    Thanks to both of you. I suspect I'm being particularly dense about this, but I'm still confused. I'm not trying to set up a Microsoft Windows - Ubuntu network, only Ubuntu - Ubuntu, so I shouldn't need Samba at all -- I think.

    But -- my problems seems to be caused by having attempted to set up a MS -- Ubuntu network in the past using Samba. Even having uninstalled Samba I seem to have a lot of Samba files on my system.

    I really don't know what to do now. I'm going to sleep on it and try again tomorrow.
    No you don't need Samba -- you can use it but insteda you can use NFS. So, good luck with that.

Page 2 of 5 FirstFirst 1234 ... 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
  •