hi, I have tried to share my user folder in /home by right-clicking it and share. Guest and write permissions are deselected. when I now browse to this share from win7, I have enter a user and pass, and when I do so, I get a permission denied.
One month ago I did the same thing with ubuntu 12.10, it installed samba, which is already installed in mint, asekd me to logout, then I could share like I did in mint now. Because win7 uses the same login than my ubuntu and now mint install, I had not to enter any login at all (with ubuntu). Every other pc in my network had to enter user and pass, but not the ones with the same user.
Now in mint, even with the entered user and pass, no permission.
Can anyone help please?
Have a nice day.
problem with samba share of user folder
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
problem with samba share of user folder
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: problem with samba share of user folder
Based only on your description of what you did you seem to have left out one step: Creating a samba password for yourself:
Change altair to your own login user name.
Code: Select all
sudo smbpasswd -a altair
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: problem with samba share of user folder
nice, thanks. is there any good reason to not make the login pass = the smb pass? why I have to do this manually?
Re: problem with samba share of user folder
Yes. Samba was created for UNIX servers and any System Admin that created a local user with a login password and a samba password that matched would be fired on the spot.chieffun wrote:is there any good reason to not make the login pass = the smb pass?
Even today if you do this on your home network where you have multiple lan users you would not want to do this since the remote lan user now has access to the physical server itself.
In a true client - server setup the local user representing the lan user would not have login access to the server directly ( or have a home directory ) so you have to add him to the samba password database manually anyway.
If you don't care about privacy or security or there only is one user in the network you can install a package that forces the local login password and the samba password to match:
Code: Select all
sudo apt-get install libpam-smbpass
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.