Roshan Book

My Tech Notebook

Solving : net usershare add: cannot convert name “Everyone” to a SID + unexpected information received


Today while sharing my Public folder , I was getting this error:

“net usershare add: cannot convert name “Everyone” to a SID + unexpected information received”.

Agter searching for a while, I found solution which worked from here : http://ubuntuforums.org/showthread.php?t=1982137

 

[1] Do not ever use gadmin-samba again for as long as you live.

[2] Purging the “samba” package will not resolve your discombobulated smb.conf file since that file doesn’t come from the “samba” package.

[3] Restore a factory fresh copy of smb.conf:

(**) Make sure the following file exists: /usr/share/samba/smb.conf

(**) Make a backup of your current smb.conf

Code:
  sudo cp /etc/samba/smb.conf /etc/samba/smb.confMOD

(**) Start with a fresh one:

Code:
sudo cp -a /usr/share/samba/smb.conf /etc/samba/

(**) Correct one mistake in the new one:
Find the line:

Quote:
encrypt passwords = false

and change it to:

Quote:
encrypt passwords = true

(**) Restart samba

Code:
sudo service smbd restart

2 responses to “Solving : net usershare add: cannot convert name “Everyone” to a SID + unexpected information received

  1. nieko May 12, 2013 at 6:43 am

    MATE YOU ARE A LEGEND

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: