Roshan Book

My Tech Notebook

Monthly Archives: November 2012

Hostgator Coupon

Here is coupon code which will give a discount of $9.94 for your next hosting purchase from hostgator

While signing up , just enter this code : “manashoffer“, without double quotes.

Ah yes, I will get commission for it, and you will get discount. A perfect win-win situation 🙂




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 :


[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

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

(**) Start with a fresh one:

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

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

encrypt passwords = false

and change it to:

encrypt passwords = true

(**) Restart samba

sudo service smbd restart
%d bloggers like this: