0

I recently installed ubuntu 16.04 on a machine I built, hoping that it'd serve my home for file sharing, media server and probably for VPN. I have installed Samba and the LAMP server. I also have installed phpmyadmin. Then I have created some folders under 'home' and shared it over my home-network.

Now, when I try to access them from my windows PCs it won't let me to, and asks a username and password every time. I didn't know initially what credentials to provide, and was providing those which I used to set up the ubuntu server. I was not being granted access. After scouring the internet for 3 straight days, I still can't come up with a solution. I tried adding users with passwords in Samba, and tried logging in with those credentials, but with no avail. I tried editing the samba configuration file as suggested in many ubuntu Q&As, but it differs largely from what described in the pages, and I couldn't even find many of the parameters. The little bit of tweaks that I made in the configuration file couldn't help alleviate the problem. Please help me out with it. I am really into it for the past three days and am starting to lose my patience now.

A screen shot of the global settings:

enter image description here

The authentication settings:

enter image description here

1 Answers1

0

sudo passwd -a username and set your password for your given username, use it when Windows asks for the name and password.