0

I have Ubuntu 16.04.1. I have Samba 4. Windows writes access denied. I can reach the shared folder, but I can't access. My smb.conf file:

[megosztas]
path = /home/attila/Asztal/megosztas
available = yes
valid users = fel1
read only = no
browseable = yes
public = yes
writeable = yes
guest ok = yes
  • What are the permissions of that folder? Run ls -ld /home/attila/Asztal/megosztas to find out. – mikewhatever Nov 6 '16 at 18:36
  • drwxrwxrwx 2 attila attila 4096 nov 6 18:27 /home/attila/Asztal/megosztas This is the output – icebolt Nov 6 '16 at 18:52
  • I tried smbclient to login, but that also failed. The output: Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.3.11-Ubuntu] tree connect failed: NT_STATUS_ACCESS_DENIED – icebolt Nov 6 '16 at 18:55
  • Does the user fel1 exist on Ubuntu? – mikewhatever Nov 6 '16 at 19:38
  • I solved the problem. I just added the smbpasswd before I added the user with adduser. I just used smbpasswd -a user again. :) – icebolt Nov 6 '16 at 19:46
0

I solved the problem. I just added the smbpasswd before I added the user with adduser. I just used smbpasswd -a user again

| improve this answer | |
  • 2
    Welcome to Ask Ubuntu! I recommend editing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on AskUbuntu.) – David Foerster Nov 7 '16 at 18:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.