Samba isn't wroking
Tofloor
poster avatar
savanweylyn
deepin
2016-09-29 07:14
Author
Edited by savanweylyn at 2016-9-28 18:03

I have installed samba and tried to share the directory where my external HDD is mounted to with another computer on my network, so i've added the following to the end of /etc/samba/smb.conf:
  1. [Music]
  2.    path = /home/weylyn1/Zenék
  3.    valid users = weylyn1
  4.    read only = no
  5.    browseable = yes
  6.    guest ok = no
Copy the Code

Then added weylyn1 as a new samba user (sudo smbpasswd -a weylyn1) and restarted samba with sudo systemctl restart smbd.service. So far no errors.
But whenever i try to mount it on the other computer i get this error message:
  1. mount error(115): Operation now in progress
  2. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Copy the Code

I tried to mount this share under a Windows XP VM on this computer and the username/password prompt always opened up again, but didn't show any errors (like incorrect username/password). I have configured another samba share on another computer (it runs Ubuntu 14.04 LTS) and it is working. It's share looks like this:
  1. [Music]
  2.    path = /mnt/Music
  3.    valid users = savanweylyn
  4.    read only = no
  5.    browsable = yes
  6.    guest ok = no
Copy the Code

The samba logs don't show anything about this on both this and the other computer.


Reply Favorite View the author
All Replies
infuscomus
deepin
2016-09-29 11:30
#1
maybe try your username in quotes?

valid users = "weylyn1"
Reply View the author
savanweylyn
deepin
2016-10-03 12:01
#2
https://bbs.deepin.org/post/31591
maybe try your username in quotes?

Tried using quotes. Result: still not working between Deepin - Ubuntu 16.04, but works for Deepin - Windows XP VM (on the same computer).
Reply View the author
New Thread

Popular Ranking

Change

Popular Events

More
国际排名
WHLUG