Why can't I log in to my Samba share on my home network?

dylanweber

Recently I've had to reinstall Ubuntu Server 15.10 64-bit after wiping my home server due to an insecure password-only SSH server sitting on it for too long. Now, I'm plagued with setting my machine up again and along with it is Samba shares. I'm able to get Samba to correctly share a folder publicly, but I'm currently looking to make only 1 private share available that can only be signed in from the one main user on the machine.

Testparm gives no errors. Here is my smb.conf file.

I've made sure that:

  1. My user account is a part of the sambashare group.
  2. I have sudo smbpasswd -a <user> and sudo smbpasswd -e <user> for my username on the machine.
  3. My username has permission to read and write folders and files on the folder the share is pointed to.

To make sure there are no errors, I've increased the log level in smb.conf and here is the output of an average sudo service smbd restart on /var/log/samba/log.smbd.

Whenever I go to my Windows machines and go to my server's SMB shares, I see the share "storage" appear. Clicking on it makes it load for a tiny second and then it asks for authentication because access was denied. Then, I type in my server's username & password I set up with smbpasswd and it still says access is denied. What am I missing?

Note: I've installed samba previously on this machine and then immediately purged it after this failure occured. Later, I reinstalled samba and I noted some things were astray. I corrected them and I'm back to this issue again.

dylanweber

The conclusion that I have reached is that I couldn't connect to my share because the version of Samba that is installed with Ubuntu 15.10 (Samba 4.1.17) had a bug that didn't allow it to properly authenticate users. My solution for this problem was installing Ubuntu 14.04.3 LTS and using Samba 4.1.6 along with it. Now Samba works flawlessly.

Note: I retried with a fresh copy of Ubuntu Server 15.10 to validate my conclusion and it is clear that Samba 4.1.17 in Ubuntu Server 15.10 is buggy.

My recommended solution? Install Debian instead.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

I can't exit my local network

분류에서Dev

Why can't I crash my system with a fork bomb?

분류에서Dev

Why can't I spoof Facebook with my own DNS server?

분류에서Dev

Why can't I restart my maia service?

분류에서Dev

Why can't I create a new Thread with an instance of my class?

분류에서Dev

Why can't I compile USB Proxy on my Beaglebone?

분류에서Dev

Why can't I access my objects member variable?

분류에서Dev

Why my jdk can't work,and before the java_home, there is a space that is not from me

분류에서Dev

Why don't any of my facebook share buttons work?

분류에서Dev

How can I share my clipboard between two X servers?

분류에서Dev

Why can't I convert DynamicJson to my class if I don't write {get; set;}

분류에서Dev

How can I mount a drive under my home directory at boot?

분류에서Dev

Renamed home folder, now I can't log in

분류에서Dev

Why spring can't find my bean?

분류에서Dev

Why can I not rename the directory of my file?

분류에서Dev

why my case give me the errors?Why i can't put variables in switch cases?

분류에서Dev

Why is my javascript function not being invoked for simple MVC tutorial? Why can't I debug either?

분류에서Dev

How do I SCP from remote machine to local machine when I am outside of my home network?

분류에서Dev

I can't update my rails form

분류에서Dev

I can't display my table (codeigniter)

분류에서Dev

Can't get my second network card to work on ubuntu server

분류에서Dev

How can I confirm my name on a local network?

분류에서Dev

How can I fix my Debian's /etc/network/interfaces?

분류에서Dev

How do I get PPTP VPN working from my home network when it already works elsewhere?

분류에서Dev

Why can't I copy a large number of files to my USB flash drive?

분류에서Dev

Why can't I set a static IP address for my Linux box?

분류에서Dev

Why can't I add the newtonsoft.Json.dll ref to my project?

분류에서Dev

why i can't import my grid view with custom adapter into a fragment?

분류에서Dev

Why can't I create a partition table on my USB flash drive using GParted?

Related 관련 기사

  1. 1

    I can't exit my local network

  2. 2

    Why can't I crash my system with a fork bomb?

  3. 3

    Why can't I spoof Facebook with my own DNS server?

  4. 4

    Why can't I restart my maia service?

  5. 5

    Why can't I create a new Thread with an instance of my class?

  6. 6

    Why can't I compile USB Proxy on my Beaglebone?

  7. 7

    Why can't I access my objects member variable?

  8. 8

    Why my jdk can't work,and before the java_home, there is a space that is not from me

  9. 9

    Why don't any of my facebook share buttons work?

  10. 10

    How can I share my clipboard between two X servers?

  11. 11

    Why can't I convert DynamicJson to my class if I don't write {get; set;}

  12. 12

    How can I mount a drive under my home directory at boot?

  13. 13

    Renamed home folder, now I can't log in

  14. 14

    Why spring can't find my bean?

  15. 15

    Why can I not rename the directory of my file?

  16. 16

    why my case give me the errors?Why i can't put variables in switch cases?

  17. 17

    Why is my javascript function not being invoked for simple MVC tutorial? Why can't I debug either?

  18. 18

    How do I SCP from remote machine to local machine when I am outside of my home network?

  19. 19

    I can't update my rails form

  20. 20

    I can't display my table (codeigniter)

  21. 21

    Can't get my second network card to work on ubuntu server

  22. 22

    How can I confirm my name on a local network?

  23. 23

    How can I fix my Debian's /etc/network/interfaces?

  24. 24

    How do I get PPTP VPN working from my home network when it already works elsewhere?

  25. 25

    Why can't I copy a large number of files to my USB flash drive?

  26. 26

    Why can't I set a static IP address for my Linux box?

  27. 27

    Why can't I add the newtonsoft.Json.dll ref to my project?

  28. 28

    why i can't import my grid view with custom adapter into a fragment?

  29. 29

    Why can't I create a partition table on my USB flash drive using GParted?

뜨겁다태그

보관