Roshan Book

My Tech Notebook

Tag Archives: share

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
%d bloggers like this: