0

For the past few months, I have been using a NAS server that I created by running FreeNAS in a VirtualBox on my Ubuntu 16.04 server. I know this isn't ideal, so I set up Samba shares on my server. Now, when I want to access that server from Windows 10, I go to the network tab and click on the name of my server. A pop-up appears, and it asks me for my Network Credentials. I have tried every imaginable username and password, I have gone into Windows credential manager and added every type of credential for the server posible. No matter what I do, it still says that my username or password is incorrect. I feel like I'm missing something important, but I have no idea what it is. If someone has run into the same issue, please let me know. I want to use Ubuntu services instead of some crazy VirtualBox one. Thanks!

7
  • Did you run sudo smbpasswd -a <username> on the server? Samba uses a separate set of passwords to authenticate. (It can be the same password though)
    – nullmeta
    Jun 14, 2017 at 22:18
  • Yes. it was the same as my main password, but yes. I think the issue is in Windows credentials, because in my FreeNAS setup, I can access it as a computer, and inside there is a folder that is my NAS.
    – Matanya
    Jun 15, 2017 at 0:10
  • Is the user designated as a valid user in smb conf?
    – nullmeta
    Jun 15, 2017 at 0:23
  • That is done by adding a line to the share designation such as valid users = user
    – nullmeta
    Jun 15, 2017 at 0:28
  • Yes, "valid user" is my ubuntu username. Should it be my Windows one?
    – Matanya
    Jun 15, 2017 at 18:50

1 Answer 1

0

If you use the same username / password in windows and samba, when asked for credentials, just enter your username and no password. This did the trick for me (after long search).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .