Originally Posted by
pcman51
Very Frustrated.. !!
...
I just reinstalled Ubuntu 22.04 lts so I have a clean install.
.
Clicked Share a folder, Says it needed to install software, I Assume Samba ??
...
Goto one of 2 Windows 10 desktops and I see the Ubuntu Server, and I click on of the two two shared folders,
I click the folder, it asks for User and PW, I enter the only user account I have on the Ubuntu Server, and it won't accept that.
It appears you created what samba calls a "usershare" from your file manager and that you are using Ubuntu 22.04.
[1] Unlike Windows there are two passwords for your Linux user when using samba.
The password you use locally when you log into the server itself and the one you use for samba. You need to add your user to the samba password database, for example to add myself I would run:
Code:
sudo smbpasswd -a morbius
[2] Since you are creating shares from your file manager it is likely they are in your home folder because that is what it's designed to do.
Ubuntu 22.04 changed the permissions on your home folder such that only the owner of the home folder itself can access anything under it. This is true on the server itself and via samba.
There are multiple ways around this issue but if you are only accessing it with your own Linux user name it shouldn't be an issue.
Should you have further problems posting the output of the following commands will tell us how you are set up:
Code:
net usershare info --long