'net usershare' returned error 255: net usershare add: cannot share path /var/www/html/moodle as we are restricted to only sharing directories we own :-
cd /etc/samba
Then Edit the configuration file :
sudo gedit smb.conf
And then add a line in Global Settings :
usershare owner only = false
After doing this, restart your samba service using,
sudo service smbd restart
cd /etc/samba
Then Edit the configuration file :
sudo gedit smb.conf
And then add a line in Global Settings :
usershare owner only = false
After doing this, restart your samba service using,
sudo service smbd restart